Text Compare
Produced: 7/19/2015 1:54:19 PM
   
Mode:  All, With Context  
Left file: C:\mksong\workspace_genproglase\genproglase-output-r1658\template09\0718-1345\lighttpd-bug-1794-1795\sanity\src\response.c  
Right file: C:\mksong\workspace_genproglase\genproglase-output-r1658\template09\0718-1345\lighttpd-bug-1794-1795\000000\src\response.c  
1 typedef unsigned char __u_char; = 1 typedef unsigned char __u_char;
2 typedef unsigned short __u_short;   2 typedef unsigned short __u_short;
3 typedef unsigned int __u_int;   3 typedef unsigned int __u_int;
4 typedef unsigned long __u_long;   4 typedef unsigned long __u_long;
5 typedef signed char __int8_t;   5 typedef signed char __int8_t;
6 typedef unsigned char __uint8_t;   6 typedef unsigned char __uint8_t;
7 typedef short __int16_t;   7 typedef short __int16_t;
8 typedef unsigned short __uint16_t;   8 typedef unsigned short __uint16_t;
9 typedef int __int32_t;   9 typedef int __int32_t;
10 typedef unsigned int __uint32_t;   10 typedef unsigned int __uint32_t;
11 typedef long long __int64_t;   11 typedef long long __int64_t;
12 typedef unsigned long long __uint64_t;   12 typedef unsigned long long __uint64_t;
13 typedef long long __quad_t;   13 typedef long long __quad_t;
14 typedef unsigned long long __u_quad_t;   14 typedef unsigned long long __u_quad_t;
15 typedef __u_quad_t __dev_t;   15 typedef __u_quad_t __dev_t;
16 typedef unsigned int __uid_t;   16 typedef unsigned int __uid_t;
17 typedef unsigned int __gid_t;   17 typedef unsigned int __gid_t;
18 typedef unsigned long __ino_t;   18 typedef unsigned long __ino_t;
19 typedef __u_quad_t __ino64_t;   19 typedef __u_quad_t __ino64_t;
20 typedef unsigned int __mode_t;   20 typedef unsigned int __mode_t;
21 typedef unsigned int __nlink_t;   21 typedef unsigned int __nlink_t;
22 typedef long __off_t;   22 typedef long __off_t;
23 typedef __quad_t __off64_t;   23 typedef __quad_t __off64_t;
24 typedef int __pid_t;   24 typedef int __pid_t;
25 struct __anonstruct___fsid_t_1 {   25 struct __anonstruct___fsid_t_1 {
26    int __val[2] ;   26    int __val[2] ;
27 };   27 };
28 typedef struct __anonstruct___fsid_t_1 __fsid_t;   28 typedef struct __anonstruct___fsid_t_1 __fsid_t;
29 typedef long __clock_t;   29 typedef long __clock_t;
30 typedef unsigned long __rlim_t;   30 typedef unsigned long __rlim_t;
31 typedef __u_quad_t __rlim64_t;   31 typedef __u_quad_t __rlim64_t;
32 typedef unsigned int __id_t;   32 typedef unsigned int __id_t;
33 typedef long __time_t;   33 typedef long __time_t;
34 typedef unsigned int __useconds_t;   34 typedef unsigned int __useconds_t;
35 typedef long __suseconds_t;   35 typedef long __suseconds_t;
36 typedef int __daddr_t;   36 typedef int __daddr_t;
37 typedef long __swblk_t;   37 typedef long __swblk_t;
38 typedef int __key_t;   38 typedef int __key_t;
39 typedef int __clockid_t;   39 typedef int __clockid_t;
40 typedef void *__timer_t;   40 typedef void *__timer_t;
41 typedef long __blksize_t;   41 typedef long __blksize_t;
42 typedef long __blkcnt_t;   42 typedef long __blkcnt_t;
43 typedef __quad_t __blkcnt64_t;   43 typedef __quad_t __blkcnt64_t;
44 typedef unsigned long __fsblkcnt_t;   44 typedef unsigned long __fsblkcnt_t;
45 typedef __u_quad_t __fsblkcnt64_t;   45 typedef __u_quad_t __fsblkcnt64_t;
46 typedef unsigned long __fsfilcnt_t;   46 typedef unsigned long __fsfilcnt_t;
47 typedef __u_quad_t __fsfilcnt64_t;   47 typedef __u_quad_t __fsfilcnt64_t;
48 typedef int __ssize_t;   48 typedef int __ssize_t;
49 typedef __off64_t __loff_t;   49 typedef __off64_t __loff_t;
50 typedef __quad_t *__qaddr_t;   50 typedef __quad_t *__qaddr_t;
51 typedef char *__caddr_t;   51 typedef char *__caddr_t;
52 typedef int __intptr_t;   52 typedef int __intptr_t;
53 typedef unsigned int __socklen_t;   53 typedef unsigned int __socklen_t;
54 typedef __u_char u_char;   54 typedef __u_char u_char;
55 typedef __u_short u_short;   55 typedef __u_short u_short;
56 typedef __u_int u_int;   56 typedef __u_int u_int;
57 typedef __u_long u_long;   57 typedef __u_long u_long;
58 typedef __quad_t quad_t;   58 typedef __quad_t quad_t;
59 typedef __u_quad_t u_quad_t;   59 typedef __u_quad_t u_quad_t;
60 typedef __fsid_t fsid_t;   60 typedef __fsid_t fsid_t;
61 typedef __loff_t loff_t;   61 typedef __loff_t loff_t;
62 typedef __ino64_t ino_t;   62 typedef __ino64_t ino_t;
63 typedef __dev_t dev_t;   63 typedef __dev_t dev_t;
64 typedef __gid_t gid_t;   64 typedef __gid_t gid_t;
65 typedef __mode_t mode_t;   65 typedef __mode_t mode_t;
66 typedef __nlink_t nlink_t;   66 typedef __nlink_t nlink_t;
67 typedef __uid_t uid_t;   67 typedef __uid_t uid_t;
68 typedef __off64_t off_t;   68 typedef __off64_t off_t;
69 typedef __pid_t pid_t;   69 typedef __pid_t pid_t;
70 typedef __id_t id_t;   70 typedef __id_t id_t;
71 typedef __ssize_t ssize_t;   71 typedef __ssize_t ssize_t;
72 typedef __daddr_t daddr_t;   72 typedef __daddr_t daddr_t;
73 typedef __caddr_t caddr_t;   73 typedef __caddr_t caddr_t;
74 typedef __key_t key_t;   74 typedef __key_t key_t;
75 typedef __clock_t clock_t;   75 typedef __clock_t clock_t;
76 typedef __time_t time_t;   76 typedef __time_t time_t;
77 typedef __clockid_t clockid_t;   77 typedef __clockid_t clockid_t;
78 typedef __timer_t timer_t;   78 typedef __timer_t timer_t;
79 typedef unsigned int size_t;   79 typedef unsigned int size_t;
80 typedef unsigned long ulong;   80 typedef unsigned long ulong;
81 typedef unsigned short ushort;   81 typedef unsigned short ushort;
82 typedef unsigned int uint;   82 typedef unsigned int uint;
83 typedef signed char int8_t;   83 typedef signed char int8_t;
84 typedef short int16_t;   84 typedef short int16_t;
85 typedef int int32_t;   85 typedef int int32_t;
86 typedef long long int64_t;   86 typedef long long int64_t;
87 typedef unsigned char u_int8_t;   87 typedef unsigned char u_int8_t;
88 typedef unsigned short u_int16_t;   88 typedef unsigned short u_int16_t;
89 typedef unsigned int u_int32_t;   89 typedef unsigned int u_int32_t;
90 typedef unsigned long long u_int64_t;   90 typedef unsigned long long u_int64_t;
91 typedef int register_t;   91 typedef int register_t;
92 typedef int __sig_atomic_t;   92 typedef int __sig_atomic_t;
93 struct __anonstruct___sigset_t_2 {   93 struct __anonstruct___sigset_t_2 {
94    unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ;   94    unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ;
95 };   95 };
96 typedef struct __anonstruct___sigset_t_2 __sigset_t;   96 typedef struct __anonstruct___sigset_t_2 __sigset_t;
97 typedef __sigset_t sigset_t;   97 typedef __sigset_t sigset_t;
98 struct timespec {   98 struct timespec {
99    __time_t tv_sec ;   99    __time_t tv_sec ;
100    long tv_nsec ;   100    long tv_nsec ;
101 };   101 };
102 struct timeval {   102 struct timeval {
103    __time_t tv_sec ;   103    __time_t tv_sec ;
104    __suseconds_t tv_usec ;   104    __suseconds_t tv_usec ;
105 };   105 };
106 typedef __suseconds_t suseconds_t;   106 typedef __suseconds_t suseconds_t;
107 typedef long __fd_mask;   107 typedef long __fd_mask;
108 struct __anonstruct_fd_set_3 {   108 struct __anonstruct_fd_set_3 {
109    __fd_mask __fds_bits[1024 / (8 * (int )sizeof(__fd_mask ))] ;   109    __fd_mask __fds_bits[1024 / (8 * (int )sizeof(__fd_mask ))] ;
110 };   110 };
111 typedef struct __anonstruct_fd_set_3 fd_set;   111 typedef struct __anonstruct_fd_set_3 fd_set;
112 typedef __fd_mask fd_mask;   112 typedef __fd_mask fd_mask;
113 typedef __blksize_t blksize_t;   113 typedef __blksize_t blksize_t;
114 typedef __blkcnt64_t blkcnt_t;   114 typedef __blkcnt64_t blkcnt_t;
115 typedef __fsblkcnt64_t fsblkcnt_t;   115 typedef __fsblkcnt64_t fsblkcnt_t;
116 typedef __fsfilcnt64_t fsfilcnt_t;   116 typedef __fsfilcnt64_t fsfilcnt_t;
117 typedef unsigned long pthread_t;   117 typedef unsigned long pthread_t;
118 union __anonunion_pthread_attr_t_4 {   118 union __anonunion_pthread_attr_t_4 {
119    char __size[36] ;   119    char __size[36] ;
120    long __align ;   120    long __align ;
121 };   121 };
122 typedef union __anonunion_pthread_attr_t_4 pthread_attr_t;   122 typedef union __anonunion_pthread_attr_t_4 pthread_attr_t;
123 struct __pthread_internal_slist {   123 struct __pthread_internal_slist {
124    struct __pthread_internal_slist *__next ;   124    struct __pthread_internal_slist *__next ;
125 };   125 };
126 typedef struct __pthread_internal_slist __pthread_slist_t;   126 typedef struct __pthread_internal_slist __pthread_slist_t;
127 union __anonunion____missing_field_name_6 {   127 union __anonunion____missing_field_name_6 {
128    int __spins ;   128    int __spins ;
129    __pthread_slist_t __list ;   129    __pthread_slist_t __list ;
130 };   130 };
131 struct __pthread_mutex_s {   131 struct __pthread_mutex_s {
132    int __lock ;   132    int __lock ;
133    unsigned int __count ;   133    unsigned int __count ;
134    int __owner ;   134    int __owner ;
135    int __kind ;   135    int __kind ;
136    unsigned int __nusers ;   136    unsigned int __nusers ;
137    union __anonunion____missing_field_name_6 __annonCompField1 ;   137    union __anonunion____missing_field_name_6 __annonCompField1 ;
138 };   138 };
139 union __anonunion_pthread_mutex_t_5 {   139 union __anonunion_pthread_mutex_t_5 {
140    struct __pthread_mutex_s __data ;   140    struct __pthread_mutex_s __data ;
141    char __size[24] ;   141    char __size[24] ;
142    long __align ;   142    long __align ;
143 };   143 };
144 typedef union __anonunion_pthread_mutex_t_5 pthread_mutex_t;   144 typedef union __anonunion_pthread_mutex_t_5 pthread_mutex_t;
145 union __anonunion_pthread_mutexattr_t_7 {   145 union __anonunion_pthread_mutexattr_t_7 {
146    char __size[4] ;   146    char __size[4] ;
147    long __align ;   147    long __align ;
148 };   148 };
149 typedef union __anonunion_pthread_mutexattr_t_7 pthread_mutexattr_t;   149 typedef union __anonunion_pthread_mutexattr_t_7 pthread_mutexattr_t;
150 struct __anonstruct___data_9 {   150 struct __anonstruct___data_9 {
151    int __lock ;   151    int __lock ;
152    unsigned int __futex ;   152    unsigned int __futex ;
153    unsigned long long __total_seq ;   153    unsigned long long __total_seq ;
154    unsigned long long __wakeup_seq ;   154    unsigned long long __wakeup_seq ;
155    unsigned long long __woken_seq ;   155    unsigned long long __woken_seq ;
156    void *__mutex ;   156    void *__mutex ;
157    unsigned int __nwaiters ;   157    unsigned int __nwaiters ;
158    unsigned int __broadcast_seq ;   158    unsigned int __broadcast_seq ;
159 };   159 };
160 union __anonunion_pthread_cond_t_8 {   160 union __anonunion_pthread_cond_t_8 {
161    struct __anonstruct___data_9 __data ;   161    struct __anonstruct___data_9 __data ;
162    char __size[48] ;   162    char __size[48] ;
163    long long __align ;   163    long long __align ;
164 };   164 };
165 typedef union __anonunion_pthread_cond_t_8 pthread_cond_t;   165 typedef union __anonunion_pthread_cond_t_8 pthread_cond_t;
166 union __anonunion_pthread_condattr_t_10 {   166 union __anonunion_pthread_condattr_t_10 {
167    char __size[4] ;   167    char __size[4] ;
168    long __align ;   168    long __align ;
169 };   169 };
170 typedef union __anonunion_pthread_condattr_t_10 pthread_condattr_t;   170 typedef union __anonunion_pthread_condattr_t_10 pthread_condattr_t;
171 typedef unsigned int pthread_key_t;   171 typedef unsigned int pthread_key_t;
172 typedef int pthread_once_t;   172 typedef int pthread_once_t;
173 struct __anonstruct___data_12 {   173 struct __anonstruct___data_12 {
174    int __lock ;   174    int __lock ;
175    unsigned int __nr_readers ;   175    unsigned int __nr_readers ;
176    unsigned int __readers_wakeup ;   176    unsigned int __readers_wakeup ;
177    unsigned int __writer_wakeup ;   177    unsigned int __writer_wakeup ;
178    unsigned int __nr_readers_queued ;   178    unsigned int __nr_readers_queued ;
179    unsigned int __nr_writers_queued ;   179    unsigned int __nr_writers_queued ;
180    unsigned char __flags ;   180    unsigned char __flags ;
181    unsigned char __shared ;   181    unsigned char __shared ;
182    unsigned char __pad1 ;   182    unsigned char __pad1 ;
183    unsigned char __pad2 ;   183    unsigned char __pad2 ;
184    int __writer ;   184    int __writer ;
185 };   185 };
186 union __anonunion_pthread_rwlock_t_11 {   186 union __anonunion_pthread_rwlock_t_11 {
187    struct __anonstruct___data_12 __data ;   187    struct __anonstruct___data_12 __data ;
188    char __size[32] ;   188    char __size[32] ;
189    long __align ;   189    long __align ;
190 };   190 };
191 typedef union __anonunion_pthread_rwlock_t_11 pthread_rwlock_t;   191 typedef union __anonunion_pthread_rwlock_t_11 pthread_rwlock_t;
192 union __anonunion_pthread_rwlockattr_t_13 {   192 union __anonunion_pthread_rwlockattr_t_13 {
193    char __size[8] ;   193    char __size[8] ;
194    long __align ;   194    long __align ;
195 };   195 };
196 typedef union __anonunion_pthread_rwlockattr_t_13 pthread_rwlockattr_t;   196 typedef union __anonunion_pthread_rwlockattr_t_13 pthread_rwlockattr_t;
197 typedef int volatile   pthread_spinlock_t;   197 typedef int volatile   pthread_spinlock_t;
198 union __anonunion_pthread_barrier_t_14 {   198 union __anonunion_pthread_barrier_t_14 {
199    char __size[20] ;   199    char __size[20] ;
200    long __align ;   200    long __align ;
201 };   201 };
202 typedef union __anonunion_pthread_barrier_t_14 pthread_barrier_t;   202 typedef union __anonunion_pthread_barrier_t_14 pthread_barrier_t;
203 union __anonunion_pthread_barrierattr_t_15 {   203 union __anonunion_pthread_barrierattr_t_15 {
204    char __size[4] ;   204    char __size[4] ;
205    int __align ;   205    int __align ;
206 };   206 };
207 typedef union __anonunion_pthread_barrierattr_t_15 pthread_barrierattr_t;   207 typedef union __anonunion_pthread_barrierattr_t_15 pthread_barrierattr_t;
208 struct stat {   208 struct stat {
209    __dev_t st_dev ;   209    __dev_t st_dev ;
210    unsigned short __pad1 ;   210    unsigned short __pad1 ;
211    __ino_t __st_ino ;   211    __ino_t __st_ino ;
212    __mode_t st_mode ;   212    __mode_t st_mode ;
213    __nlink_t st_nlink ;   213    __nlink_t st_nlink ;
214    __uid_t st_uid ;   214    __uid_t st_uid ;
215    __gid_t st_gid ;   215    __gid_t st_gid ;
216    __dev_t st_rdev ;   216    __dev_t st_rdev ;
217    unsigned short __pad2 ;   217    unsigned short __pad2 ;
218    __off64_t st_size ;   218    __off64_t st_size ;
219    __blksize_t st_blksize ;   219    __blksize_t st_blksize ;
220    __blkcnt64_t st_blocks ;   220    __blkcnt64_t st_blocks ;
221    struct timespec st_atim ;   221    struct timespec st_atim ;
222    struct timespec st_mtim ;   222    struct timespec st_mtim ;
223    struct timespec st_ctim ;   223    struct timespec st_ctim ;
224    __ino64_t st_ino ;   224    __ino64_t st_ino ;
225 };   225 };
226 struct flock {   226 struct flock {
227    short l_type ;   227    short l_type ;
228    short l_whence ;   228    short l_whence ;
229    __off64_t l_start ;   229    __off64_t l_start ;
230    __off64_t l_len ;   230    __off64_t l_len ;
231    __pid_t l_pid ;   231    __pid_t l_pid ;
232 };   232 };
233 typedef long wchar_t;   233 typedef long wchar_t;
234 struct __anonstruct___wait_terminated_16 {   234 struct __anonstruct___wait_terminated_16 {
235    unsigned int __w_termsig : 7 ;   235    unsigned int __w_termsig : 7 ;
236    unsigned int __w_coredump : 1 ;   236    unsigned int __w_coredump : 1 ;
237    unsigned int __w_retcode : 8 ;   237    unsigned int __w_retcode : 8 ;
238    unsigned int  : 16 ;   238    unsigned int  : 16 ;
239 };   239 };
240 struct __anonstruct___wait_stopped_17 {   240 struct __anonstruct___wait_stopped_17 {
241    unsigned int __w_stopval : 8 ;   241    unsigned int __w_stopval : 8 ;
242    unsigned int __w_stopsig : 8 ;   242    unsigned int __w_stopsig : 8 ;
243    unsigned int  : 16 ;   243    unsigned int  : 16 ;
244 };   244 };
245 union wait {   245 union wait {
246    int w_status ;   246    int w_status ;
247    struct __anonstruct___wait_terminated_16 __wait_terminated ;   247    struct __anonstruct___wait_terminated_16 __wait_terminated ;
248    struct __anonstruct___wait_stopped_17 __wait_stopped ;   248    struct __anonstruct___wait_stopped_17 __wait_stopped ;
249 };   249 };
250 union __anonunion___WAIT_STATUS_18 {   250 union __anonunion___WAIT_STATUS_18 {
251    union wait *__uptr ;   251    union wait *__uptr ;
252    int *__iptr ;   252    int *__iptr ;
253 };   253 };
254 typedef union __anonunion___WAIT_STATUS_18  __attribute__((__transparent_union__)) __WAIT_STATUS;   254 typedef union __anonunion___WAIT_STATUS_18  __attribute__((__transparent_union__)) __WAIT_STATUS;
255 struct __anonstruct_div_t_19 {   255 struct __anonstruct_div_t_19 {
256    int quot ;   256    int quot ;
257    int rem ;   257    int rem ;
258 };   258 };
259 typedef struct __anonstruct_div_t_19 div_t;   259 typedef struct __anonstruct_div_t_19 div_t;
260 struct __anonstruct_ldiv_t_20 {   260 struct __anonstruct_ldiv_t_20 {
261    long quot ;   261    long quot ;
262    long rem ;   262    long rem ;
263 };   263 };
264 typedef struct __anonstruct_ldiv_t_20 ldiv_t;   264 typedef struct __anonstruct_ldiv_t_20 ldiv_t;
265 struct __anonstruct_lldiv_t_21 {   265 struct __anonstruct_lldiv_t_21 {
266    long long quot ;   266    long long quot ;
267    long long rem ;   267    long long rem ;
268 };   268 };
269 typedef struct __anonstruct_lldiv_t_21 lldiv_t;   269 typedef struct __anonstruct_lldiv_t_21 lldiv_t;
270 struct random_data {   270 struct random_data {
271    int32_t *fptr ;   271    int32_t *fptr ;
272    int32_t *rptr ;   272    int32_t *rptr ;
273    int32_t *state ;   273    int32_t *state ;
274    int rand_type ;   274    int rand_type ;
275    int rand_deg ;   275    int rand_deg ;
276    int rand_sep ;   276    int rand_sep ;
277    int32_t *end_ptr ;   277    int32_t *end_ptr ;
278 };   278 };
279 struct drand48_data {   279 struct drand48_data {
280    unsigned short __x[3] ;   280    unsigned short __x[3] ;
281    unsigned short __old_x[3] ;   281    unsigned short __old_x[3] ;
282    unsigned short __c ;   282    unsigned short __c ;
283    unsigned short __init ;   283    unsigned short __init ;
284    unsigned long long __a ;   284    unsigned long long __a ;
285 };   285 };
286 typedef int (*__compar_fn_t)(void const   * , void const   * );   286 typedef int (*__compar_fn_t)(void const   * , void const   * );
287 struct __locale_data;   287 struct __locale_data;
288 struct __locale_struct {   288 struct __locale_struct {
289    struct __locale_data *__locales[13] ;   289    struct __locale_data *__locales[13] ;
290    unsigned short const   *__ctype_b ;   290    unsigned short const   *__ctype_b ;
291    int const   *__ctype_tolower ;   291    int const   *__ctype_tolower ;
292    int const   *__ctype_toupper ;   292    int const   *__ctype_toupper ;
293    char const   *__names[13] ;   293    char const   *__names[13] ;
294 };   294 };
295 typedef struct __locale_struct *__locale_t;   295 typedef struct __locale_struct *__locale_t;
296 typedef __locale_t locale_t;   296 typedef __locale_t locale_t;
297 struct tm {   297 struct tm {
298    int tm_sec ;   298    int tm_sec ;
299    int tm_min ;   299    int tm_min ;
300    int tm_hour ;   300    int tm_hour ;
301    int tm_mday ;   301    int tm_mday ;
302    int tm_mon ;   302    int tm_mon ;
303    int tm_year ;   303    int tm_year ;
304    int tm_wday ;   304    int tm_wday ;
305    int tm_yday ;   305    int tm_yday ;
306    int tm_isdst ;   306    int tm_isdst ;
307    long tm_gmtoff ;   307    long tm_gmtoff ;
308    char const   *tm_zone ;   308    char const   *tm_zone ;
309 };   309 };
310 struct itimerspec {   310 struct itimerspec {
311    struct timespec it_interval ;   311    struct timespec it_interval ;
312    struct timespec it_value ;   312    struct timespec it_value ;
313 };   313 };
314 struct sigevent;   314 struct sigevent;
315 struct sigevent;   315 struct sigevent;
316 enum __anonenum_22 {   316 enum __anonenum_22 {
317     _ISupper = 256,   317     _ISupper = 256,
318     _ISlower = 512,   318     _ISlower = 512,
319     _ISalpha = 1024,   319     _ISalpha = 1024,
320     _ISdigit = 2048,   320     _ISdigit = 2048,
321     _ISxdigit = 4096,   321     _ISxdigit = 4096,
322     _ISspace = 8192,   322     _ISspace = 8192,
323     _ISprint = 16384,   323     _ISprint = 16384,
324     _ISgraph = 32768,   324     _ISgraph = 32768,
325     _ISblank = 1,   325     _ISblank = 1,
326     _IScntrl = 2,   326     _IScntrl = 2,
327     _ISpunct = 4,   327     _ISpunct = 4,
328     _ISalnum = 8   328     _ISalnum = 8
329 } ;   329 } ;
330 struct _IO_FILE;   330 struct _IO_FILE;
331 struct _IO_FILE;   331 struct _IO_FILE;
332 typedef struct _IO_FILE FILE;   332 typedef struct _IO_FILE FILE;
333 typedef struct _IO_FILE __FILE;   333 typedef struct _IO_FILE __FILE;
334 union __anonunion___value_24 {   334 union __anonunion___value_24 {
335    unsigned int __wch ;   335    unsigned int __wch ;
336    char __wchb[4] ;   336    char __wchb[4] ;
337 };   337 };
338 struct __anonstruct___mbstate_t_23 {   338 struct __anonstruct___mbstate_t_23 {
339    int __count ;   339    int __count ;
340    union __anonunion___value_24 __value ;   340    union __anonunion___value_24 __value ;
341 };   341 };
342 typedef struct __anonstruct___mbstate_t_23 __mbstate_t;   342 typedef struct __anonstruct___mbstate_t_23 __mbstate_t;
343 struct __anonstruct__G_fpos_t_25 {   343 struct __anonstruct__G_fpos_t_25 {
344    __off_t __pos ;   344    __off_t __pos ;
345    __mbstate_t __state ;   345    __mbstate_t __state ;
346 };   346 };
347 typedef struct __anonstruct__G_fpos_t_25 _G_fpos_t;   347 typedef struct __anonstruct__G_fpos_t_25 _G_fpos_t;
348 struct __anonstruct__G_fpos64_t_26 {   348 struct __anonstruct__G_fpos64_t_26 {
349    __off64_t __pos ;   349    __off64_t __pos ;
350    __mbstate_t __state ;   350    __mbstate_t __state ;
351 };   351 };
352 typedef struct __anonstruct__G_fpos64_t_26 _G_fpos64_t;   352 typedef struct __anonstruct__G_fpos64_t_26 _G_fpos64_t;
353 typedef short _G_int16_t;   353 typedef short _G_int16_t;
354 typedef int _G_int32_t;   354 typedef int _G_int32_t;
355 typedef unsigned short _G_uint16_t;   355 typedef unsigned short _G_uint16_t;
356 typedef unsigned int _G_uint32_t;   356 typedef unsigned int _G_uint32_t;
357 typedef __builtin_va_list __gnuc_va_list;   357 typedef __builtin_va_list __gnuc_va_list;
358 struct _IO_jump_t;   358 struct _IO_jump_t;
359 struct _IO_jump_t;   359 struct _IO_jump_t;
360 struct _IO_FILE;   360 struct _IO_FILE;
361 typedef void _IO_lock_t;   361 typedef void _IO_lock_t;
362 struct _IO_marker {   362 struct _IO_marker {
363    struct _IO_marker *_next ;   363    struct _IO_marker *_next ;
364    struct _IO_FILE *_sbuf ;   364    struct _IO_FILE *_sbuf ;
365    int _pos ;   365    int _pos ;
366 };   366 };
367 enum __codecvt_result {   367 enum __codecvt_result {
368     __codecvt_ok = 0,   368     __codecvt_ok = 0,
369     __codecvt_partial = 1,   369     __codecvt_partial = 1,
370     __codecvt_error = 2,   370     __codecvt_error = 2,
371     __codecvt_noconv = 3   371     __codecvt_noconv = 3
372 } ;   372 } ;
373 struct _IO_FILE {   373 struct _IO_FILE {
374    int _flags ;   374    int _flags ;
375    char *_IO_read_ptr ;   375    char *_IO_read_ptr ;
376    char *_IO_read_end ;   376    char *_IO_read_end ;
377    char *_IO_read_base ;   377    char *_IO_read_base ;
378    char *_IO_write_base ;   378    char *_IO_write_base ;
379    char *_IO_write_ptr ;   379    char *_IO_write_ptr ;
380    char *_IO_write_end ;   380    char *_IO_write_end ;
381    char *_IO_buf_base ;   381    char *_IO_buf_base ;
382    char *_IO_buf_end ;   382    char *_IO_buf_end ;
383    char *_IO_save_base ;   383    char *_IO_save_base ;
384    char *_IO_backup_base ;   384    char *_IO_backup_base ;
385    char *_IO_save_end ;   385    char *_IO_save_end ;
386    struct _IO_marker *_markers ;   386    struct _IO_marker *_markers ;
387    struct _IO_FILE *_chain ;   387    struct _IO_FILE *_chain ;
388    int _fileno ;   388    int _fileno ;
389    int _flags2 ;   389    int _flags2 ;
390    __off_t _old_offset ;   390    __off_t _old_offset ;
391    unsigned short _cur_column ;   391    unsigned short _cur_column ;
392    signed char _vtable_offset ;   392    signed char _vtable_offset ;
393    char _shortbuf[1] ;   393    char _shortbuf[1] ;
394    _IO_lock_t *_lock ;   394    _IO_lock_t *_lock ;
395    __off64_t _offset ;   395    __off64_t _offset ;
396    void *__pad1 ;   396    void *__pad1 ;
397    void *__pad2 ;   397    void *__pad2 ;
398    void *__pad3 ;   398    void *__pad3 ;
399    void *__pad4 ;   399    void *__pad4 ;
400    size_t __pad5 ;   400    size_t __pad5 ;
401    int _mode ;   401    int _mode ;
402    char _unused2[(15U * sizeof(int ) - 4U * sizeof(void *)) - sizeof(size_t )] ;   402    char _unused2[(15U * sizeof(int ) - 4U * sizeof(void *)) - sizeof(size_t )] ;
403 };   403 };
404 typedef struct _IO_FILE _IO_FILE;   404 typedef struct _IO_FILE _IO_FILE;
405 struct _IO_FILE_plus;   405 struct _IO_FILE_plus;
406 struct _IO_FILE_plus;   406 struct _IO_FILE_plus;
407 typedef __ssize_t __io_read_fn(void *__cookie , char *__buf , size_t __nbytes );   407 typedef __ssize_t __io_read_fn(void *__cookie , char *__buf , size_t __nbytes );
408 typedef __ssize_t __io_write_fn(void *__cookie , char const   *__buf ,   408 typedef __ssize_t __io_write_fn(void *__cookie , char const   *__buf ,
409                                 size_t __n );   409                                 size_t __n );
410 typedef int __io_seek_fn(void *__cookie , __off64_t *__pos , int __w );   410 typedef int __io_seek_fn(void *__cookie , __off64_t *__pos , int __w );
411 typedef int __io_close_fn(void *__cookie );   411 typedef int __io_close_fn(void *__cookie );
412 typedef __gnuc_va_list va_list;   412 typedef __gnuc_va_list va_list;
413 typedef _G_fpos64_t fpos_t;   413 typedef _G_fpos64_t fpos_t;
414 typedef int ptrdiff_t;   414 typedef int ptrdiff_t;
415 typedef signed char gint8;   415 typedef signed char gint8;
416 typedef unsigned char guint8;   416 typedef unsigned char guint8;
417 typedef short gint16;   417 typedef short gint16;
418 typedef unsigned short guint16;   418 typedef unsigned short guint16;
419 typedef int gint32;   419 typedef int gint32;
420 typedef unsigned int guint32;   420 typedef unsigned int guint32;
421 typedef long long gint64;   421 typedef long long gint64;
422 typedef unsigned long long guint64;   422 typedef unsigned long long guint64;
423 typedef int gssize;   423 typedef int gssize;
424 typedef unsigned int gsize;   424 typedef unsigned int gsize;
425 typedef gint64 goffset;   425 typedef gint64 goffset;
426 typedef int gintptr;   426 typedef int gintptr;
427 typedef unsigned int guintptr;   427 typedef unsigned int guintptr;
428 struct _GStaticMutex;   428 struct _GStaticMutex;
429 typedef struct _GStaticMutex GStaticMutex;   429 typedef struct _GStaticMutex GStaticMutex;
430 struct _GMutex;   430 struct _GMutex;
431 union __anonunion_static_mutex_27 {   431 union __anonunion_static_mutex_27 {
432    char pad[24] ;   432    char pad[24] ;
433    double dummy_double ;   433    double dummy_double ;
434    void *dummy_pointer ;   434    void *dummy_pointer ;
435    long dummy_long ;   435    long dummy_long ;
436 };   436 };
437 struct _GStaticMutex {   437 struct _GStaticMutex {
438    struct _GMutex *runtime_mutex ;   438    struct _GMutex *runtime_mutex ;
439    union __anonunion_static_mutex_27 static_mutex ;   439    union __anonunion_static_mutex_27 static_mutex ;
440 };   440 };
441 union _GSystemThread;   441 union _GSystemThread;
442 typedef union _GSystemThread GSystemThread;   442 typedef union _GSystemThread GSystemThread;
443 union _GSystemThread {   443 union _GSystemThread {
444    char data[4] ;   444    char data[4] ;
445    double dummy_double ;   445    double dummy_double ;
446    void *dummy_pointer ;   446    void *dummy_pointer ;
447    long dummy_long ;   447    long dummy_long ;
448 };   448 };
449 typedef int GPid;   449 typedef int GPid;
450 typedef char gchar;   450 typedef char gchar;
451 typedef short gshort;   451 typedef short gshort;
452 typedef long glong;   452 typedef long glong;
453 typedef int gint;   453 typedef int gint;
454 typedef gint gboolean;   454 typedef gint gboolean;
455 typedef unsigned char guchar;   455 typedef unsigned char guchar;
456 typedef unsigned short gushort;   456 typedef unsigned short gushort;
457 typedef unsigned long gulong;   457 typedef unsigned long gulong;
458 typedef unsigned int guint;   458 typedef unsigned int guint;
459 typedef float gfloat;   459 typedef float gfloat;
460 typedef double gdouble;   460 typedef double gdouble;
461 typedef void *gpointer;   461 typedef void *gpointer;
462 typedef void const   *gconstpointer;   462 typedef void const   *gconstpointer;
463 typedef gint (*GCompareFunc)(gconstpointer a , gconstpointer b );   463 typedef gint (*GCompareFunc)(gconstpointer a , gconstpointer b );
464 typedef gint (*GCompareDataFunc)(gconstpointer a , gconstpointer b ,   464 typedef gint (*GCompareDataFunc)(gconstpointer a , gconstpointer b ,
465                                  gpointer user_data );   465                                  gpointer user_data );
466 typedef gboolean (*GEqualFunc)(gconstpointer a , gconstpointer b );   466 typedef gboolean (*GEqualFunc)(gconstpointer a , gconstpointer b );
467 typedef void (*GDestroyNotify)(gpointer data );   467 typedef void (*GDestroyNotify)(gpointer data );
468 typedef void (*GFunc)(gpointer data , gpointer user_data );   468 typedef void (*GFunc)(gpointer data , gpointer user_data );
469 typedef guint (*GHashFunc)(gconstpointer key );   469 typedef guint (*GHashFunc)(gconstpointer key );
470 typedef void (*GHFunc)(gpointer key , gpointer value , gpointer user_data );   470 typedef void (*GHFunc)(gpointer key , gpointer value , gpointer user_data );
471 typedef void (*GFreeFunc)(gpointer data );   471 typedef void (*GFreeFunc)(gpointer data );
472 typedef gchar const   *(*GTranslateFunc)(gchar const   *str , gpointer data );   472 typedef gchar const   *(*GTranslateFunc)(gchar const   *str , gpointer data );
473 union _GDoubleIEEE754;   473 union _GDoubleIEEE754;
474 typedef union _GDoubleIEEE754 GDoubleIEEE754;   474 typedef union _GDoubleIEEE754 GDoubleIEEE754;
475 union _GFloatIEEE754;   475 union _GFloatIEEE754;
476 typedef union _GFloatIEEE754 GFloatIEEE754;   476 typedef union _GFloatIEEE754 GFloatIEEE754;
477 struct __anonstruct_mpn_28 {   477 struct __anonstruct_mpn_28 {
478    guint mantissa : 23 ;   478    guint mantissa : 23 ;
479    guint biased_exponent : 8 ;   479    guint biased_exponent : 8 ;
480    guint sign : 1 ;   480    guint sign : 1 ;
481 };   481 };
482 union _GFloatIEEE754 {   482 union _GFloatIEEE754 {
483    gfloat v_float ;   483    gfloat v_float ;
484    struct __anonstruct_mpn_28 mpn ;   484    struct __anonstruct_mpn_28 mpn ;
485 };   485 };
486 struct __anonstruct_mpn_29 {   486 struct __anonstruct_mpn_29 {
487    guint mantissa_low : 32 ;   487    guint mantissa_low : 32 ;
488    guint mantissa_high : 20 ;   488    guint mantissa_high : 20 ;
489    guint biased_exponent : 11 ;   489    guint biased_exponent : 11 ;
490    guint sign : 1 ;   490    guint sign : 1 ;
491 };   491 };
492 union _GDoubleIEEE754 {   492 union _GDoubleIEEE754 {
493    gdouble v_double ;   493    gdouble v_double ;
494    struct __anonstruct_mpn_29 mpn ;   494    struct __anonstruct_mpn_29 mpn ;
495 };   495 };
496 struct _GTimeVal;   496 struct _GTimeVal;
497 typedef struct _GTimeVal GTimeVal;   497 typedef struct _GTimeVal GTimeVal;
498 struct _GTimeVal {   498 struct _GTimeVal {
499    glong tv_sec ;   499    glong tv_sec ;
500    glong tv_usec ;   500    glong tv_usec ;
501 };   501 };
502 struct _GArray;   502 struct _GArray;
503 typedef struct _GArray GArray;   503 typedef struct _GArray GArray;
504 struct _GByteArray;   504 struct _GByteArray;
505 typedef struct _GByteArray GByteArray;   505 typedef struct _GByteArray GByteArray;
506 struct _GPtrArray;   506 struct _GPtrArray;
507 typedef struct _GPtrArray GPtrArray;   507 typedef struct _GPtrArray GPtrArray;
508 struct _GArray {   508 struct _GArray {
509    gchar *data ;   509    gchar *data ;
510    guint len ;   510    guint len ;
511 };   511 };
512 struct _GByteArray {   512 struct _GByteArray {
513    guint8 *data ;   513    guint8 *data ;
514    guint len ;   514    guint len ;
515 };   515 };
516 struct _GPtrArray {   516 struct _GPtrArray {
517    gpointer *pdata ;   517    gpointer *pdata ;
518    guint len ;   518    guint len ;
519 };   519 };
520 typedef guint32 GQuark;   520 typedef guint32 GQuark;
521 struct _GError;   521 struct _GError;
522 typedef struct _GError GError;   522 typedef struct _GError GError;
523 struct _GError {   523 struct _GError {
524    GQuark domain ;   524    GQuark domain ;
525    gint code ;   525    gint code ;
526    gchar *message ;   526    gchar *message ;
527 };   527 };
528 enum __anonenum_GUserDirectory_30 {   528 enum __anonenum_GUserDirectory_30 {
529     G_USER_DIRECTORY_DESKTOP = 0,   529     G_USER_DIRECTORY_DESKTOP = 0,
530     G_USER_DIRECTORY_DOCUMENTS = 1,   530     G_USER_DIRECTORY_DOCUMENTS = 1,
531     G_USER_DIRECTORY_DOWNLOAD = 2,   531     G_USER_DIRECTORY_DOWNLOAD = 2,
532     G_USER_DIRECTORY_MUSIC = 3,   532     G_USER_DIRECTORY_MUSIC = 3,
533     G_USER_DIRECTORY_PICTURES = 4,   533     G_USER_DIRECTORY_PICTURES = 4,
534     G_USER_DIRECTORY_PUBLIC_SHARE = 5,   534     G_USER_DIRECTORY_PUBLIC_SHARE = 5,
535     G_USER_DIRECTORY_TEMPLATES = 6,   535     G_USER_DIRECTORY_TEMPLATES = 6,
536     G_USER_DIRECTORY_VIDEOS = 7,   536     G_USER_DIRECTORY_VIDEOS = 7,
537     G_USER_N_DIRECTORIES = 8   537     G_USER_N_DIRECTORIES = 8
538 } ;   538 } ;
539 typedef enum __anonenum_GUserDirectory_30 GUserDirectory;   539 typedef enum __anonenum_GUserDirectory_30 GUserDirectory;
540 struct _GDebugKey;   540 struct _GDebugKey;
541 typedef struct _GDebugKey GDebugKey;   541 typedef struct _GDebugKey GDebugKey;
542 struct _GDebugKey {   542 struct _GDebugKey {
543    gchar const   *key ;   543    gchar const   *key ;
544    guint value ;   544    guint value ;
545 };   545 };
546 typedef void (*GVoidFunc)(void);   546 typedef void (*GVoidFunc)(void);
547 struct _GTrashStack;   547 struct _GTrashStack;
548 typedef struct _GTrashStack GTrashStack;   548 typedef struct _GTrashStack GTrashStack;
549 struct _GTrashStack {   549 struct _GTrashStack {
550    GTrashStack *next ;   550    GTrashStack *next ;
551 };   551 };
552 enum __anonenum_GThreadError_31 {   552 enum __anonenum_GThreadError_31 {
553     G_THREAD_ERROR_AGAIN = 0   553     G_THREAD_ERROR_AGAIN = 0
554 } ;   554 } ;
555 typedef enum __anonenum_GThreadError_31 GThreadError;   555 typedef enum __anonenum_GThreadError_31 GThreadError;
556 typedef gpointer (*GThreadFunc)(gpointer data );   556 typedef gpointer (*GThreadFunc)(gpointer data );
557 enum __anonenum_GThreadPriority_32 {   557 enum __anonenum_GThreadPriority_32 {
558     G_THREAD_PRIORITY_LOW = 0,   558     G_THREAD_PRIORITY_LOW = 0,
559     G_THREAD_PRIORITY_NORMAL = 1,   559     G_THREAD_PRIORITY_NORMAL = 1,
560     G_THREAD_PRIORITY_HIGH = 2,   560     G_THREAD_PRIORITY_HIGH = 2,
561     G_THREAD_PRIORITY_URGENT = 3   561     G_THREAD_PRIORITY_URGENT = 3
562 } ;   562 } ;
563 typedef enum __anonenum_GThreadPriority_32 GThreadPriority;   563 typedef enum __anonenum_GThreadPriority_32 GThreadPriority;
564 struct _GThread;   564 struct _GThread;
565 typedef struct _GThread GThread;   565 typedef struct _GThread GThread;
566 struct _GThread {   566 struct _GThread {
567    gpointer (*func)(gpointer data ) ;   567    gpointer (*func)(gpointer data ) ;
568    gpointer data ;   568    gpointer data ;
569    gboolean joinable ;   569    gboolean joinable ;
570    GThreadPriority priority ;   570    GThreadPriority priority ;
571 };   571 };
572 typedef struct _GMutex GMutex;   572 typedef struct _GMutex GMutex;
573 struct _GCond;   573 struct _GCond;
574 typedef struct _GCond GCond;   574 typedef struct _GCond GCond;
575 struct _GPrivate;   575 struct _GPrivate;
576 typedef struct _GPrivate GPrivate;   576 typedef struct _GPrivate GPrivate;
577 struct _GStaticPrivate;   577 struct _GStaticPrivate;
578 typedef struct _GStaticPrivate GStaticPrivate;   578 typedef struct _GStaticPrivate GStaticPrivate;
579 struct _GThreadFunctions;   579 struct _GThreadFunctions;
580 typedef struct _GThreadFunctions GThreadFunctions;   580 typedef struct _GThreadFunctions GThreadFunctions;
581 struct _GThreadFunctions {   581 struct _GThreadFunctions {
582    GMutex *(*mutex_new)(void) ;   582    GMutex *(*mutex_new)(void) ;
583    void (*mutex_lock)(GMutex *mutex ) ;   583    void (*mutex_lock)(GMutex *mutex ) ;
584    gboolean (*mutex_trylock)(GMutex *mutex ) ;   584    gboolean (*mutex_trylock)(GMutex *mutex ) ;
585    void (*mutex_unlock)(GMutex *mutex ) ;   585    void (*mutex_unlock)(GMutex *mutex ) ;
586    void (*mutex_free)(GMutex *mutex ) ;   586    void (*mutex_free)(GMutex *mutex ) ;
587    GCond *(*cond_new)(void) ;   587    GCond *(*cond_new)(void) ;
588    void (*cond_signal)(GCond *cond ) ;   588    void (*cond_signal)(GCond *cond ) ;
589    void (*cond_broadcast)(GCond *cond ) ;   589    void (*cond_broadcast)(GCond *cond ) ;
590    void (*cond_wait)(GCond *cond , GMutex *mutex ) ;   590    void (*cond_wait)(GCond *cond , GMutex *mutex ) ;
591    gboolean (*cond_timed_wait)(GCond *cond , GMutex *mutex , GTimeVal *end_time ) ;   591    gboolean (*cond_timed_wait)(GCond *cond , GMutex *mutex , GTimeVal *end_time ) ;
592    void (*cond_free)(GCond *cond ) ;   592    void (*cond_free)(GCond *cond ) ;
593    GPrivate *(*private_new)(void (*destructor)(gpointer data ) ) ;   593    GPrivate *(*private_new)(void (*destructor)(gpointer data ) ) ;
594    gpointer (*private_get)(GPrivate *private_key ) ;   594    gpointer (*private_get)(GPrivate *private_key ) ;
595    void (*private_set)(GPrivate *private_key , gpointer data ) ;   595    void (*private_set)(GPrivate *private_key , gpointer data ) ;
596    void (*thread_create)(gpointer (*func)(gpointer data ) , gpointer data ,   596    void (*thread_create)(gpointer (*func)(gpointer data ) , gpointer data ,
597                          gulong stack_size , gboolean joinable ,   597                          gulong stack_size , gboolean joinable ,
598                          gboolean bound , GThreadPriority priority ,   598                          gboolean bound , GThreadPriority priority ,
599                          gpointer thread , GError **error ) ;   599                          gpointer thread , GError **error ) ;
600    void (*thread_yield)(void) ;   600    void (*thread_yield)(void) ;
601    void (*thread_join)(gpointer thread ) ;   601    void (*thread_join)(gpointer thread ) ;
602    void (*thread_exit)(void) ;   602    void (*thread_exit)(void) ;
603    void (*thread_set_priority)(gpointer thread , GThreadPriority priority ) ;   603    void (*thread_set_priority)(gpointer thread , GThreadPriority priority ) ;
604    void (*thread_self)(gpointer thread ) ;   604    void (*thread_self)(gpointer thread ) ;
605    gboolean (*thread_equal)(gpointer thread1 , gpointer thread2 ) ;   605    gboolean (*thread_equal)(gpointer thread1 , gpointer thread2 ) ;
606 };   606 };
607 struct _GStaticPrivate {   607 struct _GStaticPrivate {
608    guint index ;   608    guint index ;
609 };   609 };
610 struct _GStaticRecMutex;   610 struct _GStaticRecMutex;
611 typedef struct _GStaticRecMutex GStaticRecMutex;   611 typedef struct _GStaticRecMutex GStaticRecMutex;
612 struct _GStaticRecMutex {   612 struct _GStaticRecMutex {
613    GStaticMutex mutex ;   613    GStaticMutex mutex ;
614    guint depth ;   614    guint depth ;
615    GSystemThread owner ;   615    GSystemThread owner ;
616 };   616 };
617 struct _GStaticRWLock;   617 struct _GStaticRWLock;
618 typedef struct _GStaticRWLock GStaticRWLock;   618 typedef struct _GStaticRWLock GStaticRWLock;
619 struct _GStaticRWLock {   619 struct _GStaticRWLock {
620    GStaticMutex mutex ;   620    GStaticMutex mutex ;
621    GCond *read_cond ;   621    GCond *read_cond ;
622    GCond *write_cond ;   622    GCond *write_cond ;
623    guint read_counter ;   623    guint read_counter ;
624    gboolean have_writer ;   624    gboolean have_writer ;
625    guint want_to_read ;   625    guint want_to_read ;
626    guint want_to_write ;   626    guint want_to_write ;
627 };   627 };
628 enum __anonenum_GOnceStatus_33 {   628 enum __anonenum_GOnceStatus_33 {
629     G_ONCE_STATUS_NOTCALLED = 0,   629     G_ONCE_STATUS_NOTCALLED = 0,
630     G_ONCE_STATUS_PROGRESS = 1,   630     G_ONCE_STATUS_PROGRESS = 1,
631     G_ONCE_STATUS_READY = 2   631     G_ONCE_STATUS_READY = 2
632 } ;   632 } ;
633 typedef enum __anonenum_GOnceStatus_33 GOnceStatus;   633 typedef enum __anonenum_GOnceStatus_33 GOnceStatus;
634 struct _GOnce;   634 struct _GOnce;
635 typedef struct _GOnce GOnce;   635 typedef struct _GOnce GOnce;
636 struct _GOnce {   636 struct _GOnce {
637    GOnceStatus volatile   status ;   637    GOnceStatus volatile   status ;
638    gpointer volatile   retval ;   638    gpointer volatile   retval ;
639 };   639 };
640 struct _GAsyncQueue;   640 struct _GAsyncQueue;
641 typedef struct _GAsyncQueue GAsyncQueue;   641 typedef struct _GAsyncQueue GAsyncQueue;
642 typedef __sig_atomic_t sig_atomic_t;   642 typedef __sig_atomic_t sig_atomic_t;
643 union sigval {   643 union sigval {
644    int sival_int ;   644    int sival_int ;
645    void *sival_ptr ;   645    void *sival_ptr ;
646 };   646 };
647 typedef union sigval sigval_t;   647 typedef union sigval sigval_t;
648 struct __anonstruct__kill_35 {   648 struct __anonstruct__kill_35 {
649    __pid_t si_pid ;   649    __pid_t si_pid ;
650    __uid_t si_uid ;   650    __uid_t si_uid ;
651 };   651 };
652 struct __anonstruct__timer_36 {   652 struct __anonstruct__timer_36 {
653    int si_tid ;   653    int si_tid ;
654    int si_overrun ;   654    int si_overrun ;
655    sigval_t si_sigval ;   655    sigval_t si_sigval ;
656 };   656 };
657 struct __anonstruct__rt_37 {   657 struct __anonstruct__rt_37 {
658    __pid_t si_pid ;   658    __pid_t si_pid ;
659    __uid_t si_uid ;   659    __uid_t si_uid ;
660    sigval_t si_sigval ;   660    sigval_t si_sigval ;
661 };   661 };
662 struct __anonstruct__sigchld_38 {   662 struct __anonstruct__sigchld_38 {
663    __pid_t si_pid ;   663    __pid_t si_pid ;
664    __uid_t si_uid ;   664    __uid_t si_uid ;
665    int si_status ;   665    int si_status ;
666    __clock_t si_utime ;   666    __clock_t si_utime ;
667    __clock_t si_stime ;   667    __clock_t si_stime ;
668 };   668 };
669 struct __anonstruct__sigfault_39 {   669 struct __anonstruct__sigfault_39 {
670    void *si_addr ;   670    void *si_addr ;
671 };   671 };
672 struct __anonstruct__sigpoll_40 {   672 struct __anonstruct__sigpoll_40 {
673    long si_band ;   673    long si_band ;
674    int si_fd ;   674    int si_fd ;
675 };   675 };
676 union __anonunion__sifields_34 {   676 union __anonunion__sifields_34 {
677    int _pad[128U / sizeof(int ) - 3U] ;   677    int _pad[128U / sizeof(int ) - 3U] ;
678    struct __anonstruct__kill_35 _kill ;   678    struct __anonstruct__kill_35 _kill ;
679    struct __anonstruct__timer_36 _timer ;   679    struct __anonstruct__timer_36 _timer ;
680    struct __anonstruct__rt_37 _rt ;   680    struct __anonstruct__rt_37 _rt ;
681    struct __anonstruct__sigchld_38 _sigchld ;   681    struct __anonstruct__sigchld_38 _sigchld ;
682    struct __anonstruct__sigfault_39 _sigfault ;   682    struct __anonstruct__sigfault_39 _sigfault ;
683    struct __anonstruct__sigpoll_40 _sigpoll ;   683    struct __anonstruct__sigpoll_40 _sigpoll ;
684 };   684 };
685 struct siginfo {   685 struct siginfo {
686    int si_signo ;   686    int si_signo ;
687    int si_errno ;   687    int si_errno ;
688    int si_code ;   688    int si_code ;
689    union __anonunion__sifields_34 _sifields ;   689    union __anonunion__sifields_34 _sifields ;
690 };   690 };
691 typedef struct siginfo siginfo_t;   691 typedef struct siginfo siginfo_t;
692 enum __anonenum_41 {   692 enum __anonenum_41 {
693     SI_ASYNCNL = -60,   693     SI_ASYNCNL = -60,
694     SI_TKILL = -6,   694     SI_TKILL = -6,
695     SI_SIGIO = -5,   695     SI_SIGIO = -5,
696     SI_ASYNCIO = -4,   696     SI_ASYNCIO = -4,
697     SI_MESGQ = -3,   697     SI_MESGQ = -3,
698     SI_TIMER = -2,   698     SI_TIMER = -2,
699     SI_QUEUE = -1,   699     SI_QUEUE = -1,
700     SI_USER = 0,   700     SI_USER = 0,
701     SI_KERNEL = 128   701     SI_KERNEL = 128
702 } ;   702 } ;
703 enum __anonenum_42 {   703 enum __anonenum_42 {
704     ILL_ILLOPC = 1,   704     ILL_ILLOPC = 1,
705     ILL_ILLOPN = 2,   705     ILL_ILLOPN = 2,
706     ILL_ILLADR = 3,   706     ILL_ILLADR = 3,
707     ILL_ILLTRP = 4,   707     ILL_ILLTRP = 4,
708     ILL_PRVOPC = 5,   708     ILL_PRVOPC = 5,
709     ILL_PRVREG = 6,   709     ILL_PRVREG = 6,
710     ILL_COPROC = 7,   710     ILL_COPROC = 7,
711     ILL_BADSTK = 8   711     ILL_BADSTK = 8
712 } ;   712 } ;
713 enum __anonenum_43 {   713 enum __anonenum_43 {
714     FPE_INTDIV = 1,   714     FPE_INTDIV = 1,
715     FPE_INTOVF = 2,   715     FPE_INTOVF = 2,
716     FPE_FLTDIV = 3,   716     FPE_FLTDIV = 3,
717     FPE_FLTOVF = 4,   717     FPE_FLTOVF = 4,
718     FPE_FLTUND = 5,   718     FPE_FLTUND = 5,
719     FPE_FLTRES = 6,   719     FPE_FLTRES = 6,
720     FPE_FLTINV = 7,   720     FPE_FLTINV = 7,
721     FPE_FLTSUB = 8   721     FPE_FLTSUB = 8
722 } ;   722 } ;
723 enum __anonenum_44 {   723 enum __anonenum_44 {
724     SEGV_MAPERR = 1,   724     SEGV_MAPERR = 1,
725     SEGV_ACCERR = 2   725     SEGV_ACCERR = 2
726 } ;   726 } ;
727 enum __anonenum_45 {   727 enum __anonenum_45 {
728     BUS_ADRALN = 1,   728     BUS_ADRALN = 1,
729     BUS_ADRERR = 2,   729     BUS_ADRERR = 2,
730     BUS_OBJERR = 3   730     BUS_OBJERR = 3
731 } ;   731 } ;
732 enum __anonenum_46 {   732 enum __anonenum_46 {
733     TRAP_BRKPT = 1,   733     TRAP_BRKPT = 1,
734     TRAP_TRACE = 2   734     TRAP_TRACE = 2
735 } ;   735 } ;
736 enum __anonenum_47 {   736 enum __anonenum_47 {
737     CLD_EXITED = 1,   737     CLD_EXITED = 1,
738     CLD_KILLED = 2,   738     CLD_KILLED = 2,
739     CLD_DUMPED = 3,   739     CLD_DUMPED = 3,
740     CLD_TRAPPED = 4,   740     CLD_TRAPPED = 4,
741     CLD_STOPPED = 5,   741     CLD_STOPPED = 5,
742     CLD_CONTINUED = 6   742     CLD_CONTINUED = 6
743 } ;   743 } ;
744 enum __anonenum_48 {   744 enum __anonenum_48 {
745     POLL_IN = 1,   745     POLL_IN = 1,
746     POLL_OUT = 2,   746     POLL_OUT = 2,
747     POLL_MSG = 3,   747     POLL_MSG = 3,
748     POLL_ERR = 4,   748     POLL_ERR = 4,
749     POLL_PRI = 5,   749     POLL_PRI = 5,
750     POLL_HUP = 6   750     POLL_HUP = 6
751 } ;   751 } ;
752 struct __anonstruct__sigev_thread_50 {   752 struct __anonstruct__sigev_thread_50 {
753    void (*_function)(sigval_t  ) ;   753    void (*_function)(sigval_t  ) ;
754    void *_attribute ;   754    void *_attribute ;
755 };   755 };
756 union __anonunion__sigev_un_49 {   756 union __anonunion__sigev_un_49 {
757    int _pad[64U / sizeof(int ) - 3U] ;   757    int _pad[64U / sizeof(int ) - 3U] ;
758    __pid_t _tid ;   758    __pid_t _tid ;
759    struct __anonstruct__sigev_thread_50 _sigev_thread ;   759    struct __anonstruct__sigev_thread_50 _sigev_thread ;
760 };   760 };
761 struct sigevent {   761 struct sigevent {
762    sigval_t sigev_value ;   762    sigval_t sigev_value ;
763    int sigev_signo ;   763    int sigev_signo ;
764    int sigev_notify ;   764    int sigev_notify ;
765    union __anonunion__sigev_un_49 _sigev_un ;   765    union __anonunion__sigev_un_49 _sigev_un ;
766 };   766 };
767 typedef struct sigevent sigevent_t;   767 typedef struct sigevent sigevent_t;
768 enum __anonenum_51 {   768 enum __anonenum_51 {
769     SIGEV_SIGNAL = 0,   769     SIGEV_SIGNAL = 0,
770     SIGEV_NONE = 1,   770     SIGEV_NONE = 1,
771     SIGEV_THREAD = 2,   771     SIGEV_THREAD = 2,
772     SIGEV_THREAD_ID = 4   772     SIGEV_THREAD_ID = 4
773 } ;   773 } ;
774 typedef void (*__sighandler_t)(int  );   774 typedef void (*__sighandler_t)(int  );
775 typedef void (*sig_t)(int  );   775 typedef void (*sig_t)(int  );
776 union __anonunion___sigaction_handler_52 {   776 union __anonunion___sigaction_handler_52 {
777    void (*sa_handler)(int  ) ;   777    void (*sa_handler)(int  ) ;
778    void (*sa_sigaction)(int  , siginfo_t * , void * ) ;   778    void (*sa_sigaction)(int  , siginfo_t * , void * ) ;
779 };   779 };
780 struct sigaction {   780 struct sigaction {
781    union __anonunion___sigaction_handler_52 __sigaction_handler ;   781    union __anonunion___sigaction_handler_52 __sigaction_handler ;
782    __sigset_t sa_mask ;   782    __sigset_t sa_mask ;
783    int sa_flags ;   783    int sa_flags ;
784    void (*sa_restorer)(void) ;   784    void (*sa_restorer)(void) ;
785 };   785 };
786 struct sigvec {   786 struct sigvec {
787    void (*sv_handler)(int  ) ;   787    void (*sv_handler)(int  ) ;
788    int sv_mask ;   788    int sv_mask ;
789    int sv_flags ;   789    int sv_flags ;
790 };   790 };
791 typedef signed char __s8;   791 typedef signed char __s8;
792 typedef unsigned char __u8;   792 typedef unsigned char __u8;
793 typedef short __s16;   793 typedef short __s16;
794 typedef unsigned short __u16;   794 typedef unsigned short __u16;
795 typedef int __s32;   795 typedef int __s32;
796 typedef unsigned int __u32;   796 typedef unsigned int __u32;
797 typedef long long __s64;   797 typedef long long __s64;
798 typedef unsigned long long __u64;   798 typedef unsigned long long __u64;
799 typedef unsigned short umode_t;   799 typedef unsigned short umode_t;
800 struct __anonstruct___kernel_fd_set_53 {   800 struct __anonstruct___kernel_fd_set_53 {
801    unsigned long fds_bits[1024U / (8U * sizeof(unsigned long ))] ;   801    unsigned long fds_bits[1024U / (8U * sizeof(unsigned long ))] ;
802 };   802 };
803 typedef struct __anonstruct___kernel_fd_set_53 __kernel_fd_set;   803 typedef struct __anonstruct___kernel_fd_set_53 __kernel_fd_set;
804 typedef void (*__kernel_sighandler_t)(int  );   804 typedef void (*__kernel_sighandler_t)(int  );
805 typedef int __kernel_key_t;   805 typedef int __kernel_key_t;
806 typedef int __kernel_mqd_t;   806 typedef int __kernel_mqd_t;
807 typedef unsigned long __kernel_ino_t;   807 typedef unsigned long __kernel_ino_t;
808 typedef unsigned short __kernel_mode_t;   808 typedef unsigned short __kernel_mode_t;
809 typedef unsigned short __kernel_nlink_t;   809 typedef unsigned short __kernel_nlink_t;
810 typedef long __kernel_off_t;   810 typedef long __kernel_off_t;
811 typedef int __kernel_pid_t;   811 typedef int __kernel_pid_t;
812 typedef unsigned short __kernel_ipc_pid_t;   812 typedef unsigned short __kernel_ipc_pid_t;
813 typedef unsigned short __kernel_uid_t;   813 typedef unsigned short __kernel_uid_t;
814 typedef unsigned short __kernel_gid_t;   814 typedef unsigned short __kernel_gid_t;
815 typedef unsigned int __kernel_size_t;   815 typedef unsigned int __kernel_size_t;
816 typedef int __kernel_ssize_t;   816 typedef int __kernel_ssize_t;
817 typedef int __kernel_ptrdiff_t;   817 typedef int __kernel_ptrdiff_t;
818 typedef long __kernel_time_t;   818 typedef long __kernel_time_t;
819 typedef long __kernel_suseconds_t;   819 typedef long __kernel_suseconds_t;
820 typedef long __kernel_clock_t;   820 typedef long __kernel_clock_t;
821 typedef int __kernel_timer_t;   821 typedef int __kernel_timer_t;
822 typedef int __kernel_clockid_t;   822 typedef int __kernel_clockid_t;
823 typedef int __kernel_daddr_t;   823 typedef int __kernel_daddr_t;
824 typedef char *__kernel_caddr_t;   824 typedef char *__kernel_caddr_t;
825 typedef unsigned short __kernel_uid16_t;   825 typedef unsigned short __kernel_uid16_t;
826 typedef unsigned short __kernel_gid16_t;   826 typedef unsigned short __kernel_gid16_t;
827 typedef unsigned int __kernel_uid32_t;   827 typedef unsigned int __kernel_uid32_t;
828 typedef unsigned int __kernel_gid32_t;   828 typedef unsigned int __kernel_gid32_t;
829 typedef unsigned short __kernel_old_uid_t;   829 typedef unsigned short __kernel_old_uid_t;
830 typedef unsigned short __kernel_old_gid_t;   830 typedef unsigned short __kernel_old_gid_t;
831 typedef unsigned short __kernel_old_dev_t;   831 typedef unsigned short __kernel_old_dev_t;
832 typedef long long __kernel_loff_t;   832 typedef long long __kernel_loff_t;
833 struct __anonstruct___kernel_fsid_t_54 {   833 struct __anonstruct___kernel_fsid_t_54 {
834    int val[2] ;   834    int val[2] ;
835 };   835 };
836 typedef struct __anonstruct___kernel_fsid_t_54 __kernel_fsid_t;   836 typedef struct __anonstruct___kernel_fsid_t_54 __kernel_fsid_t;
837 typedef __u16 __le16;   837 typedef __u16 __le16;
838 typedef __u16 __be16;   838 typedef __u16 __be16;
839 typedef __u32 __le32;   839 typedef __u32 __le32;
840 typedef __u32 __be32;   840 typedef __u32 __be32;
841 typedef __u64 __le64;   841 typedef __u64 __le64;
842 typedef __u64 __be64;   842 typedef __u64 __be64;
843 typedef __u16 __sum16;   843 typedef __u16 __sum16;
844 typedef __u32 __wsum;   844 typedef __u32 __wsum;
845 struct _fpx_sw_bytes {   845 struct _fpx_sw_bytes {
846    __u32 magic1 ;   846    __u32 magic1 ;
847    __u32 extended_size ;   847    __u32 extended_size ;
848    __u64 xstate_bv ;   848    __u64 xstate_bv ;
849    __u32 xstate_size ;   849    __u32 xstate_size ;
850    __u32 padding[7] ;   850    __u32 padding[7] ;
851 };   851 };
852 struct _fpreg {   852 struct _fpreg {
853    unsigned short significand[4] ;   853    unsigned short significand[4] ;
854    unsigned short exponent ;   854    unsigned short exponent ;
855 };   855 };
856 struct _fpxreg {   856 struct _fpxreg {
857    unsigned short significand[4] ;   857    unsigned short significand[4] ;
858    unsigned short exponent ;   858    unsigned short exponent ;
859    unsigned short padding[3] ;   859    unsigned short padding[3] ;
860 };   860 };
861 struct _xmmreg {   861 struct _xmmreg {
862    unsigned long element[4] ;   862    unsigned long element[4] ;
863 };   863 };
864 union __anonunion____missing_field_name_55 {   864 union __anonunion____missing_field_name_55 {
865    unsigned long padding2[12] ;   865    unsigned long padding2[12] ;
866    struct _fpx_sw_bytes sw_reserved ;   866    struct _fpx_sw_bytes sw_reserved ;
867 };   867 };
868 struct _fpstate {   868 struct _fpstate {
869    unsigned long cw ;   869    unsigned long cw ;
870    unsigned long sw ;   870    unsigned long sw ;
871    unsigned long tag ;   871    unsigned long tag ;
872    unsigned long ipoff ;   872    unsigned long ipoff ;
873    unsigned long cssel ;   873    unsigned long cssel ;
874    unsigned long dataoff ;   874    unsigned long dataoff ;
875    unsigned long datasel ;   875    unsigned long datasel ;
876    struct _fpreg _st[8] ;   876    struct _fpreg _st[8] ;
877    unsigned short status ;   877    unsigned short status ;
878    unsigned short magic ;   878    unsigned short magic ;
879    unsigned long _fxsr_env[6] ;   879    unsigned long _fxsr_env[6] ;
880    unsigned long mxcsr ;   880    unsigned long mxcsr ;
881    unsigned long reserved ;   881    unsigned long reserved ;
882    struct _fpxreg _fxsr_st[8] ;   882    struct _fpxreg _fxsr_st[8] ;
883    struct _xmmreg _xmm[8] ;   883    struct _xmmreg _xmm[8] ;
884    unsigned long padding1[44] ;   884    unsigned long padding1[44] ;
885    union __anonunion____missing_field_name_55 __annonCompField2 ;   885    union __anonunion____missing_field_name_55 __annonCompField2 ;
886 };   886 };
887 struct sigcontext {   887 struct sigcontext {
888    unsigned short gs ;   888    unsigned short gs ;
889    unsigned short __gsh ;   889    unsigned short __gsh ;
890    unsigned short fs ;   890    unsigned short fs ;
891    unsigned short __fsh ;   891    unsigned short __fsh ;
892    unsigned short es ;   892    unsigned short es ;
893    unsigned short __esh ;   893    unsigned short __esh ;
894    unsigned short ds ;   894    unsigned short ds ;
895    unsigned short __dsh ;   895    unsigned short __dsh ;
896    unsigned long edi ;   896    unsigned long edi ;
897    unsigned long esi ;   897    unsigned long esi ;
898    unsigned long ebp ;   898    unsigned long ebp ;
899    unsigned long esp ;   899    unsigned long esp ;
900    unsigned long ebx ;   900    unsigned long ebx ;
901    unsigned long edx ;   901    unsigned long edx ;
902    unsigned long ecx ;   902    unsigned long ecx ;
903    unsigned long eax ;   903    unsigned long eax ;
904    unsigned long trapno ;   904    unsigned long trapno ;
905    unsigned long err ;   905    unsigned long err ;
906    unsigned long eip ;   906    unsigned long eip ;
907    unsigned short cs ;   907    unsigned short cs ;
908    unsigned short __csh ;   908    unsigned short __csh ;
909    unsigned long eflags ;   909    unsigned long eflags ;
910    unsigned long esp_at_signal ;   910    unsigned long esp_at_signal ;
911    unsigned short ss ;   911    unsigned short ss ;
912    unsigned short __ssh ;   912    unsigned short __ssh ;
913    struct _fpstate *fpstate ;   913    struct _fpstate *fpstate ;
914    unsigned long oldmask ;   914    unsigned long oldmask ;
915    unsigned long cr2 ;   915    unsigned long cr2 ;
916 };   916 };
917 struct _xsave_hdr {   917 struct _xsave_hdr {
918    __u64 xstate_bv ;   918    __u64 xstate_bv ;
919    __u64 reserved1[2] ;   919    __u64 reserved1[2] ;
920    __u64 reserved2[5] ;   920    __u64 reserved2[5] ;
921 };   921 };
922 struct _ymmh_state {   922 struct _ymmh_state {
923    __u32 ymmh_space[64] ;   923    __u32 ymmh_space[64] ;
924 };   924 };
925 struct _xstate {   925 struct _xstate {
926    struct _fpstate fpstate ;   926    struct _fpstate fpstate ;
927    struct _xsave_hdr xstate_hdr ;   927    struct _xsave_hdr xstate_hdr ;
928    struct _ymmh_state ymmh ;   928    struct _ymmh_state ymmh ;
929 };   929 };
930 struct sigstack {   930 struct sigstack {
931    void *ss_sp ;   931    void *ss_sp ;
932    int ss_onstack ;   932    int ss_onstack ;
933 };   933 };
934 enum __anonenum_56 {   934 enum __anonenum_56 {
935     SS_ONSTACK = 1,   935     SS_ONSTACK = 1,
936     SS_DISABLE = 2   936     SS_DISABLE = 2
937 } ;   937 } ;
938 struct sigaltstack {   938 struct sigaltstack {
939    void *ss_sp ;   939    void *ss_sp ;
940    int ss_flags ;   940    int ss_flags ;
941    size_t ss_size ;   941    size_t ss_size ;
942 };   942 };
943 typedef struct sigaltstack stack_t;   943 typedef struct sigaltstack stack_t;
944 typedef int greg_t;   944 typedef int greg_t;
945 typedef greg_t gregset_t[19];   945 typedef greg_t gregset_t[19];
946 struct _libc_fpreg {   946 struct _libc_fpreg {
947    unsigned short significand[4] ;   947    unsigned short significand[4] ;
948    unsigned short exponent ;   948    unsigned short exponent ;
949 };   949 };
950 struct _libc_fpstate {   950 struct _libc_fpstate {
951    unsigned long cw ;   951    unsigned long cw ;
952    unsigned long sw ;   952    unsigned long sw ;
953    unsigned long tag ;   953    unsigned long tag ;
954    unsigned long ipoff ;   954    unsigned long ipoff ;
955    unsigned long cssel ;   955    unsigned long cssel ;
956    unsigned long dataoff ;   956    unsigned long dataoff ;
957    unsigned long datasel ;   957    unsigned long datasel ;
958    struct _libc_fpreg _st[8] ;   958    struct _libc_fpreg _st[8] ;
959    unsigned long status ;   959    unsigned long status ;
960 };   960 };
961 typedef struct _libc_fpstate *fpregset_t;   961 typedef struct _libc_fpstate *fpregset_t;
962 struct __anonstruct_mcontext_t_57 {   962 struct __anonstruct_mcontext_t_57 {
963    gregset_t gregs ;   963    gregset_t gregs ;
964    fpregset_t fpregs ;   964    fpregset_t fpregs ;
965    unsigned long oldmask ;   965    unsigned long oldmask ;
966    unsigned long cr2 ;   966    unsigned long cr2 ;
967 };   967 };
968 typedef struct __anonstruct_mcontext_t_57 mcontext_t;   968 typedef struct __anonstruct_mcontext_t_57 mcontext_t;
969 struct ucontext {   969 struct ucontext {
970    unsigned long uc_flags ;   970    unsigned long uc_flags ;
971    struct ucontext *uc_link ;   971    struct ucontext *uc_link ;
972    stack_t uc_stack ;   972    stack_t uc_stack ;
973    mcontext_t uc_mcontext ;   973    mcontext_t uc_mcontext ;
974    __sigset_t uc_sigmask ;   974    __sigset_t uc_sigmask ;
975    struct _libc_fpstate __fpregs_mem ;   975    struct _libc_fpstate __fpregs_mem ;
976 };   976 };
977 typedef struct ucontext ucontext_t;   977 typedef struct ucontext ucontext_t;
978 enum __anonenum_GBookmarkFileError_58 {   978 enum __anonenum_GBookmarkFileError_58 {
979     G_BOOKMARK_FILE_ERROR_INVALID_URI = 0,   979     G_BOOKMARK_FILE_ERROR_INVALID_URI = 0,
980     G_BOOKMARK_FILE_ERROR_INVALID_VALUE = 1,   980     G_BOOKMARK_FILE_ERROR_INVALID_VALUE = 1,
981     G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED = 2,   981     G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED = 2,
982     G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND = 3,   982     G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND = 3,
983     G_BOOKMARK_FILE_ERROR_READ = 4,   983     G_BOOKMARK_FILE_ERROR_READ = 4,
984     G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING = 5,   984     G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING = 5,
985     G_BOOKMARK_FILE_ERROR_WRITE = 6,   985     G_BOOKMARK_FILE_ERROR_WRITE = 6,
986     G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND = 7   986     G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND = 7
987 } ;   987 } ;
988 typedef enum __anonenum_GBookmarkFileError_58 GBookmarkFileError;   988 typedef enum __anonenum_GBookmarkFileError_58 GBookmarkFileError;
989 struct _GBookmarkFile;   989 struct _GBookmarkFile;
990 typedef struct _GBookmarkFile GBookmarkFile;   990 typedef struct _GBookmarkFile GBookmarkFile;
991 enum __anonenum_GSliceConfig_59 {   991 enum __anonenum_GSliceConfig_59 {
992     G_SLICE_CONFIG_ALWAYS_MALLOC = 1,   992     G_SLICE_CONFIG_ALWAYS_MALLOC = 1,
993     G_SLICE_CONFIG_BYPASS_MAGAZINES = 2,   993     G_SLICE_CONFIG_BYPASS_MAGAZINES = 2,
994     G_SLICE_CONFIG_WORKING_SET_MSECS = 3,   994     G_SLICE_CONFIG_WORKING_SET_MSECS = 3,
995     G_SLICE_CONFIG_COLOR_INCREMENT = 4,   995     G_SLICE_CONFIG_COLOR_INCREMENT = 4,
996     G_SLICE_CONFIG_CHUNK_SIZES = 5,   996     G_SLICE_CONFIG_CHUNK_SIZES = 5,
997     G_SLICE_CONFIG_CONTENTION_COUNTER = 6   997     G_SLICE_CONFIG_CONTENTION_COUNTER = 6
998 } ;   998 } ;
999 typedef enum __anonenum_GSliceConfig_59 GSliceConfig;   999 typedef enum __anonenum_GSliceConfig_59 GSliceConfig;
1000 struct _GMemVTable;   1000 struct _GMemVTable;
1001 typedef struct _GMemVTable GMemVTable;   1001 typedef struct _GMemVTable GMemVTable;
1002 struct _GMemVTable {   1002 struct _GMemVTable {
1003    gpointer (*malloc)(gsize n_bytes ) ;   1003    gpointer (*malloc)(gsize n_bytes ) ;
1004    gpointer (*realloc)(gpointer mem , gsize n_bytes ) ;   1004    gpointer (*realloc)(gpointer mem , gsize n_bytes ) ;
1005    void (*free)(gpointer mem ) ;   1005    void (*free)(gpointer mem ) ;
1006    gpointer (*calloc)(gsize n_blocks , gsize n_block_bytes ) ;   1006    gpointer (*calloc)(gsize n_blocks , gsize n_block_bytes ) ;
1007    gpointer (*try_malloc)(gsize n_bytes ) ;   1007    gpointer (*try_malloc)(gsize n_bytes ) ;
1008    gpointer (*try_realloc)(gpointer mem , gsize n_bytes ) ;   1008    gpointer (*try_realloc)(gpointer mem , gsize n_bytes ) ;
1009 };   1009 };
1010 struct _GAllocator;   1010 struct _GAllocator;
1011 typedef struct _GAllocator GAllocator;   1011 typedef struct _GAllocator GAllocator;
1012 struct _GMemChunk;   1012 struct _GMemChunk;
1013 typedef struct _GMemChunk GMemChunk;   1013 typedef struct _GMemChunk GMemChunk;
1014 struct _GList;   1014 struct _GList;
1015 typedef struct _GList GList;   1015 typedef struct _GList GList;
1016 struct _GList {   1016 struct _GList {
1017    gpointer data ;   1017    gpointer data ;
1018    GList *next ;   1018    GList *next ;
1019    GList *prev ;   1019    GList *prev ;
1020 };   1020 };
1021 struct _GCache;   1021 struct _GCache;
1022 typedef struct _GCache GCache;   1022 typedef struct _GCache GCache;
1023 typedef gpointer (*GCacheNewFunc)(gpointer key );   1023 typedef gpointer (*GCacheNewFunc)(gpointer key );
1024 typedef gpointer (*GCacheDupFunc)(gpointer value );   1024 typedef gpointer (*GCacheDupFunc)(gpointer value );
1025 typedef void (*GCacheDestroyFunc)(gpointer value );   1025 typedef void (*GCacheDestroyFunc)(gpointer value );
1026 enum __anonenum_GChecksumType_60 {   1026 enum __anonenum_GChecksumType_60 {
1027     G_CHECKSUM_MD5 = 0,   1027     G_CHECKSUM_MD5 = 0,
1028     G_CHECKSUM_SHA1 = 1,   1028     G_CHECKSUM_SHA1 = 1,
1029     G_CHECKSUM_SHA256 = 2   1029     G_CHECKSUM_SHA256 = 2
1030 } ;   1030 } ;
1031 typedef enum __anonenum_GChecksumType_60 GChecksumType;   1031 typedef enum __anonenum_GChecksumType_60 GChecksumType;
1032 struct _GChecksum;   1032 struct _GChecksum;
1033 typedef struct _GChecksum GChecksum;   1033 typedef struct _GChecksum GChecksum;
1034 struct _GCompletion;   1034 struct _GCompletion;
1035 typedef struct _GCompletion GCompletion;   1035 typedef struct _GCompletion GCompletion;
1036 typedef gchar *(*GCompletionFunc)(gpointer  );   1036 typedef gchar *(*GCompletionFunc)(gpointer  );
1037 typedef gint (*GCompletionStrncmpFunc)(gchar const   *s1 , gchar const   *s2 ,   1037 typedef gint (*GCompletionStrncmpFunc)(gchar const   *s1 , gchar const   *s2 ,
1038                                        gsize n );   1038                                        gsize n );
1039 struct _GCompletion {   1039 struct _GCompletion {
1040    GList *items ;   1040    GList *items ;
1041    gchar *(*func)(gpointer  ) ;   1041    gchar *(*func)(gpointer  ) ;
1042    gchar *prefix ;   1042    gchar *prefix ;
1043    GList *cache ;   1043    GList *cache ;
1044    gint (*strncmp_func)(gchar const   *s1 , gchar const   *s2 , gsize n ) ;   1044    gint (*strncmp_func)(gchar const   *s1 , gchar const   *s2 , gsize n ) ;
1045 };   1045 };
1046 enum __anonenum_GConvertError_61 {   1046 enum __anonenum_GConvertError_61 {
1047     G_CONVERT_ERROR_NO_CONVERSION = 0,   1047     G_CONVERT_ERROR_NO_CONVERSION = 0,
1048     G_CONVERT_ERROR_ILLEGAL_SEQUENCE = 1,   1048     G_CONVERT_ERROR_ILLEGAL_SEQUENCE = 1,
1049     G_CONVERT_ERROR_FAILED = 2,   1049     G_CONVERT_ERROR_FAILED = 2,
1050     G_CONVERT_ERROR_PARTIAL_INPUT = 3,   1050     G_CONVERT_ERROR_PARTIAL_INPUT = 3,
1051     G_CONVERT_ERROR_BAD_URI = 4,   1051     G_CONVERT_ERROR_BAD_URI = 4,
1052     G_CONVERT_ERROR_NOT_ABSOLUTE_PATH = 5   1052     G_CONVERT_ERROR_NOT_ABSOLUTE_PATH = 5
1053 } ;   1053 } ;
1054 typedef enum __anonenum_GConvertError_61 GConvertError;   1054 typedef enum __anonenum_GConvertError_61 GConvertError;
1055 struct _GIConv;   1055 struct _GIConv;
1056 typedef struct _GIConv *GIConv;   1056 typedef struct _GIConv *GIConv;
1057 struct _GData;   1057 struct _GData;
1058 typedef struct _GData GData;   1058 typedef struct _GData GData;
1059 typedef void (*GDataForeachFunc)(GQuark key_id , gpointer data ,   1059 typedef void (*GDataForeachFunc)(GQuark key_id , gpointer data ,
1060                                  gpointer user_data );   1060                                  gpointer user_data );
1061 typedef gint32 GTime;   1061 typedef gint32 GTime;
1062 typedef guint16 GDateYear;   1062 typedef guint16 GDateYear;
1063 typedef guint8 GDateDay;   1063 typedef guint8 GDateDay;
1064 struct _GDate;   1064 struct _GDate;
1065 typedef struct _GDate GDate;   1065 typedef struct _GDate GDate;
1066 enum __anonenum_GDateDMY_62 {   1066 enum __anonenum_GDateDMY_62 {
1067     G_DATE_DAY = 0,   1067     G_DATE_DAY = 0,
1068     G_DATE_MONTH = 1,   1068     G_DATE_MONTH = 1,
1069     G_DATE_YEAR = 2   1069     G_DATE_YEAR = 2
1070 } ;   1070 } ;
1071 typedef enum __anonenum_GDateDMY_62 GDateDMY;   1071 typedef enum __anonenum_GDateDMY_62 GDateDMY;
1072 enum __anonenum_GDateWeekday_63 {   1072 enum __anonenum_GDateWeekday_63 {
1073     G_DATE_BAD_WEEKDAY = 0,   1073     G_DATE_BAD_WEEKDAY = 0,
1074     G_DATE_MONDAY = 1,   1074     G_DATE_MONDAY = 1,
1075     G_DATE_TUESDAY = 2,   1075     G_DATE_TUESDAY = 2,
1076     G_DATE_WEDNESDAY = 3,   1076     G_DATE_WEDNESDAY = 3,
1077     G_DATE_THURSDAY = 4,   1077     G_DATE_THURSDAY = 4,
1078     G_DATE_FRIDAY = 5,   1078     G_DATE_FRIDAY = 5,
1079     G_DATE_SATURDAY = 6,   1079     G_DATE_SATURDAY = 6,
1080     G_DATE_SUNDAY = 7   1080     G_DATE_SUNDAY = 7
1081 } ;   1081 } ;
1082 typedef enum __anonenum_GDateWeekday_63 GDateWeekday;   1082 typedef enum __anonenum_GDateWeekday_63 GDateWeekday;
1083 enum __anonenum_GDateMonth_64 {   1083 enum __anonenum_GDateMonth_64 {
1084     G_DATE_BAD_MONTH = 0,   1084     G_DATE_BAD_MONTH = 0,
1085     G_DATE_JANUARY = 1,   1085     G_DATE_JANUARY = 1,
1086     G_DATE_FEBRUARY = 2,   1086     G_DATE_FEBRUARY = 2,
1087     G_DATE_MARCH = 3,   1087     G_DATE_MARCH = 3,
1088     G_DATE_APRIL = 4,   1088     G_DATE_APRIL = 4,
1089     G_DATE_MAY = 5,   1089     G_DATE_MAY = 5,
1090     G_DATE_JUNE = 6,   1090     G_DATE_JUNE = 6,
1091     G_DATE_JULY = 7,   1091     G_DATE_JULY = 7,
1092     G_DATE_AUGUST = 8,   1092     G_DATE_AUGUST = 8,
1093     G_DATE_SEPTEMBER = 9,   1093     G_DATE_SEPTEMBER = 9,
1094     G_DATE_OCTOBER = 10,   1094     G_DATE_OCTOBER = 10,
1095     G_DATE_NOVEMBER = 11,   1095     G_DATE_NOVEMBER = 11,
1096     G_DATE_DECEMBER = 12   1096     G_DATE_DECEMBER = 12
1097 } ;   1097 } ;
1098 typedef enum __anonenum_GDateMonth_64 GDateMonth;   1098 typedef enum __anonenum_GDateMonth_64 GDateMonth;
1099 struct _GDate {   1099 struct _GDate {
1100    guint julian_days : 32 ;   1100    guint julian_days : 32 ;
1101    guint julian : 1 ;   1101    guint julian : 1 ;
1102    guint dmy : 1 ;   1102    guint dmy : 1 ;
1103    guint day : 6 ;   1103    guint day : 6 ;
1104    guint month : 4 ;   1104    guint month : 4 ;
1105    guint year : 16 ;   1105    guint year : 16 ;
1106 };   1106 };
1107 struct _GDir;   1107 struct _GDir;
1108 typedef struct _GDir GDir;   1108 typedef struct _GDir GDir;
1109 enum __anonenum_GFileError_65 {   1109 enum __anonenum_GFileError_65 {
1110     G_FILE_ERROR_EXIST = 0,   1110     G_FILE_ERROR_EXIST = 0,
1111     G_FILE_ERROR_ISDIR = 1,   1111     G_FILE_ERROR_ISDIR = 1,
1112     G_FILE_ERROR_ACCES = 2,   1112     G_FILE_ERROR_ACCES = 2,
1113     G_FILE_ERROR_NAMETOOLONG = 3,   1113     G_FILE_ERROR_NAMETOOLONG = 3,
1114     G_FILE_ERROR_NOENT = 4,   1114     G_FILE_ERROR_NOENT = 4,
1115     G_FILE_ERROR_NOTDIR = 5,   1115     G_FILE_ERROR_NOTDIR = 5,
1116     G_FILE_ERROR_NXIO = 6,   1116     G_FILE_ERROR_NXIO = 6,
1117     G_FILE_ERROR_NODEV = 7,   1117     G_FILE_ERROR_NODEV = 7,
1118     G_FILE_ERROR_ROFS = 8,   1118     G_FILE_ERROR_ROFS = 8,
1119     G_FILE_ERROR_TXTBSY = 9,   1119     G_FILE_ERROR_TXTBSY = 9,
1120     G_FILE_ERROR_FAULT = 10,   1120     G_FILE_ERROR_FAULT = 10,
1121     G_FILE_ERROR_LOOP = 11,   1121     G_FILE_ERROR_LOOP = 11,
1122     G_FILE_ERROR_NOSPC = 12,   1122     G_FILE_ERROR_NOSPC = 12,
1123     G_FILE_ERROR_NOMEM = 13,   1123     G_FILE_ERROR_NOMEM = 13,
1124     G_FILE_ERROR_MFILE = 14,   1124     G_FILE_ERROR_MFILE = 14,
1125     G_FILE_ERROR_NFILE = 15,   1125     G_FILE_ERROR_NFILE = 15,
1126     G_FILE_ERROR_BADF = 16,   1126     G_FILE_ERROR_BADF = 16,
1127     G_FILE_ERROR_INVAL = 17,   1127     G_FILE_ERROR_INVAL = 17,
1128     G_FILE_ERROR_PIPE = 18,   1128     G_FILE_ERROR_PIPE = 18,
1129     G_FILE_ERROR_AGAIN = 19,   1129     G_FILE_ERROR_AGAIN = 19,
1130     G_FILE_ERROR_INTR = 20,   1130     G_FILE_ERROR_INTR = 20,
1131     G_FILE_ERROR_IO = 21,   1131     G_FILE_ERROR_IO = 21,
1132     G_FILE_ERROR_PERM = 22,   1132     G_FILE_ERROR_PERM = 22,
1133     G_FILE_ERROR_NOSYS = 23,   1133     G_FILE_ERROR_NOSYS = 23,
1134     G_FILE_ERROR_FAILED = 24   1134     G_FILE_ERROR_FAILED = 24
1135 } ;   1135 } ;
1136 typedef enum __anonenum_GFileError_65 GFileError;   1136 typedef enum __anonenum_GFileError_65 GFileError;
1137 enum __anonenum_GFileTest_66 {   1137 enum __anonenum_GFileTest_66 {
1138     G_FILE_TEST_IS_REGULAR = 1,   1138     G_FILE_TEST_IS_REGULAR = 1,
1139     G_FILE_TEST_IS_SYMLINK = 2,   1139     G_FILE_TEST_IS_SYMLINK = 2,
1140     G_FILE_TEST_IS_DIR = 4,   1140     G_FILE_TEST_IS_DIR = 4,
1141     G_FILE_TEST_IS_EXECUTABLE = 8,   1141     G_FILE_TEST_IS_EXECUTABLE = 8,
1142     G_FILE_TEST_EXISTS = 16   1142     G_FILE_TEST_EXISTS = 16
1143 } ;   1143 } ;
1144 typedef enum __anonenum_GFileTest_66 GFileTest;   1144 typedef enum __anonenum_GFileTest_66 GFileTest;
1145 struct _GHashTable;   1145 struct _GHashTable;
1146 typedef struct _GHashTable GHashTable;   1146 typedef struct _GHashTable GHashTable;
1147 typedef gboolean (*GHRFunc)(gpointer key , gpointer value , gpointer user_data );   1147 typedef gboolean (*GHRFunc)(gpointer key , gpointer value , gpointer user_data );
1148 struct _GHashTableIter;   1148 struct _GHashTableIter;
1149 typedef struct _GHashTableIter GHashTableIter;   1149 typedef struct _GHashTableIter GHashTableIter;
1150 struct _GHashTableIter {   1150 struct _GHashTableIter {
1151    gpointer dummy1 ;   1151    gpointer dummy1 ;
1152    gpointer dummy2 ;   1152    gpointer dummy2 ;
1153    gpointer dummy3 ;   1153    gpointer dummy3 ;
1154    int dummy4 ;   1154    int dummy4 ;
1155    gboolean dummy5 ;   1155    gboolean dummy5 ;
1156    gpointer dummy6 ;   1156    gpointer dummy6 ;
1157 };   1157 };
1158 struct _GHook;   1158 struct _GHook;
1159 typedef struct _GHook GHook;   1159 typedef struct _GHook GHook;
1160 struct _GHookList;   1160 struct _GHookList;
1161 typedef struct _GHookList GHookList;   1161 typedef struct _GHookList GHookList;
1162 typedef gint (*GHookCompareFunc)(GHook *new_hook , GHook *sibling );   1162 typedef gint (*GHookCompareFunc)(GHook *new_hook , GHook *sibling );
1163 typedef gboolean (*GHookFindFunc)(GHook *hook , gpointer data );   1163 typedef gboolean (*GHookFindFunc)(GHook *hook , gpointer data );
1164 typedef void (*GHookMarshaller)(GHook *hook , gpointer marshal_data );   1164 typedef void (*GHookMarshaller)(GHook *hook , gpointer marshal_data );
1165 typedef gboolean (*GHookCheckMarshaller)(GHook *hook , gpointer marshal_data );   1165 typedef gboolean (*GHookCheckMarshaller)(GHook *hook , gpointer marshal_data );
1166 typedef void (*GHookFunc)(gpointer data );   1166 typedef void (*GHookFunc)(gpointer data );
1167 typedef gboolean (*GHookCheckFunc)(gpointer data );   1167 typedef gboolean (*GHookCheckFunc)(gpointer data );
1168 typedef void (*GHookFinalizeFunc)(GHookList *hook_list , GHook *hook );   1168 typedef void (*GHookFinalizeFunc)(GHookList *hook_list , GHook *hook );
1169 enum __anonenum_GHookFlagMask_67 {   1169 enum __anonenum_GHookFlagMask_67 {
1170     G_HOOK_FLAG_ACTIVE = 1,   1170     G_HOOK_FLAG_ACTIVE = 1,
1171     G_HOOK_FLAG_IN_CALL = 2,   1171     G_HOOK_FLAG_IN_CALL = 2,
1172     G_HOOK_FLAG_MASK = 15   1172     G_HOOK_FLAG_MASK = 15
1173 } ;   1173 } ;
1174 typedef enum __anonenum_GHookFlagMask_67 GHookFlagMask;   1174 typedef enum __anonenum_GHookFlagMask_67 GHookFlagMask;
1175 struct _GHookList {   1175 struct _GHookList {
1176    gulong seq_id ;   1176    gulong seq_id ;
1177    guint hook_size : 16 ;   1177    guint hook_size : 16 ;
1178    guint is_setup : 1 ;   1178    guint is_setup : 1 ;
1179    GHook *hooks ;   1179    GHook *hooks ;
1180    gpointer dummy3 ;   1180    gpointer dummy3 ;
1181    void (*finalize_hook)(GHookList *hook_list , GHook *hook ) ;   1181    void (*finalize_hook)(GHookList *hook_list , GHook *hook ) ;
1182    gpointer dummy[2] ;   1182    gpointer dummy[2] ;
1183 };   1183 };
1184 struct _GHook {   1184 struct _GHook {
1185    gpointer data ;   1185    gpointer data ;
1186    GHook *next ;   1186    GHook *next ;
1187    GHook *prev ;   1187    GHook *prev ;
1188    guint ref_count ;   1188    guint ref_count ;
1189    gulong hook_id ;   1189    gulong hook_id ;
1190    guint flags ;   1190    guint flags ;
1191    gpointer func ;   1191    gpointer func ;
1192    void (*destroy)(gpointer data ) ;   1192    void (*destroy)(gpointer data ) ;
1193 };   1193 };
1194 struct _GPollFD;   1194 struct _GPollFD;
1195 typedef struct _GPollFD GPollFD;   1195 typedef struct _GPollFD GPollFD;
1196 typedef gint (*GPollFunc)(GPollFD *ufds , guint nfsd , gint timeout_ );   1196 typedef gint (*GPollFunc)(GPollFD *ufds , guint nfsd , gint timeout_ );
1197 struct _GPollFD {   1197 struct _GPollFD {
1198    gint fd ;   1198    gint fd ;
1199    gushort events ;   1199    gushort events ;
1200    gushort revents ;   1200    gushort revents ;
1201 };   1201 };
1202 struct _GSList;   1202 struct _GSList;
1203 typedef struct _GSList GSList;   1203 typedef struct _GSList GSList;
1204 struct _GSList {   1204 struct _GSList {
1205    gpointer data ;   1205    gpointer data ;
1206    GSList *next ;   1206    GSList *next ;
1207 };   1207 };
1208 struct _GMainContext;   1208 struct _GMainContext;
1209 typedef struct _GMainContext GMainContext;   1209 typedef struct _GMainContext GMainContext;
1210 struct _GMainLoop;   1210 struct _GMainLoop;
1211 typedef struct _GMainLoop GMainLoop;   1211 typedef struct _GMainLoop GMainLoop;
1212 struct _GSource;   1212 struct _GSource;
1213 typedef struct _GSource GSource;   1213 typedef struct _GSource GSource;
1214 struct _GSourceCallbackFuncs;   1214 struct _GSourceCallbackFuncs;
1215 typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;   1215 typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
1216 struct _GSourceFuncs;   1216 struct _GSourceFuncs;
1217 typedef struct _GSourceFuncs GSourceFuncs;   1217 typedef struct _GSourceFuncs GSourceFuncs;
1218 typedef gboolean (*GSourceFunc)(gpointer data );   1218 typedef gboolean (*GSourceFunc)(gpointer data );
1219 typedef void (*GChildWatchFunc)(GPid pid , gint status , gpointer data );   1219 typedef void (*GChildWatchFunc)(GPid pid , gint status , gpointer data );
1220 struct _GSource {   1220 struct _GSource {
1221    gpointer callback_data ;   1221    gpointer callback_data ;
1222    GSourceCallbackFuncs *callback_funcs ;   1222    GSourceCallbackFuncs *callback_funcs ;
1223    GSourceFuncs *source_funcs ;   1223    GSourceFuncs *source_funcs ;
1224    guint ref_count ;   1224    guint ref_count ;
1225    GMainContext *context ;   1225    GMainContext *context ;
1226    gint priority ;   1226    gint priority ;
1227    guint flags ;   1227    guint flags ;
1228    guint source_id ;   1228    guint source_id ;
1229    GSList *poll_fds ;   1229    GSList *poll_fds ;
1230    GSource *prev ;   1230    GSource *prev ;
1231    GSource *next ;   1231    GSource *next ;
1232    gpointer reserved1 ;   1232    gpointer reserved1 ;
1233    gpointer reserved2 ;   1233    gpointer reserved2 ;
1234 };   1234 };
1235 struct _GSourceCallbackFuncs {   1235 struct _GSourceCallbackFuncs {
1236    void (*ref)(gpointer cb_data ) ;   1236    void (*ref)(gpointer cb_data ) ;
1237    void (*unref)(gpointer cb_data ) ;   1237    void (*unref)(gpointer cb_data ) ;
1238    void (*get)(gpointer cb_data , GSource *source , GSourceFunc *func ,   1238    void (*get)(gpointer cb_data , GSource *source , GSourceFunc *func ,
1239                gpointer *data ) ;   1239                gpointer *data ) ;
1240 };   1240 };
1241 typedef void (*GSourceDummyMarshal)(void);   1241 typedef void (*GSourceDummyMarshal)(void);
1242 struct _GSourceFuncs {   1242 struct _GSourceFuncs {
1243    gboolean (*prepare)(GSource *source , gint *timeout_ ) ;   1243    gboolean (*prepare)(GSource *source , gint *timeout_ ) ;
1244    gboolean (*check)(GSource *source ) ;   1244    gboolean (*check)(GSource *source ) ;
1245    gboolean (*dispatch)(GSource *source , gboolean (*callback)(gpointer data ) ,   1245    gboolean (*dispatch)(GSource *source , gboolean (*callback)(gpointer data ) ,
1246                         gpointer user_data ) ;   1246                         gpointer user_data ) ;
1247    void (*finalize)(GSource *source ) ;   1247    void (*finalize)(GSource *source ) ;
1248    gboolean (*closure_callback)(gpointer data ) ;   1248    gboolean (*closure_callback)(gpointer data ) ;
1249    void (*closure_marshal)(void) ;   1249    void (*closure_marshal)(void) ;
1250 };   1250 };
1251 typedef guint32 gunichar;   1251 typedef guint32 gunichar;
1252 typedef guint16 gunichar2;   1252 typedef guint16 gunichar2;
1253 enum __anonenum_GUnicodeType_68 {   1253 enum __anonenum_GUnicodeType_68 {
1254     G_UNICODE_CONTROL = 0,   1254     G_UNICODE_CONTROL = 0,
1255     G_UNICODE_FORMAT = 1,   1255     G_UNICODE_FORMAT = 1,
1256     G_UNICODE_UNASSIGNED = 2,   1256     G_UNICODE_UNASSIGNED = 2,
1257     G_UNICODE_PRIVATE_USE = 3,   1257     G_UNICODE_PRIVATE_USE = 3,
1258     G_UNICODE_SURROGATE = 4,   1258     G_UNICODE_SURROGATE = 4,
1259     G_UNICODE_LOWERCASE_LETTER = 5,   1259     G_UNICODE_LOWERCASE_LETTER = 5,
1260     G_UNICODE_MODIFIER_LETTER = 6,   1260     G_UNICODE_MODIFIER_LETTER = 6,
1261     G_UNICODE_OTHER_LETTER = 7,   1261     G_UNICODE_OTHER_LETTER = 7,
1262     G_UNICODE_TITLECASE_LETTER = 8,   1262     G_UNICODE_TITLECASE_LETTER = 8,
1263     G_UNICODE_UPPERCASE_LETTER = 9,   1263     G_UNICODE_UPPERCASE_LETTER = 9,
1264     G_UNICODE_COMBINING_MARK = 10,   1264     G_UNICODE_COMBINING_MARK = 10,
1265     G_UNICODE_ENCLOSING_MARK = 11,   1265     G_UNICODE_ENCLOSING_MARK = 11,
1266     G_UNICODE_NON_SPACING_MARK = 12,   1266     G_UNICODE_NON_SPACING_MARK = 12,
1267     G_UNICODE_DECIMAL_NUMBER = 13,   1267     G_UNICODE_DECIMAL_NUMBER = 13,
1268     G_UNICODE_LETTER_NUMBER = 14,   1268     G_UNICODE_LETTER_NUMBER = 14,
1269     G_UNICODE_OTHER_NUMBER = 15,   1269     G_UNICODE_OTHER_NUMBER = 15,
1270     G_UNICODE_CONNECT_PUNCTUATION = 16,   1270     G_UNICODE_CONNECT_PUNCTUATION = 16,
1271     G_UNICODE_DASH_PUNCTUATION = 17,   1271     G_UNICODE_DASH_PUNCTUATION = 17,
1272     G_UNICODE_CLOSE_PUNCTUATION = 18,   1272     G_UNICODE_CLOSE_PUNCTUATION = 18,
1273     G_UNICODE_FINAL_PUNCTUATION = 19,   1273     G_UNICODE_FINAL_PUNCTUATION = 19,
1274     G_UNICODE_INITIAL_PUNCTUATION = 20,   1274     G_UNICODE_INITIAL_PUNCTUATION = 20,
1275     G_UNICODE_OTHER_PUNCTUATION = 21,   1275     G_UNICODE_OTHER_PUNCTUATION = 21,
1276     G_UNICODE_OPEN_PUNCTUATION = 22,   1276     G_UNICODE_OPEN_PUNCTUATION = 22,
1277     G_UNICODE_CURRENCY_SYMBOL = 23,   1277     G_UNICODE_CURRENCY_SYMBOL = 23,
1278     G_UNICODE_MODIFIER_SYMBOL = 24,   1278     G_UNICODE_MODIFIER_SYMBOL = 24,
1279     G_UNICODE_MATH_SYMBOL = 25,   1279     G_UNICODE_MATH_SYMBOL = 25,
1280     G_UNICODE_OTHER_SYMBOL = 26,   1280     G_UNICODE_OTHER_SYMBOL = 26,
1281     G_UNICODE_LINE_SEPARATOR = 27,   1281     G_UNICODE_LINE_SEPARATOR = 27,
1282     G_UNICODE_PARAGRAPH_SEPARATOR = 28,   1282     G_UNICODE_PARAGRAPH_SEPARATOR = 28,
1283     G_UNICODE_SPACE_SEPARATOR = 29   1283     G_UNICODE_SPACE_SEPARATOR = 29
1284 } ;   1284 } ;
1285 typedef enum __anonenum_GUnicodeType_68 GUnicodeType;   1285 typedef enum __anonenum_GUnicodeType_68 GUnicodeType;
1286 enum __anonenum_GUnicodeBreakType_69 {   1286 enum __anonenum_GUnicodeBreakType_69 {
1287     G_UNICODE_BREAK_MANDATORY = 0,   1287     G_UNICODE_BREAK_MANDATORY = 0,
1288     G_UNICODE_BREAK_CARRIAGE_RETURN = 1,   1288     G_UNICODE_BREAK_CARRIAGE_RETURN = 1,
1289     G_UNICODE_BREAK_LINE_FEED = 2,   1289     G_UNICODE_BREAK_LINE_FEED = 2,
1290     G_UNICODE_BREAK_COMBINING_MARK = 3,   1290     G_UNICODE_BREAK_COMBINING_MARK = 3,
1291     G_UNICODE_BREAK_SURROGATE = 4,   1291     G_UNICODE_BREAK_SURROGATE = 4,
1292     G_UNICODE_BREAK_ZERO_WIDTH_SPACE = 5,   1292     G_UNICODE_BREAK_ZERO_WIDTH_SPACE = 5,
1293     G_UNICODE_BREAK_INSEPARABLE = 6,   1293     G_UNICODE_BREAK_INSEPARABLE = 6,
1294     G_UNICODE_BREAK_NON_BREAKING_GLUE = 7,   1294     G_UNICODE_BREAK_NON_BREAKING_GLUE = 7,
1295     G_UNICODE_BREAK_CONTINGENT = 8,   1295     G_UNICODE_BREAK_CONTINGENT = 8,
1296     G_UNICODE_BREAK_SPACE = 9,   1296     G_UNICODE_BREAK_SPACE = 9,
1297     G_UNICODE_BREAK_AFTER = 10,   1297     G_UNICODE_BREAK_AFTER = 10,
1298     G_UNICODE_BREAK_BEFORE = 11,   1298     G_UNICODE_BREAK_BEFORE = 11,
1299     G_UNICODE_BREAK_BEFORE_AND_AFTER = 12,   1299     G_UNICODE_BREAK_BEFORE_AND_AFTER = 12,
1300     G_UNICODE_BREAK_HYPHEN = 13,   1300     G_UNICODE_BREAK_HYPHEN = 13,
1301     G_UNICODE_BREAK_NON_STARTER = 14,   1301     G_UNICODE_BREAK_NON_STARTER = 14,
1302     G_UNICODE_BREAK_OPEN_PUNCTUATION = 15,   1302     G_UNICODE_BREAK_OPEN_PUNCTUATION = 15,
1303     G_UNICODE_BREAK_CLOSE_PUNCTUATION = 16,   1303     G_UNICODE_BREAK_CLOSE_PUNCTUATION = 16,
1304     G_UNICODE_BREAK_QUOTATION = 17,   1304     G_UNICODE_BREAK_QUOTATION = 17,
1305     G_UNICODE_BREAK_EXCLAMATION = 18,   1305     G_UNICODE_BREAK_EXCLAMATION = 18,
1306     G_UNICODE_BREAK_IDEOGRAPHIC = 19,   1306     G_UNICODE_BREAK_IDEOGRAPHIC = 19,
1307     G_UNICODE_BREAK_NUMERIC = 20,   1307     G_UNICODE_BREAK_NUMERIC = 20,
1308     G_UNICODE_BREAK_INFIX_SEPARATOR = 21,   1308     G_UNICODE_BREAK_INFIX_SEPARATOR = 21,
1309     G_UNICODE_BREAK_SYMBOL = 22,   1309     G_UNICODE_BREAK_SYMBOL = 22,
1310     G_UNICODE_BREAK_ALPHABETIC = 23,   1310     G_UNICODE_BREAK_ALPHABETIC = 23,
1311     G_UNICODE_BREAK_PREFIX = 24,   1311     G_UNICODE_BREAK_PREFIX = 24,
1312     G_UNICODE_BREAK_POSTFIX = 25,   1312     G_UNICODE_BREAK_POSTFIX = 25,
1313     G_UNICODE_BREAK_COMPLEX_CONTEXT = 26,   1313     G_UNICODE_BREAK_COMPLEX_CONTEXT = 26,
1314     G_UNICODE_BREAK_AMBIGUOUS = 27,   1314     G_UNICODE_BREAK_AMBIGUOUS = 27,
1315     G_UNICODE_BREAK_UNKNOWN = 28,   1315     G_UNICODE_BREAK_UNKNOWN = 28,
1316     G_UNICODE_BREAK_NEXT_LINE = 29,   1316     G_UNICODE_BREAK_NEXT_LINE = 29,
1317     G_UNICODE_BREAK_WORD_JOINER = 30,   1317     G_UNICODE_BREAK_WORD_JOINER = 30,
1318     G_UNICODE_BREAK_HANGUL_L_JAMO = 31,   1318     G_UNICODE_BREAK_HANGUL_L_JAMO = 31,
1319     G_UNICODE_BREAK_HANGUL_V_JAMO = 32,   1319     G_UNICODE_BREAK_HANGUL_V_JAMO = 32,
1320     G_UNICODE_BREAK_HANGUL_T_JAMO = 33,   1320     G_UNICODE_BREAK_HANGUL_T_JAMO = 33,
1321     G_UNICODE_BREAK_HANGUL_LV_SYLLABLE = 34,   1321     G_UNICODE_BREAK_HANGUL_LV_SYLLABLE = 34,
1322     G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE = 35   1322     G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE = 35
1323 } ;   1323 } ;
1324 typedef enum __anonenum_GUnicodeBreakType_69 GUnicodeBreakType;   1324 typedef enum __anonenum_GUnicodeBreakType_69 GUnicodeBreakType;
1325 enum __anonenum_GUnicodeScript_70 {   1325 enum __anonenum_GUnicodeScript_70 {
1326     G_UNICODE_SCRIPT_INVALID_CODE = -1,   1326     G_UNICODE_SCRIPT_INVALID_CODE = -1,
1327     G_UNICODE_SCRIPT_COMMON = 0,   1327     G_UNICODE_SCRIPT_COMMON = 0,
1328     G_UNICODE_SCRIPT_INHERITED = 1,   1328     G_UNICODE_SCRIPT_INHERITED = 1,
1329     G_UNICODE_SCRIPT_ARABIC = 2,   1329     G_UNICODE_SCRIPT_ARABIC = 2,
1330     G_UNICODE_SCRIPT_ARMENIAN = 3,   1330     G_UNICODE_SCRIPT_ARMENIAN = 3,
1331     G_UNICODE_SCRIPT_BENGALI = 4,   1331     G_UNICODE_SCRIPT_BENGALI = 4,
1332     G_UNICODE_SCRIPT_BOPOMOFO = 5,   1332     G_UNICODE_SCRIPT_BOPOMOFO = 5,
1333     G_UNICODE_SCRIPT_CHEROKEE = 6,   1333     G_UNICODE_SCRIPT_CHEROKEE = 6,
1334     G_UNICODE_SCRIPT_COPTIC = 7,   1334     G_UNICODE_SCRIPT_COPTIC = 7,
1335     G_UNICODE_SCRIPT_CYRILLIC = 8,   1335     G_UNICODE_SCRIPT_CYRILLIC = 8,
1336     G_UNICODE_SCRIPT_DESERET = 9,   1336     G_UNICODE_SCRIPT_DESERET = 9,
1337     G_UNICODE_SCRIPT_DEVANAGARI = 10,   1337     G_UNICODE_SCRIPT_DEVANAGARI = 10,
1338     G_UNICODE_SCRIPT_ETHIOPIC = 11,   1338     G_UNICODE_SCRIPT_ETHIOPIC = 11,
1339     G_UNICODE_SCRIPT_GEORGIAN = 12,   1339     G_UNICODE_SCRIPT_GEORGIAN = 12,
1340     G_UNICODE_SCRIPT_GOTHIC = 13,   1340     G_UNICODE_SCRIPT_GOTHIC = 13,
1341     G_UNICODE_SCRIPT_GREEK = 14,   1341     G_UNICODE_SCRIPT_GREEK = 14,
1342     G_UNICODE_SCRIPT_GUJARATI = 15,   1342     G_UNICODE_SCRIPT_GUJARATI = 15,
1343     G_UNICODE_SCRIPT_GURMUKHI = 16,   1343     G_UNICODE_SCRIPT_GURMUKHI = 16,
1344     G_UNICODE_SCRIPT_HAN = 17,   1344     G_UNICODE_SCRIPT_HAN = 17,
1345     G_UNICODE_SCRIPT_HANGUL = 18,   1345     G_UNICODE_SCRIPT_HANGUL = 18,
1346     G_UNICODE_SCRIPT_HEBREW = 19,   1346     G_UNICODE_SCRIPT_HEBREW = 19,
1347     G_UNICODE_SCRIPT_HIRAGANA = 20,   1347     G_UNICODE_SCRIPT_HIRAGANA = 20,
1348     G_UNICODE_SCRIPT_KANNADA = 21,   1348     G_UNICODE_SCRIPT_KANNADA = 21,
1349     G_UNICODE_SCRIPT_KATAKANA = 22,   1349     G_UNICODE_SCRIPT_KATAKANA = 22,
1350     G_UNICODE_SCRIPT_KHMER = 23,   1350     G_UNICODE_SCRIPT_KHMER = 23,
1351     G_UNICODE_SCRIPT_LAO = 24,   1351     G_UNICODE_SCRIPT_LAO = 24,
1352     G_UNICODE_SCRIPT_LATIN = 25,   1352     G_UNICODE_SCRIPT_LATIN = 25,
1353     G_UNICODE_SCRIPT_MALAYALAM = 26,   1353     G_UNICODE_SCRIPT_MALAYALAM = 26,
1354     G_UNICODE_SCRIPT_MONGOLIAN = 27,   1354     G_UNICODE_SCRIPT_MONGOLIAN = 27,
1355     G_UNICODE_SCRIPT_MYANMAR = 28,   1355     G_UNICODE_SCRIPT_MYANMAR = 28,
1356     G_UNICODE_SCRIPT_OGHAM = 29,   1356     G_UNICODE_SCRIPT_OGHAM = 29,
1357     G_UNICODE_SCRIPT_OLD_ITALIC = 30,   1357     G_UNICODE_SCRIPT_OLD_ITALIC = 30,
1358     G_UNICODE_SCRIPT_ORIYA = 31,   1358     G_UNICODE_SCRIPT_ORIYA = 31,
1359     G_UNICODE_SCRIPT_RUNIC = 32,   1359     G_UNICODE_SCRIPT_RUNIC = 32,
1360     G_UNICODE_SCRIPT_SINHALA = 33,   1360     G_UNICODE_SCRIPT_SINHALA = 33,
1361     G_UNICODE_SCRIPT_SYRIAC = 34,   1361     G_UNICODE_SCRIPT_SYRIAC = 34,
1362     G_UNICODE_SCRIPT_TAMIL = 35,   1362     G_UNICODE_SCRIPT_TAMIL = 35,
1363     G_UNICODE_SCRIPT_TELUGU = 36,   1363     G_UNICODE_SCRIPT_TELUGU = 36,
1364     G_UNICODE_SCRIPT_THAANA = 37,   1364     G_UNICODE_SCRIPT_THAANA = 37,
1365     G_UNICODE_SCRIPT_THAI = 38,   1365     G_UNICODE_SCRIPT_THAI = 38,
1366     G_UNICODE_SCRIPT_TIBETAN = 39,   1366     G_UNICODE_SCRIPT_TIBETAN = 39,
1367     G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL = 40,   1367     G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL = 40,
1368     G_UNICODE_SCRIPT_YI = 41,   1368     G_UNICODE_SCRIPT_YI = 41,
1369     G_UNICODE_SCRIPT_TAGALOG = 42,   1369     G_UNICODE_SCRIPT_TAGALOG = 42,
1370     G_UNICODE_SCRIPT_HANUNOO = 43,   1370     G_UNICODE_SCRIPT_HANUNOO = 43,
1371     G_UNICODE_SCRIPT_BUHID = 44,   1371     G_UNICODE_SCRIPT_BUHID = 44,
1372     G_UNICODE_SCRIPT_TAGBANWA = 45,   1372     G_UNICODE_SCRIPT_TAGBANWA = 45,
1373     G_UNICODE_SCRIPT_BRAILLE = 46,   1373     G_UNICODE_SCRIPT_BRAILLE = 46,
1374     G_UNICODE_SCRIPT_CYPRIOT = 47,   1374     G_UNICODE_SCRIPT_CYPRIOT = 47,
1375     G_UNICODE_SCRIPT_LIMBU = 48,   1375     G_UNICODE_SCRIPT_LIMBU = 48,
1376     G_UNICODE_SCRIPT_OSMANYA = 49,   1376     G_UNICODE_SCRIPT_OSMANYA = 49,
1377     G_UNICODE_SCRIPT_SHAVIAN = 50,   1377     G_UNICODE_SCRIPT_SHAVIAN = 50,
1378     G_UNICODE_SCRIPT_LINEAR_B = 51,   1378     G_UNICODE_SCRIPT_LINEAR_B = 51,
1379     G_UNICODE_SCRIPT_TAI_LE = 52,   1379     G_UNICODE_SCRIPT_TAI_LE = 52,
1380     G_UNICODE_SCRIPT_UGARITIC = 53,   1380     G_UNICODE_SCRIPT_UGARITIC = 53,
1381     G_UNICODE_SCRIPT_NEW_TAI_LUE = 54,   1381     G_UNICODE_SCRIPT_NEW_TAI_LUE = 54,
1382     G_UNICODE_SCRIPT_BUGINESE = 55,   1382     G_UNICODE_SCRIPT_BUGINESE = 55,
1383     G_UNICODE_SCRIPT_GLAGOLITIC = 56,   1383     G_UNICODE_SCRIPT_GLAGOLITIC = 56,
1384     G_UNICODE_SCRIPT_TIFINAGH = 57,   1384     G_UNICODE_SCRIPT_TIFINAGH = 57,
1385     G_UNICODE_SCRIPT_SYLOTI_NAGRI = 58,   1385     G_UNICODE_SCRIPT_SYLOTI_NAGRI = 58,
1386     G_UNICODE_SCRIPT_OLD_PERSIAN = 59,   1386     G_UNICODE_SCRIPT_OLD_PERSIAN = 59,
1387     G_UNICODE_SCRIPT_KHAROSHTHI = 60,   1387     G_UNICODE_SCRIPT_KHAROSHTHI = 60,
1388     G_UNICODE_SCRIPT_UNKNOWN = 61,   1388     G_UNICODE_SCRIPT_UNKNOWN = 61,
1389     G_UNICODE_SCRIPT_BALINESE = 62,   1389     G_UNICODE_SCRIPT_BALINESE = 62,
1390     G_UNICODE_SCRIPT_CUNEIFORM = 63,   1390     G_UNICODE_SCRIPT_CUNEIFORM = 63,
1391     G_UNICODE_SCRIPT_PHOENICIAN = 64,   1391     G_UNICODE_SCRIPT_PHOENICIAN = 64,
1392     G_UNICODE_SCRIPT_PHAGS_PA = 65,   1392     G_UNICODE_SCRIPT_PHAGS_PA = 65,
1393     G_UNICODE_SCRIPT_NKO = 66,   1393     G_UNICODE_SCRIPT_NKO = 66,
1394     G_UNICODE_SCRIPT_KAYAH_LI = 67,   1394     G_UNICODE_SCRIPT_KAYAH_LI = 67,
1395     G_UNICODE_SCRIPT_LEPCHA = 68,   1395     G_UNICODE_SCRIPT_LEPCHA = 68,
1396     G_UNICODE_SCRIPT_REJANG = 69,   1396     G_UNICODE_SCRIPT_REJANG = 69,
1397     G_UNICODE_SCRIPT_SUNDANESE = 70,   1397     G_UNICODE_SCRIPT_SUNDANESE = 70,
1398     G_UNICODE_SCRIPT_SAURASHTRA = 71,   1398     G_UNICODE_SCRIPT_SAURASHTRA = 71,
1399     G_UNICODE_SCRIPT_CHAM = 72,   1399     G_UNICODE_SCRIPT_CHAM = 72,
1400     G_UNICODE_SCRIPT_OL_CHIKI = 73,   1400     G_UNICODE_SCRIPT_OL_CHIKI = 73,
1401     G_UNICODE_SCRIPT_VAI = 74,   1401     G_UNICODE_SCRIPT_VAI = 74,
1402     G_UNICODE_SCRIPT_CARIAN = 75,   1402     G_UNICODE_SCRIPT_CARIAN = 75,
1403     G_UNICODE_SCRIPT_LYCIAN = 76,   1403     G_UNICODE_SCRIPT_LYCIAN = 76,
1404     G_UNICODE_SCRIPT_LYDIAN = 77   1404     G_UNICODE_SCRIPT_LYDIAN = 77
1405 } ;   1405 } ;
1406 typedef enum __anonenum_GUnicodeScript_70 GUnicodeScript;   1406 typedef enum __anonenum_GUnicodeScript_70 GUnicodeScript;
1407 enum __anonenum_GNormalizeMode_71 {   1407 enum __anonenum_GNormalizeMode_71 {
1408     G_NORMALIZE_DEFAULT = 0,   1408     G_NORMALIZE_DEFAULT = 0,
1409     G_NORMALIZE_NFD = 0,   1409     G_NORMALIZE_NFD = 0,
1410     G_NORMALIZE_DEFAULT_COMPOSE = 1,   1410     G_NORMALIZE_DEFAULT_COMPOSE = 1,
1411     G_NORMALIZE_NFC = 1,   1411     G_NORMALIZE_NFC = 1,
1412     G_NORMALIZE_ALL = 2,   1412     G_NORMALIZE_ALL = 2,
1413     G_NORMALIZE_NFKD = 2,   1413     G_NORMALIZE_NFKD = 2,
1414     G_NORMALIZE_ALL_COMPOSE = 3,   1414     G_NORMALIZE_ALL_COMPOSE = 3,
1415     G_NORMALIZE_NFKC = 3   1415     G_NORMALIZE_NFKC = 3
1416 } ;   1416 } ;
1417 typedef enum __anonenum_GNormalizeMode_71 GNormalizeMode;   1417 typedef enum __anonenum_GNormalizeMode_71 GNormalizeMode;
1418 struct _GString;   1418 struct _GString;
1419 typedef struct _GString GString;   1419 typedef struct _GString GString;
1420 struct _GStringChunk;   1420 struct _GStringChunk;
1421 typedef struct _GStringChunk GStringChunk;   1421 typedef struct _GStringChunk GStringChunk;
1422 struct _GString {   1422 struct _GString {
1423    gchar *str ;   1423    gchar *str ;
1424    gsize len ;   1424    gsize len ;
1425    gsize allocated_len ;   1425    gsize allocated_len ;
1426 };   1426 };
1427 struct _GIOChannel;   1427 struct _GIOChannel;
1428 typedef struct _GIOChannel GIOChannel;   1428 typedef struct _GIOChannel GIOChannel;
1429 struct _GIOFuncs;   1429 struct _GIOFuncs;
1430 typedef struct _GIOFuncs GIOFuncs;   1430 typedef struct _GIOFuncs GIOFuncs;
1431 enum __anonenum_GIOError_72 {   1431 enum __anonenum_GIOError_72 {
1432     G_IO_ERROR_NONE = 0,   1432     G_IO_ERROR_NONE = 0,
1433     G_IO_ERROR_AGAIN = 1,   1433     G_IO_ERROR_AGAIN = 1,
1434     G_IO_ERROR_INVAL = 2,   1434     G_IO_ERROR_INVAL = 2,
1435     G_IO_ERROR_UNKNOWN = 3   1435     G_IO_ERROR_UNKNOWN = 3
1436 } ;   1436 } ;
1437 typedef enum __anonenum_GIOError_72 GIOError;   1437 typedef enum __anonenum_GIOError_72 GIOError;
1438 enum __anonenum_GIOChannelError_73 {   1438 enum __anonenum_GIOChannelError_73 {
1439     G_IO_CHANNEL_ERROR_FBIG = 0,   1439     G_IO_CHANNEL_ERROR_FBIG = 0,
1440     G_IO_CHANNEL_ERROR_INVAL = 1,   1440     G_IO_CHANNEL_ERROR_INVAL = 1,
1441     G_IO_CHANNEL_ERROR_IO = 2,   1441     G_IO_CHANNEL_ERROR_IO = 2,
1442     G_IO_CHANNEL_ERROR_ISDIR = 3,   1442     G_IO_CHANNEL_ERROR_ISDIR = 3,
1443     G_IO_CHANNEL_ERROR_NOSPC = 4,   1443     G_IO_CHANNEL_ERROR_NOSPC = 4,
1444     G_IO_CHANNEL_ERROR_NXIO = 5,   1444     G_IO_CHANNEL_ERROR_NXIO = 5,
1445     G_IO_CHANNEL_ERROR_OVERFLOW = 6,   1445     G_IO_CHANNEL_ERROR_OVERFLOW = 6,
1446     G_IO_CHANNEL_ERROR_PIPE = 7,   1446     G_IO_CHANNEL_ERROR_PIPE = 7,
1447     G_IO_CHANNEL_ERROR_FAILED = 8   1447     G_IO_CHANNEL_ERROR_FAILED = 8
1448 } ;   1448 } ;
1449 typedef enum __anonenum_GIOChannelError_73 GIOChannelError;   1449 typedef enum __anonenum_GIOChannelError_73 GIOChannelError;
1450 enum __anonenum_GIOStatus_74 {   1450 enum __anonenum_GIOStatus_74 {
1451     G_IO_STATUS_ERROR = 0,   1451     G_IO_STATUS_ERROR = 0,
1452     G_IO_STATUS_NORMAL = 1,   1452     G_IO_STATUS_NORMAL = 1,
1453     G_IO_STATUS_EOF = 2,   1453     G_IO_STATUS_EOF = 2,
1454     G_IO_STATUS_AGAIN = 3   1454     G_IO_STATUS_AGAIN = 3
1455 } ;   1455 } ;
1456 typedef enum __anonenum_GIOStatus_74 GIOStatus;   1456 typedef enum __anonenum_GIOStatus_74 GIOStatus;
1457 enum __anonenum_GSeekType_75 {   1457 enum __anonenum_GSeekType_75 {
1458     G_SEEK_CUR = 0,   1458     G_SEEK_CUR = 0,
1459     G_SEEK_SET = 1,   1459     G_SEEK_SET = 1,
1460     G_SEEK_END = 2   1460     G_SEEK_END = 2
1461 } ;   1461 } ;
1462 typedef enum __anonenum_GSeekType_75 GSeekType;   1462 typedef enum __anonenum_GSeekType_75 GSeekType;
1463 enum __anonenum_GIOCondition_76 {   1463 enum __anonenum_GIOCondition_76 {
1464     G_IO_IN = 1,   1464     G_IO_IN = 1,
1465     G_IO_OUT = 4,   1465     G_IO_OUT = 4,
1466     G_IO_PRI = 2,   1466     G_IO_PRI = 2,
1467     G_IO_ERR = 8,   1467     G_IO_ERR = 8,
1468     G_IO_HUP = 16,   1468     G_IO_HUP = 16,
1469     G_IO_NVAL = 32   1469     G_IO_NVAL = 32
1470 } ;   1470 } ;
1471 typedef enum __anonenum_GIOCondition_76 GIOCondition;   1471 typedef enum __anonenum_GIOCondition_76 GIOCondition;
1472 enum __anonenum_GIOFlags_77 {   1472 enum __anonenum_GIOFlags_77 {
1473     G_IO_FLAG_APPEND = 1,   1473     G_IO_FLAG_APPEND = 1,
1474     G_IO_FLAG_NONBLOCK = 2,   1474     G_IO_FLAG_NONBLOCK = 2,
1475     G_IO_FLAG_IS_READABLE = 4,   1475     G_IO_FLAG_IS_READABLE = 4,
1476     G_IO_FLAG_IS_WRITEABLE = 8,   1476     G_IO_FLAG_IS_WRITEABLE = 8,
1477     G_IO_FLAG_IS_SEEKABLE = 16,   1477     G_IO_FLAG_IS_SEEKABLE = 16,
1478     G_IO_FLAG_MASK = 31,   1478     G_IO_FLAG_MASK = 31,
1479     G_IO_FLAG_GET_MASK = 31,   1479     G_IO_FLAG_GET_MASK = 31,
1480     G_IO_FLAG_SET_MASK = 3   1480     G_IO_FLAG_SET_MASK = 3
1481 } ;   1481 } ;
1482 typedef enum __anonenum_GIOFlags_77 GIOFlags;   1482 typedef enum __anonenum_GIOFlags_77 GIOFlags;
1483 struct _GIOChannel {   1483 struct _GIOChannel {
1484    gint ref_count ;   1484    gint ref_count ;
1485    GIOFuncs *funcs ;   1485    GIOFuncs *funcs ;
1486    gchar *encoding ;   1486    gchar *encoding ;
1487    GIConv read_cd ;   1487    GIConv read_cd ;
1488    GIConv write_cd ;   1488    GIConv write_cd ;
1489    gchar *line_term ;   1489    gchar *line_term ;
1490    guint line_term_len ;   1490    guint line_term_len ;
1491    gsize buf_size ;   1491    gsize buf_size ;
1492    GString *read_buf ;   1492    GString *read_buf ;
1493    GString *encoded_read_buf ;   1493    GString *encoded_read_buf ;
1494    GString *write_buf ;   1494    GString *write_buf ;
1495    gchar partial_write_buf[6] ;   1495    gchar partial_write_buf[6] ;
1496    guint use_buffer : 1 ;   1496    guint use_buffer : 1 ;
1497    guint do_encode : 1 ;   1497    guint do_encode : 1 ;
1498    guint close_on_unref : 1 ;   1498    guint close_on_unref : 1 ;
1499    guint is_readable : 1 ;   1499    guint is_readable : 1 ;
1500    guint is_writeable : 1 ;   1500    guint is_writeable : 1 ;
1501    guint is_seekable : 1 ;   1501    guint is_seekable : 1 ;
1502    gpointer reserved1 ;   1502    gpointer reserved1 ;
1503    gpointer reserved2 ;   1503    gpointer reserved2 ;
1504 };   1504 };
1505 typedef gboolean (*GIOFunc)(GIOChannel *source , GIOCondition condition ,   1505 typedef gboolean (*GIOFunc)(GIOChannel *source , GIOCondition condition ,
1506                             gpointer data );   1506                             gpointer data );
1507 struct _GIOFuncs {   1507 struct _GIOFuncs {
1508    GIOStatus (*io_read)(GIOChannel *channel , gchar *buf , gsize count ,   1508    GIOStatus (*io_read)(GIOChannel *channel , gchar *buf , gsize count ,
1509                         gsize *bytes_read , GError **err ) ;   1509                         gsize *bytes_read , GError **err ) ;
1510    GIOStatus (*io_write)(GIOChannel *channel , gchar const   *buf ,   1510    GIOStatus (*io_write)(GIOChannel *channel , gchar const   *buf ,
1511                          gsize count , gsize *bytes_written , GError **err ) ;   1511                          gsize count , gsize *bytes_written , GError **err ) ;
1512    GIOStatus (*io_seek)(GIOChannel *channel , gint64 offset , GSeekType type ,   1512    GIOStatus (*io_seek)(GIOChannel *channel , gint64 offset , GSeekType type ,
1513                         GError **err ) ;   1513                         GError **err ) ;
1514    GIOStatus (*io_close)(GIOChannel *channel , GError **err ) ;   1514    GIOStatus (*io_close)(GIOChannel *channel , GError **err ) ;
1515    GSource *(*io_create_watch)(GIOChannel *channel , GIOCondition condition ) ;   1515    GSource *(*io_create_watch)(GIOChannel *channel , GIOCondition condition ) ;
1516    void (*io_free)(GIOChannel *channel ) ;   1516    void (*io_free)(GIOChannel *channel ) ;
1517    GIOStatus (*io_set_flags)(GIOChannel *channel , GIOFlags flags ,   1517    GIOStatus (*io_set_flags)(GIOChannel *channel , GIOFlags flags ,
1518                              GError **err ) ;   1518                              GError **err ) ;
1519    GIOFlags (*io_get_flags)(GIOChannel *channel ) ;   1519    GIOFlags (*io_get_flags)(GIOChannel *channel ) ;
1520 };   1520 };
1521 enum __anonenum_GKeyFileError_78 {   1521 enum __anonenum_GKeyFileError_78 {
1522     G_KEY_FILE_ERROR_UNKNOWN_ENCODING = 0,   1522     G_KEY_FILE_ERROR_UNKNOWN_ENCODING = 0,
1523     G_KEY_FILE_ERROR_PARSE = 1,   1523     G_KEY_FILE_ERROR_PARSE = 1,
1524     G_KEY_FILE_ERROR_NOT_FOUND = 2,   1524     G_KEY_FILE_ERROR_NOT_FOUND = 2,
1525     G_KEY_FILE_ERROR_KEY_NOT_FOUND = 3,   1525     G_KEY_FILE_ERROR_KEY_NOT_FOUND = 3,
1526     G_KEY_FILE_ERROR_GROUP_NOT_FOUND = 4,   1526     G_KEY_FILE_ERROR_GROUP_NOT_FOUND = 4,
1527     G_KEY_FILE_ERROR_INVALID_VALUE = 5   1527     G_KEY_FILE_ERROR_INVALID_VALUE = 5
1528 } ;   1528 } ;
1529 typedef enum __anonenum_GKeyFileError_78 GKeyFileError;   1529 typedef enum __anonenum_GKeyFileError_78 GKeyFileError;
1530 struct _GKeyFile;   1530 struct _GKeyFile;
1531 typedef struct _GKeyFile GKeyFile;   1531 typedef struct _GKeyFile GKeyFile;
1532 enum __anonenum_GKeyFileFlags_79 {   1532 enum __anonenum_GKeyFileFlags_79 {
1533     G_KEY_FILE_NONE = 0,   1533     G_KEY_FILE_NONE = 0,
1534     G_KEY_FILE_KEEP_COMMENTS = 1,   1534     G_KEY_FILE_KEEP_COMMENTS = 1,
1535     G_KEY_FILE_KEEP_TRANSLATIONS = 2   1535     G_KEY_FILE_KEEP_TRANSLATIONS = 2
1536 } ;   1536 } ;
1537 typedef enum __anonenum_GKeyFileFlags_79 GKeyFileFlags;   1537 typedef enum __anonenum_GKeyFileFlags_79 GKeyFileFlags;
1538 struct _GMappedFile;   1538 struct _GMappedFile;
1539 typedef struct _GMappedFile GMappedFile;   1539 typedef struct _GMappedFile GMappedFile;
1540 enum __anonenum_GMarkupError_80 {   1540 enum __anonenum_GMarkupError_80 {
1541     G_MARKUP_ERROR_BAD_UTF8 = 0,   1541     G_MARKUP_ERROR_BAD_UTF8 = 0,
1542     G_MARKUP_ERROR_EMPTY = 1,   1542     G_MARKUP_ERROR_EMPTY = 1,
1543     G_MARKUP_ERROR_PARSE = 2,   1543     G_MARKUP_ERROR_PARSE = 2,
1544     G_MARKUP_ERROR_UNKNOWN_ELEMENT = 3,   1544     G_MARKUP_ERROR_UNKNOWN_ELEMENT = 3,
1545     G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE = 4,   1545     G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE = 4,
1546     G_MARKUP_ERROR_INVALID_CONTENT = 5,   1546     G_MARKUP_ERROR_INVALID_CONTENT = 5,
1547     G_MARKUP_ERROR_MISSING_ATTRIBUTE = 6   1547     G_MARKUP_ERROR_MISSING_ATTRIBUTE = 6
1548 } ;   1548 } ;
1549 typedef enum __anonenum_GMarkupError_80 GMarkupError;   1549 typedef enum __anonenum_GMarkupError_80 GMarkupError;
1550 enum __anonenum_GMarkupParseFlags_81 {   1550 enum __anonenum_GMarkupParseFlags_81 {
1551     G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1,   1551     G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1,
1552     G_MARKUP_TREAT_CDATA_AS_TEXT = 2,   1552     G_MARKUP_TREAT_CDATA_AS_TEXT = 2,
1553     G_MARKUP_PREFIX_ERROR_POSITION = 4   1553     G_MARKUP_PREFIX_ERROR_POSITION = 4
1554 } ;   1554 } ;
1555 typedef enum __anonenum_GMarkupParseFlags_81 GMarkupParseFlags;   1555 typedef enum __anonenum_GMarkupParseFlags_81 GMarkupParseFlags;
1556 struct _GMarkupParseContext;   1556 struct _GMarkupParseContext;
1557 typedef struct _GMarkupParseContext GMarkupParseContext;   1557 typedef struct _GMarkupParseContext GMarkupParseContext;
1558 struct _GMarkupParser;   1558 struct _GMarkupParser;
1559 typedef struct _GMarkupParser GMarkupParser;   1559 typedef struct _GMarkupParser GMarkupParser;
1560 struct _GMarkupParser {   1560 struct _GMarkupParser {
1561    void (*start_element)(GMarkupParseContext *context ,   1561    void (*start_element)(GMarkupParseContext *context ,
1562                          gchar const   *element_name ,   1562                          gchar const   *element_name ,
1563                          gchar const   **attribute_names ,   1563                          gchar const   **attribute_names ,
1564                          gchar const   **attribute_values , gpointer user_data ,   1564                          gchar const   **attribute_values , gpointer user_data ,
1565                          GError **error ) ;   1565                          GError **error ) ;
1566    void (*end_element)(GMarkupParseContext *context ,   1566    void (*end_element)(GMarkupParseContext *context ,
1567                        gchar const   *element_name , gpointer user_data ,   1567                        gchar const   *element_name , gpointer user_data ,
1568                        GError **error ) ;   1568                        GError **error ) ;
1569    void (*text)(GMarkupParseContext *context , gchar const   *text ,   1569    void (*text)(GMarkupParseContext *context , gchar const   *text ,
1570                 gsize text_len , gpointer user_data , GError **error ) ;   1570                 gsize text_len , gpointer user_data , GError **error ) ;
1571    void (*passthrough)(GMarkupParseContext *context ,   1571    void (*passthrough)(GMarkupParseContext *context ,
1572                        gchar const   *passthrough_text , gsize text_len ,   1572                        gchar const   *passthrough_text , gsize text_len ,
1573                        gpointer user_data , GError **error ) ;   1573                        gpointer user_data , GError **error ) ;
1574    void (*error)(GMarkupParseContext *context , GError *error ,   1574    void (*error)(GMarkupParseContext *context , GError *error ,
1575                  gpointer user_data ) ;   1575                  gpointer user_data ) ;
1576 };   1576 };
1577 enum __anonenum_GMarkupCollectType_82 {   1577 enum __anonenum_GMarkupCollectType_82 {
1578     G_MARKUP_COLLECT_INVALID = 0,   1578     G_MARKUP_COLLECT_INVALID = 0,
1579     G_MARKUP_COLLECT_STRING = 1,   1579     G_MARKUP_COLLECT_STRING = 1,
1580     G_MARKUP_COLLECT_STRDUP = 2,   1580     G_MARKUP_COLLECT_STRDUP = 2,
1581     G_MARKUP_COLLECT_BOOLEAN = 3,   1581     G_MARKUP_COLLECT_BOOLEAN = 3,
1582     G_MARKUP_COLLECT_TRISTATE = 4,   1582     G_MARKUP_COLLECT_TRISTATE = 4,
1583     G_MARKUP_COLLECT_OPTIONAL = 65536   1583     G_MARKUP_COLLECT_OPTIONAL = 65536
1584 } ;   1584 } ;
1585 typedef enum __anonenum_GMarkupCollectType_82 GMarkupCollectType;   1585 typedef enum __anonenum_GMarkupCollectType_82 GMarkupCollectType;
1586 enum __anonenum_GLogLevelFlags_83 {   1586 enum __anonenum_GLogLevelFlags_83 {
1587     G_LOG_FLAG_RECURSION = 1,   1587     G_LOG_FLAG_RECURSION = 1,
1588     G_LOG_FLAG_FATAL = 2,   1588     G_LOG_FLAG_FATAL = 2,
1589     G_LOG_LEVEL_ERROR = 4,   1589     G_LOG_LEVEL_ERROR = 4,
1590     G_LOG_LEVEL_CRITICAL = 8,   1590     G_LOG_LEVEL_CRITICAL = 8,
1591     G_LOG_LEVEL_WARNING = 16,   1591     G_LOG_LEVEL_WARNING = 16,
1592     G_LOG_LEVEL_MESSAGE = 32,   1592     G_LOG_LEVEL_MESSAGE = 32,
1593     G_LOG_LEVEL_INFO = 64,   1593     G_LOG_LEVEL_INFO = 64,
1594     G_LOG_LEVEL_DEBUG = 128,   1594     G_LOG_LEVEL_DEBUG = 128,
1595     G_LOG_LEVEL_MASK = -4   1595     G_LOG_LEVEL_MASK = -4
1596 } ;   1596 } ;
1597 typedef enum __anonenum_GLogLevelFlags_83 GLogLevelFlags;   1597 typedef enum __anonenum_GLogLevelFlags_83 GLogLevelFlags;
1598 typedef void (*GLogFunc)(gchar const   *log_domain , GLogLevelFlags log_level ,   1598 typedef void (*GLogFunc)(gchar const   *log_domain , GLogLevelFlags log_level ,
1599                          gchar const   *message , gpointer user_data );   1599                          gchar const   *message , gpointer user_data );
1600 typedef void (*GPrintFunc)(gchar const   *string );   1600 typedef void (*GPrintFunc)(gchar const   *string );
1601 struct _GNode;   1601 struct _GNode;
1602 typedef struct _GNode GNode;   1602 typedef struct _GNode GNode;
1603 enum __anonenum_GTraverseFlags_84 {   1603 enum __anonenum_GTraverseFlags_84 {
1604     G_TRAVERSE_LEAVES = 1,   1604     G_TRAVERSE_LEAVES = 1,
1605     G_TRAVERSE_NON_LEAVES = 2,   1605     G_TRAVERSE_NON_LEAVES = 2,
1606     G_TRAVERSE_ALL = 3,   1606     G_TRAVERSE_ALL = 3,
1607     G_TRAVERSE_MASK = 3,   1607     G_TRAVERSE_MASK = 3,
1608     G_TRAVERSE_LEAFS = 1,   1608     G_TRAVERSE_LEAFS = 1,
1609     G_TRAVERSE_NON_LEAFS = 2   1609     G_TRAVERSE_NON_LEAFS = 2
1610 } ;   1610 } ;
1611 typedef enum __anonenum_GTraverseFlags_84 GTraverseFlags;   1611 typedef enum __anonenum_GTraverseFlags_84 GTraverseFlags;
1612 enum __anonenum_GTraverseType_85 {   1612 enum __anonenum_GTraverseType_85 {
1613     G_IN_ORDER = 0,   1613     G_IN_ORDER = 0,
1614     G_PRE_ORDER = 1,   1614     G_PRE_ORDER = 1,
1615     G_POST_ORDER = 2,   1615     G_POST_ORDER = 2,
1616     G_LEVEL_ORDER = 3   1616     G_LEVEL_ORDER = 3
1617 } ;   1617 } ;
1618 typedef enum __anonenum_GTraverseType_85 GTraverseType;   1618 typedef enum __anonenum_GTraverseType_85 GTraverseType;
1619 typedef gboolean (*GNodeTraverseFunc)(GNode *node , gpointer data );   1619 typedef gboolean (*GNodeTraverseFunc)(GNode *node , gpointer data );
1620 typedef void (*GNodeForeachFunc)(GNode *node , gpointer data );   1620 typedef void (*GNodeForeachFunc)(GNode *node , gpointer data );
1621 typedef gpointer (*GCopyFunc)(gconstpointer src , gpointer data );   1621 typedef gpointer (*GCopyFunc)(gconstpointer src , gpointer data );
1622 struct _GNode {   1622 struct _GNode {
1623    gpointer data ;   1623    gpointer data ;
1624    GNode *next ;   1624    GNode *next ;
1625    GNode *prev ;   1625    GNode *prev ;
1626    GNode *parent ;   1626    GNode *parent ;
1627    GNode *children ;   1627    GNode *children ;
1628 };   1628 };
1629 struct _GOptionContext;   1629 struct _GOptionContext;
1630 typedef struct _GOptionContext GOptionContext;   1630 typedef struct _GOptionContext GOptionContext;
1631 struct _GOptionGroup;   1631 struct _GOptionGroup;
1632 typedef struct _GOptionGroup GOptionGroup;   1632 typedef struct _GOptionGroup GOptionGroup;
1633 struct _GOptionEntry;   1633 struct _GOptionEntry;
1634 typedef struct _GOptionEntry GOptionEntry;   1634 typedef struct _GOptionEntry GOptionEntry;
1635 enum __anonenum_GOptionFlags_86 {   1635 enum __anonenum_GOptionFlags_86 {
1636     G_OPTION_FLAG_HIDDEN = 1,   1636     G_OPTION_FLAG_HIDDEN = 1,
1637     G_OPTION_FLAG_IN_MAIN = 2,   1637     G_OPTION_FLAG_IN_MAIN = 2,
1638     G_OPTION_FLAG_REVERSE = 4,   1638     G_OPTION_FLAG_REVERSE = 4,
1639     G_OPTION_FLAG_NO_ARG = 8,   1639     G_OPTION_FLAG_NO_ARG = 8,
1640     G_OPTION_FLAG_FILENAME = 16,   1640     G_OPTION_FLAG_FILENAME = 16,
1641     G_OPTION_FLAG_OPTIONAL_ARG = 32,   1641     G_OPTION_FLAG_OPTIONAL_ARG = 32,
1642     G_OPTION_FLAG_NOALIAS = 64   1642     G_OPTION_FLAG_NOALIAS = 64
1643 } ;   1643 } ;
1644 typedef enum __anonenum_GOptionFlags_86 GOptionFlags;   1644 typedef enum __anonenum_GOptionFlags_86 GOptionFlags;
1645 enum __anonenum_GOptionArg_87 {   1645 enum __anonenum_GOptionArg_87 {
1646     G_OPTION_ARG_NONE = 0,   1646     G_OPTION_ARG_NONE = 0,
1647     G_OPTION_ARG_STRING = 1,   1647     G_OPTION_ARG_STRING = 1,
1648     G_OPTION_ARG_INT = 2,   1648     G_OPTION_ARG_INT = 2,
1649     G_OPTION_ARG_CALLBACK = 3,   1649     G_OPTION_ARG_CALLBACK = 3,
1650     G_OPTION_ARG_FILENAME = 4,   1650     G_OPTION_ARG_FILENAME = 4,
1651     G_OPTION_ARG_STRING_ARRAY = 5,   1651     G_OPTION_ARG_STRING_ARRAY = 5,
1652     G_OPTION_ARG_FILENAME_ARRAY = 6,   1652     G_OPTION_ARG_FILENAME_ARRAY = 6,
1653     G_OPTION_ARG_DOUBLE = 7,   1653     G_OPTION_ARG_DOUBLE = 7,
1654     G_OPTION_ARG_INT64 = 8   1654     G_OPTION_ARG_INT64 = 8
1655 } ;   1655 } ;
1656 typedef enum __anonenum_GOptionArg_87 GOptionArg;   1656 typedef enum __anonenum_GOptionArg_87 GOptionArg;
1657 typedef gboolean (*GOptionArgFunc)(gchar const   *option_name ,   1657 typedef gboolean (*GOptionArgFunc)(gchar const   *option_name ,
1658                                    gchar const   *value , gpointer data ,   1658                                    gchar const   *value , gpointer data ,
1659                                    GError **error );   1659                                    GError **error );
1660 typedef gboolean (*GOptionParseFunc)(GOptionContext *context ,   1660 typedef gboolean (*GOptionParseFunc)(GOptionContext *context ,
1661                                      GOptionGroup *group , gpointer data ,   1661                                      GOptionGroup *group , gpointer data ,
1662                                      GError **error );   1662                                      GError **error );
1663 typedef void (*GOptionErrorFunc)(GOptionContext *context , GOptionGroup *group ,   1663 typedef void (*GOptionErrorFunc)(GOptionContext *context , GOptionGroup *group ,
1664                                  gpointer data , GError **error );   1664                                  gpointer data , GError **error );
1665 enum __anonenum_GOptionError_88 {   1665 enum __anonenum_GOptionError_88 {
1666     G_OPTION_ERROR_UNKNOWN_OPTION = 0,   1666     G_OPTION_ERROR_UNKNOWN_OPTION = 0,
1667     G_OPTION_ERROR_BAD_VALUE = 1,   1667     G_OPTION_ERROR_BAD_VALUE = 1,
1668     G_OPTION_ERROR_FAILED = 2   1668     G_OPTION_ERROR_FAILED = 2
1669 } ;   1669 } ;
1670 typedef enum __anonenum_GOptionError_88 GOptionError;   1670 typedef enum __anonenum_GOptionError_88 GOptionError;
1671 struct _GOptionEntry {   1671 struct _GOptionEntry {
1672    gchar const   *long_name ;   1672    gchar const   *long_name ;
1673    gchar short_name ;   1673    gchar short_name ;
1674    gint flags ;   1674    gint flags ;
1675    GOptionArg arg ;   1675    GOptionArg arg ;
1676    gpointer arg_data ;   1676    gpointer arg_data ;
1677    gchar const   *description ;   1677    gchar const   *description ;
1678    gchar const   *arg_description ;   1678    gchar const   *arg_description ;
1679 };   1679 };
1680 struct _GPatternSpec;   1680 struct _GPatternSpec;
1681 typedef struct _GPatternSpec GPatternSpec;   1681 typedef struct _GPatternSpec GPatternSpec;
1682 struct _GQueue;   1682 struct _GQueue;
1683 typedef struct _GQueue GQueue;   1683 typedef struct _GQueue GQueue;
1684 struct _GQueue {   1684 struct _GQueue {
1685    GList *head ;   1685    GList *head ;
1686    GList *tail ;   1686    GList *tail ;
1687    guint length ;   1687    guint length ;
1688 };   1688 };
1689 struct _GRand;   1689 struct _GRand;
1690 typedef struct _GRand GRand;   1690 typedef struct _GRand GRand;
1691 struct _GRelation;   1691 struct _GRelation;
1692 typedef struct _GRelation GRelation;   1692 typedef struct _GRelation GRelation;
1693 struct _GTuples;   1693 struct _GTuples;
1694 typedef struct _GTuples GTuples;   1694 typedef struct _GTuples GTuples;
1695 struct _GTuples {   1695 struct _GTuples {
1696    guint len ;   1696    guint len ;
1697 };   1697 };
1698 enum __anonenum_GRegexError_89 {   1698 enum __anonenum_GRegexError_89 {
1699     G_REGEX_ERROR_COMPILE = 0,   1699     G_REGEX_ERROR_COMPILE = 0,
1700     G_REGEX_ERROR_OPTIMIZE = 1,   1700     G_REGEX_ERROR_OPTIMIZE = 1,
1701     G_REGEX_ERROR_REPLACE = 2,   1701     G_REGEX_ERROR_REPLACE = 2,
1702     G_REGEX_ERROR_MATCH = 3,   1702     G_REGEX_ERROR_MATCH = 3,
1703     G_REGEX_ERROR_INTERNAL = 4,   1703     G_REGEX_ERROR_INTERNAL = 4,
1704     G_REGEX_ERROR_STRAY_BACKSLASH = 101,   1704     G_REGEX_ERROR_STRAY_BACKSLASH = 101,
1705     G_REGEX_ERROR_MISSING_CONTROL_CHAR = 102,   1705     G_REGEX_ERROR_MISSING_CONTROL_CHAR = 102,
1706     G_REGEX_ERROR_UNRECOGNIZED_ESCAPE = 103,   1706     G_REGEX_ERROR_UNRECOGNIZED_ESCAPE = 103,
1707     G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER = 104,   1707     G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER = 104,
1708     G_REGEX_ERROR_QUANTIFIER_TOO_BIG = 105,   1708     G_REGEX_ERROR_QUANTIFIER_TOO_BIG = 105,
1709     G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS = 106,   1709     G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS = 106,
1710     G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS = 107,   1710     G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS = 107,
1711     G_REGEX_ERROR_RANGE_OUT_OF_ORDER = 108,   1711     G_REGEX_ERROR_RANGE_OUT_OF_ORDER = 108,
1712     G_REGEX_ERROR_NOTHING_TO_REPEAT = 109,   1712     G_REGEX_ERROR_NOTHING_TO_REPEAT = 109,
1713     G_REGEX_ERROR_UNRECOGNIZED_CHARACTER = 112,   1713     G_REGEX_ERROR_UNRECOGNIZED_CHARACTER = 112,
1714     G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS = 113,   1714     G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS = 113,
1715     G_REGEX_ERROR_UNMATCHED_PARENTHESIS = 114,   1715     G_REGEX_ERROR_UNMATCHED_PARENTHESIS = 114,
1716     G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE = 115,   1716     G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE = 115,
1717     G_REGEX_ERROR_UNTERMINATED_COMMENT = 118,   1717     G_REGEX_ERROR_UNTERMINATED_COMMENT = 118,
1718     G_REGEX_ERROR_EXPRESSION_TOO_LARGE = 120,   1718     G_REGEX_ERROR_EXPRESSION_TOO_LARGE = 120,
1719     G_REGEX_ERROR_MEMORY_ERROR = 121,   1719     G_REGEX_ERROR_MEMORY_ERROR = 121,
1720     G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND = 125,   1720     G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND = 125,
1721     G_REGEX_ERROR_MALFORMED_CONDITION = 126,   1721     G_REGEX_ERROR_MALFORMED_CONDITION = 126,
1722     G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES = 127,   1722     G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES = 127,
1723     G_REGEX_ERROR_ASSERTION_EXPECTED = 128,   1723     G_REGEX_ERROR_ASSERTION_EXPECTED = 128,
1724     G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME = 130,   1724     G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME = 130,
1725     G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED = 131,   1725     G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED = 131,
1726     G_REGEX_ERROR_HEX_CODE_TOO_LARGE = 134,   1726     G_REGEX_ERROR_HEX_CODE_TOO_LARGE = 134,
1727     G_REGEX_ERROR_INVALID_CONDITION = 135,   1727     G_REGEX_ERROR_INVALID_CONDITION = 135,
1728     G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND = 136,   1728     G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND = 136,
1729     G_REGEX_ERROR_INFINITE_LOOP = 140,   1729     G_REGEX_ERROR_INFINITE_LOOP = 140,
1730     G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR = 142,   1730     G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR = 142,
1731     G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME = 143,   1731     G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME = 143,
1732     G_REGEX_ERROR_MALFORMED_PROPERTY = 146,   1732     G_REGEX_ERROR_MALFORMED_PROPERTY = 146,
1733     G_REGEX_ERROR_UNKNOWN_PROPERTY = 147,   1733     G_REGEX_ERROR_UNKNOWN_PROPERTY = 147,
1734     G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG = 148,   1734     G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG = 148,
1735     G_REGEX_ERROR_TOO_MANY_SUBPATTERNS = 149,   1735     G_REGEX_ERROR_TOO_MANY_SUBPATTERNS = 149,
1736     G_REGEX_ERROR_INVALID_OCTAL_VALUE = 151,   1736     G_REGEX_ERROR_INVALID_OCTAL_VALUE = 151,
1737     G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE = 154,   1737     G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE = 154,
1738     G_REGEX_ERROR_DEFINE_REPETION = 155,   1738     G_REGEX_ERROR_DEFINE_REPETION = 155,
1739     G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS = 156,   1739     G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS = 156,
1740     G_REGEX_ERROR_MISSING_BACK_REFERENCE = 157   1740     G_REGEX_ERROR_MISSING_BACK_REFERENCE = 157
1741 } ;   1741 } ;
1742 typedef enum __anonenum_GRegexError_89 GRegexError;   1742 typedef enum __anonenum_GRegexError_89 GRegexError;
1743 enum __anonenum_GRegexCompileFlags_90 {   1743 enum __anonenum_GRegexCompileFlags_90 {
1744     G_REGEX_CASELESS = 1,   1744     G_REGEX_CASELESS = 1,
1745     G_REGEX_MULTILINE = 2,   1745     G_REGEX_MULTILINE = 2,
1746     G_REGEX_DOTALL = 4,   1746     G_REGEX_DOTALL = 4,
1747     G_REGEX_EXTENDED = 8,   1747     G_REGEX_EXTENDED = 8,
1748     G_REGEX_ANCHORED = 16,   1748     G_REGEX_ANCHORED = 16,
1749     G_REGEX_DOLLAR_ENDONLY = 32,   1749     G_REGEX_DOLLAR_ENDONLY = 32,
1750     G_REGEX_UNGREEDY = 512,   1750     G_REGEX_UNGREEDY = 512,
1751     G_REGEX_RAW = 2048,   1751     G_REGEX_RAW = 2048,
1752     G_REGEX_NO_AUTO_CAPTURE = 4096,   1752     G_REGEX_NO_AUTO_CAPTURE = 4096,
1753     G_REGEX_OPTIMIZE = 8192,   1753     G_REGEX_OPTIMIZE = 8192,
1754     G_REGEX_DUPNAMES = 524288,   1754     G_REGEX_DUPNAMES = 524288,
1755     G_REGEX_NEWLINE_CR = 1048576,   1755     G_REGEX_NEWLINE_CR = 1048576,
1756     G_REGEX_NEWLINE_LF = 2097152,   1756     G_REGEX_NEWLINE_LF = 2097152,
1757     G_REGEX_NEWLINE_CRLF = 3145728   1757     G_REGEX_NEWLINE_CRLF = 3145728
1758 } ;   1758 } ;
1759 typedef enum __anonenum_GRegexCompileFlags_90 GRegexCompileFlags;   1759 typedef enum __anonenum_GRegexCompileFlags_90 GRegexCompileFlags;
1760 enum __anonenum_GRegexMatchFlags_91 {   1760 enum __anonenum_GRegexMatchFlags_91 {
1761     G_REGEX_MATCH_ANCHORED = 16,   1761     G_REGEX_MATCH_ANCHORED = 16,
1762     G_REGEX_MATCH_NOTBOL = 128,   1762     G_REGEX_MATCH_NOTBOL = 128,
1763     G_REGEX_MATCH_NOTEOL = 256,   1763     G_REGEX_MATCH_NOTEOL = 256,
1764     G_REGEX_MATCH_NOTEMPTY = 1024,   1764     G_REGEX_MATCH_NOTEMPTY = 1024,
1765     G_REGEX_MATCH_PARTIAL = 32768,   1765     G_REGEX_MATCH_PARTIAL = 32768,
1766     G_REGEX_MATCH_NEWLINE_CR = 1048576,   1766     G_REGEX_MATCH_NEWLINE_CR = 1048576,
1767     G_REGEX_MATCH_NEWLINE_LF = 2097152,   1767     G_REGEX_MATCH_NEWLINE_LF = 2097152,
1768     G_REGEX_MATCH_NEWLINE_CRLF = 3145728,   1768     G_REGEX_MATCH_NEWLINE_CRLF = 3145728,
1769     G_REGEX_MATCH_NEWLINE_ANY = 4194304   1769     G_REGEX_MATCH_NEWLINE_ANY = 4194304
1770 } ;   1770 } ;
1771 typedef enum __anonenum_GRegexMatchFlags_91 GRegexMatchFlags;   1771 typedef enum __anonenum_GRegexMatchFlags_91 GRegexMatchFlags;
1772 struct _GRegex;   1772 struct _GRegex;
1773 typedef struct _GRegex GRegex;   1773 typedef struct _GRegex GRegex;
1774 struct _GMatchInfo;   1774 struct _GMatchInfo;
1775 typedef struct _GMatchInfo GMatchInfo;   1775 typedef struct _GMatchInfo GMatchInfo;
1776 typedef gboolean (*GRegexEvalCallback)(GMatchInfo const   *match_info ,   1776 typedef gboolean (*GRegexEvalCallback)(GMatchInfo const   *match_info ,
1777                                        GString *result , gpointer user_data );   1777                                        GString *result , gpointer user_data );
1778 struct _GScanner;   1778 struct _GScanner;
1779 typedef struct _GScanner GScanner;   1779 typedef struct _GScanner GScanner;
1780 struct _GScannerConfig;   1780 struct _GScannerConfig;
1781 typedef struct _GScannerConfig GScannerConfig;   1781 typedef struct _GScannerConfig GScannerConfig;
1782 union _GTokenValue;   1782 union _GTokenValue;
1783 typedef union _GTokenValue GTokenValue;   1783 typedef union _GTokenValue GTokenValue;
1784 typedef void (*GScannerMsgFunc)(GScanner *scanner , gchar *message ,   1784 typedef void (*GScannerMsgFunc)(GScanner *scanner , gchar *message ,
1785                                 gboolean error );   1785                                 gboolean error );
1786 enum __anonenum_GErrorType_92 {   1786 enum __anonenum_GErrorType_92 {
1787     G_ERR_UNKNOWN = 0,   1787     G_ERR_UNKNOWN = 0,
1788     G_ERR_UNEXP_EOF = 1,   1788     G_ERR_UNEXP_EOF = 1,
1789     G_ERR_UNEXP_EOF_IN_STRING = 2,   1789     G_ERR_UNEXP_EOF_IN_STRING = 2,
1790     G_ERR_UNEXP_EOF_IN_COMMENT = 3,   1790     G_ERR_UNEXP_EOF_IN_COMMENT = 3,
1791     G_ERR_NON_DIGIT_IN_CONST = 4,   1791     G_ERR_NON_DIGIT_IN_CONST = 4,
1792     G_ERR_DIGIT_RADIX = 5,   1792     G_ERR_DIGIT_RADIX = 5,
1793     G_ERR_FLOAT_RADIX = 6,   1793     G_ERR_FLOAT_RADIX = 6,
1794     G_ERR_FLOAT_MALFORMED = 7   1794     G_ERR_FLOAT_MALFORMED = 7
1795 } ;   1795 } ;
1796 typedef enum __anonenum_GErrorType_92 GErrorType;   1796 typedef enum __anonenum_GErrorType_92 GErrorType;
1797 enum __anonenum_GTokenType_93 {   1797 enum __anonenum_GTokenType_93 {
1798     G_TOKEN_EOF = 0,   1798     G_TOKEN_EOF = 0,
1799     G_TOKEN_LEFT_PAREN = 40,   1799     G_TOKEN_LEFT_PAREN = 40,
1800     G_TOKEN_RIGHT_PAREN = 41,   1800     G_TOKEN_RIGHT_PAREN = 41,
1801     G_TOKEN_LEFT_CURLY = 123,   1801     G_TOKEN_LEFT_CURLY = 123,
1802     G_TOKEN_RIGHT_CURLY = 125,   1802     G_TOKEN_RIGHT_CURLY = 125,
1803     G_TOKEN_LEFT_BRACE = 91,   1803     G_TOKEN_LEFT_BRACE = 91,
1804     G_TOKEN_RIGHT_BRACE = 93,   1804     G_TOKEN_RIGHT_BRACE = 93,
1805     G_TOKEN_EQUAL_SIGN = 61,   1805     G_TOKEN_EQUAL_SIGN = 61,
1806     G_TOKEN_COMMA = 44,   1806     G_TOKEN_COMMA = 44,
1807     G_TOKEN_NONE = 256,   1807     G_TOKEN_NONE = 256,
1808     G_TOKEN_ERROR = 257,   1808     G_TOKEN_ERROR = 257,
1809     G_TOKEN_CHAR = 258,   1809     G_TOKEN_CHAR = 258,
1810     G_TOKEN_BINARY = 259,   1810     G_TOKEN_BINARY = 259,
1811     G_TOKEN_OCTAL = 260,   1811     G_TOKEN_OCTAL = 260,
1812     G_TOKEN_INT = 261,   1812     G_TOKEN_INT = 261,
1813     G_TOKEN_HEX = 262,   1813     G_TOKEN_HEX = 262,
1814     G_TOKEN_FLOAT = 263,   1814     G_TOKEN_FLOAT = 263,
1815     G_TOKEN_STRING = 264,   1815     G_TOKEN_STRING = 264,
1816     G_TOKEN_SYMBOL = 265,   1816     G_TOKEN_SYMBOL = 265,
1817     G_TOKEN_IDENTIFIER = 266,   1817     G_TOKEN_IDENTIFIER = 266,
1818     G_TOKEN_IDENTIFIER_NULL = 267,   1818     G_TOKEN_IDENTIFIER_NULL = 267,
1819     G_TOKEN_COMMENT_SINGLE = 268,   1819     G_TOKEN_COMMENT_SINGLE = 268,
1820     G_TOKEN_COMMENT_MULTI = 269,   1820     G_TOKEN_COMMENT_MULTI = 269,
1821     G_TOKEN_LAST = 270   1821     G_TOKEN_LAST = 270
1822 } ;   1822 } ;
1823 typedef enum __anonenum_GTokenType_93 GTokenType;   1823 typedef enum __anonenum_GTokenType_93 GTokenType;
1824 union _GTokenValue {   1824 union _GTokenValue {
1825    gpointer v_symbol ;   1825    gpointer v_symbol ;
1826    gchar *v_identifier ;   1826    gchar *v_identifier ;
1827    gulong v_binary ;   1827    gulong v_binary ;
1828    gulong v_octal ;   1828    gulong v_octal ;
1829    gulong v_int ;   1829    gulong v_int ;
1830    guint64 v_int64 ;   1830    guint64 v_int64 ;
1831    gdouble v_float ;   1831    gdouble v_float ;
1832    gulong v_hex ;   1832    gulong v_hex ;
1833    gchar *v_string ;   1833    gchar *v_string ;
1834    gchar *v_comment ;   1834    gchar *v_comment ;
1835    guchar v_char ;   1835    guchar v_char ;
1836    guint v_error ;   1836    guint v_error ;
1837 };   1837 };
1838 struct _GScannerConfig {   1838 struct _GScannerConfig {
1839    gchar *cset_skip_characters ;   1839    gchar *cset_skip_characters ;
1840    gchar *cset_identifier_first ;   1840    gchar *cset_identifier_first ;
1841    gchar *cset_identifier_nth ;   1841    gchar *cset_identifier_nth ;
1842    gchar *cpair_comment_single ;   1842    gchar *cpair_comment_single ;
1843    guint case_sensitive : 1 ;   1843    guint case_sensitive : 1 ;
1844    guint skip_comment_multi : 1 ;   1844    guint skip_comment_multi : 1 ;
1845    guint skip_comment_single : 1 ;   1845    guint skip_comment_single : 1 ;
1846    guint scan_comment_multi : 1 ;   1846    guint scan_comment_multi : 1 ;
1847    guint scan_identifier : 1 ;   1847    guint scan_identifier : 1 ;
1848    guint scan_identifier_1char : 1 ;   1848    guint scan_identifier_1char : 1 ;
1849    guint scan_identifier_NULL : 1 ;   1849    guint scan_identifier_NULL : 1 ;
1850    guint scan_symbols : 1 ;   1850    guint scan_symbols : 1 ;
1851    guint scan_binary : 1 ;   1851    guint scan_binary : 1 ;
1852    guint scan_octal : 1 ;   1852    guint scan_octal : 1 ;
1853    guint scan_float : 1 ;   1853    guint scan_float : 1 ;
1854    guint scan_hex : 1 ;   1854    guint scan_hex : 1 ;
1855    guint scan_hex_dollar : 1 ;   1855    guint scan_hex_dollar : 1 ;
1856    guint scan_string_sq : 1 ;   1856    guint scan_string_sq : 1 ;
1857    guint scan_string_dq : 1 ;   1857    guint scan_string_dq : 1 ;
1858    guint numbers_2_int : 1 ;   1858    guint numbers_2_int : 1 ;
1859    guint int_2_float : 1 ;   1859    guint int_2_float : 1 ;
1860    guint identifier_2_string : 1 ;   1860    guint identifier_2_string : 1 ;
1861    guint char_2_token : 1 ;   1861    guint char_2_token : 1 ;
1862    guint symbol_2_token : 1 ;   1862    guint symbol_2_token : 1 ;
1863    guint scope_0_fallback : 1 ;   1863    guint scope_0_fallback : 1 ;
1864    guint store_int64 : 1 ;   1864    guint store_int64 : 1 ;
1865    guint padding_dummy ;   1865    guint padding_dummy ;
1866 };   1866 };
1867 struct _GScanner {   1867 struct _GScanner {
1868    gpointer user_data ;   1868    gpointer user_data ;
1869    guint max_parse_errors ;   1869    guint max_parse_errors ;
1870    guint parse_errors ;   1870    guint parse_errors ;
1871    gchar const   *input_name ;   1871    gchar const   *input_name ;
1872    GData *qdata ;   1872    GData *qdata ;
1873    GScannerConfig *config ;   1873    GScannerConfig *config ;
1874    GTokenType token ;   1874    GTokenType token ;
1875    GTokenValue value ;   1875    GTokenValue value ;
1876    guint line ;   1876    guint line ;
1877    guint position ;   1877    guint position ;
1878    GTokenType next_token ;   1878    GTokenType next_token ;
1879    GTokenValue next_value ;   1879    GTokenValue next_value ;
1880    guint next_line ;   1880    guint next_line ;
1881    guint next_position ;   1881    guint next_position ;
1882    GHashTable *symbol_table ;   1882    GHashTable *symbol_table ;
1883    gint input_fd ;   1883    gint input_fd ;
1884    gchar const   *text ;   1884    gchar const   *text ;
1885    gchar const   *text_end ;   1885    gchar const   *text_end ;
1886    gchar *buffer ;   1886    gchar *buffer ;
1887    guint scope_id ;   1887    guint scope_id ;
1888    void (*msg_handler)(GScanner *scanner , gchar *message , gboolean error ) ;   1888    void (*msg_handler)(GScanner *scanner , gchar *message , gboolean error ) ;
1889 };   1889 };
1890 struct _GSequence;   1890 struct _GSequence;
1891 typedef struct _GSequence GSequence;   1891 typedef struct _GSequence GSequence;
1892 struct _GSequenceNode;   1892 struct _GSequenceNode;
1893 typedef struct _GSequenceNode GSequenceIter;   1893 typedef struct _GSequenceNode GSequenceIter;
1894 typedef gint (*GSequenceIterCompareFunc)(GSequenceIter *a , GSequenceIter *b ,   1894 typedef gint (*GSequenceIterCompareFunc)(GSequenceIter *a , GSequenceIter *b ,
1895                                          gpointer data );   1895                                          gpointer data );
1896 enum __anonenum_GShellError_94 {   1896 enum __anonenum_GShellError_94 {
1897     G_SHELL_ERROR_BAD_QUOTING = 0,   1897     G_SHELL_ERROR_BAD_QUOTING = 0,
1898     G_SHELL_ERROR_EMPTY_STRING = 1,   1898     G_SHELL_ERROR_EMPTY_STRING = 1,
1899     G_SHELL_ERROR_FAILED = 2   1899     G_SHELL_ERROR_FAILED = 2
1900 } ;   1900 } ;
1901 typedef enum __anonenum_GShellError_94 GShellError;   1901 typedef enum __anonenum_GShellError_94 GShellError;
1902 enum __anonenum_GSpawnError_95 {   1902 enum __anonenum_GSpawnError_95 {
1903     G_SPAWN_ERROR_FORK = 0,   1903     G_SPAWN_ERROR_FORK = 0,
1904     G_SPAWN_ERROR_READ = 1,   1904     G_SPAWN_ERROR_READ = 1,
1905     G_SPAWN_ERROR_CHDIR = 2,   1905     G_SPAWN_ERROR_CHDIR = 2,
1906     G_SPAWN_ERROR_ACCES = 3,   1906     G_SPAWN_ERROR_ACCES = 3,
1907     G_SPAWN_ERROR_PERM = 4,   1907     G_SPAWN_ERROR_PERM = 4,
1908     G_SPAWN_ERROR_2BIG = 5,   1908     G_SPAWN_ERROR_2BIG = 5,
1909     G_SPAWN_ERROR_NOEXEC = 6,   1909     G_SPAWN_ERROR_NOEXEC = 6,
1910     G_SPAWN_ERROR_NAMETOOLONG = 7,   1910     G_SPAWN_ERROR_NAMETOOLONG = 7,
1911     G_SPAWN_ERROR_NOENT = 8,   1911     G_SPAWN_ERROR_NOENT = 8,
1912     G_SPAWN_ERROR_NOMEM = 9,   1912     G_SPAWN_ERROR_NOMEM = 9,
1913     G_SPAWN_ERROR_NOTDIR = 10,   1913     G_SPAWN_ERROR_NOTDIR = 10,
1914     G_SPAWN_ERROR_LOOP = 11,   1914     G_SPAWN_ERROR_LOOP = 11,
1915     G_SPAWN_ERROR_TXTBUSY = 12,   1915     G_SPAWN_ERROR_TXTBUSY = 12,
1916     G_SPAWN_ERROR_IO = 13,   1916     G_SPAWN_ERROR_IO = 13,
1917     G_SPAWN_ERROR_NFILE = 14,   1917     G_SPAWN_ERROR_NFILE = 14,
1918     G_SPAWN_ERROR_MFILE = 15,   1918     G_SPAWN_ERROR_MFILE = 15,
1919     G_SPAWN_ERROR_INVAL = 16,   1919     G_SPAWN_ERROR_INVAL = 16,
1920     G_SPAWN_ERROR_ISDIR = 17,   1920     G_SPAWN_ERROR_ISDIR = 17,
1921     G_SPAWN_ERROR_LIBBAD = 18,   1921     G_SPAWN_ERROR_LIBBAD = 18,
1922     G_SPAWN_ERROR_FAILED = 19   1922     G_SPAWN_ERROR_FAILED = 19
1923 } ;   1923 } ;
1924 typedef enum __anonenum_GSpawnError_95 GSpawnError;   1924 typedef enum __anonenum_GSpawnError_95 GSpawnError;
1925 typedef void (*GSpawnChildSetupFunc)(gpointer user_data );   1925 typedef void (*GSpawnChildSetupFunc)(gpointer user_data );
1926 enum __anonenum_GSpawnFlags_96 {   1926 enum __anonenum_GSpawnFlags_96 {
1927     G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1,   1927     G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1,
1928     G_SPAWN_DO_NOT_REAP_CHILD = 2,   1928     G_SPAWN_DO_NOT_REAP_CHILD = 2,
1929     G_SPAWN_SEARCH_PATH = 4,   1929     G_SPAWN_SEARCH_PATH = 4,
1930     G_SPAWN_STDOUT_TO_DEV_NULL = 8,   1930     G_SPAWN_STDOUT_TO_DEV_NULL = 8,
1931     G_SPAWN_STDERR_TO_DEV_NULL = 16,   1931     G_SPAWN_STDERR_TO_DEV_NULL = 16,
1932     G_SPAWN_CHILD_INHERITS_STDIN = 32,   1932     G_SPAWN_CHILD_INHERITS_STDIN = 32,
1933     G_SPAWN_FILE_AND_ARGV_ZERO = 64   1933     G_SPAWN_FILE_AND_ARGV_ZERO = 64
1934 } ;   1934 } ;
1935 typedef enum __anonenum_GSpawnFlags_96 GSpawnFlags;   1935 typedef enum __anonenum_GSpawnFlags_96 GSpawnFlags;
1936 enum __anonenum_GAsciiType_97 {   1936 enum __anonenum_GAsciiType_97 {
1937     G_ASCII_ALNUM = 1,   1937     G_ASCII_ALNUM = 1,
1938     G_ASCII_ALPHA = 2,   1938     G_ASCII_ALPHA = 2,
1939     G_ASCII_CNTRL = 4,   1939     G_ASCII_CNTRL = 4,
1940     G_ASCII_DIGIT = 8,   1940     G_ASCII_DIGIT = 8,
1941     G_ASCII_GRAPH = 16,   1941     G_ASCII_GRAPH = 16,
1942     G_ASCII_LOWER = 32,   1942     G_ASCII_LOWER = 32,
1943     G_ASCII_PRINT = 64,   1943     G_ASCII_PRINT = 64,
1944     G_ASCII_PUNCT = 128,   1944     G_ASCII_PUNCT = 128,
1945     G_ASCII_SPACE = 256,   1945     G_ASCII_SPACE = 256,
1946     G_ASCII_UPPER = 512,   1946     G_ASCII_UPPER = 512,
1947     G_ASCII_XDIGIT = 1024   1947     G_ASCII_XDIGIT = 1024
1948 } ;   1948 } ;
1949 typedef enum __anonenum_GAsciiType_97 GAsciiType;   1949 typedef enum __anonenum_GAsciiType_97 GAsciiType;
1950 struct GTestCase;   1950 struct GTestCase;
1951 typedef struct GTestCase GTestCase;   1951 typedef struct GTestCase GTestCase;
1952 struct GTestSuite;   1952 struct GTestSuite;
1953 typedef struct GTestSuite GTestSuite;   1953 typedef struct GTestSuite GTestSuite;
1954 enum __anonenum_GTestTrapFlags_98 {   1954 enum __anonenum_GTestTrapFlags_98 {
1955     G_TEST_TRAP_SILENCE_STDOUT = 128,   1955     G_TEST_TRAP_SILENCE_STDOUT = 128,
1956     G_TEST_TRAP_SILENCE_STDERR = 256,   1956     G_TEST_TRAP_SILENCE_STDERR = 256,
1957     G_TEST_TRAP_INHERIT_STDIN = 512   1957     G_TEST_TRAP_INHERIT_STDIN = 512
1958 } ;   1958 } ;
1959 typedef enum __anonenum_GTestTrapFlags_98 GTestTrapFlags;   1959 typedef enum __anonenum_GTestTrapFlags_98 GTestTrapFlags;
1960 struct __anonstruct_GTestConfig_99 {   1960 struct __anonstruct_GTestConfig_99 {
1961    gboolean test_initialized ;   1961    gboolean test_initialized ;
1962    gboolean test_quick ;   1962    gboolean test_quick ;
1963    gboolean test_perf ;   1963    gboolean test_perf ;
1964    gboolean test_verbose ;   1964    gboolean test_verbose ;
1965    gboolean test_quiet ;   1965    gboolean test_quiet ;
1966 };   1966 };
1967 typedef struct __anonstruct_GTestConfig_99 GTestConfig;   1967 typedef struct __anonstruct_GTestConfig_99 GTestConfig;
1968 enum __anonenum_GTestLogType_100 {   1968 enum __anonenum_GTestLogType_100 {
1969     G_TEST_LOG_NONE = 0,   1969     G_TEST_LOG_NONE = 0,
1970     G_TEST_LOG_ERROR = 1,   1970     G_TEST_LOG_ERROR = 1,
1971     G_TEST_LOG_START_BINARY = 2,   1971     G_TEST_LOG_START_BINARY = 2,
1972     G_TEST_LOG_LIST_CASE = 3,   1972     G_TEST_LOG_LIST_CASE = 3,
1973     G_TEST_LOG_SKIP_CASE = 4,   1973     G_TEST_LOG_SKIP_CASE = 4,
1974     G_TEST_LOG_START_CASE = 5,   1974     G_TEST_LOG_START_CASE = 5,
1975     G_TEST_LOG_STOP_CASE = 6,   1975     G_TEST_LOG_STOP_CASE = 6,
1976     G_TEST_LOG_MIN_RESULT = 7,   1976     G_TEST_LOG_MIN_RESULT = 7,
1977     G_TEST_LOG_MAX_RESULT = 8,   1977     G_TEST_LOG_MAX_RESULT = 8,
1978     G_TEST_LOG_MESSAGE = 9   1978     G_TEST_LOG_MESSAGE = 9
1979 } ;   1979 } ;
1980 typedef enum __anonenum_GTestLogType_100 GTestLogType;   1980 typedef enum __anonenum_GTestLogType_100 GTestLogType;
1981 struct __anonstruct_GTestLogMsg_101 {   1981 struct __anonstruct_GTestLogMsg_101 {
1982    GTestLogType log_type ;   1982    GTestLogType log_type ;
1983    guint n_strings ;   1983    guint n_strings ;
1984    gchar **strings ;   1984    gchar **strings ;
1985    guint n_nums ;   1985    guint n_nums ;
1986    long double *nums ;   1986    long double *nums ;
1987 };   1987 };
1988 typedef struct __anonstruct_GTestLogMsg_101 GTestLogMsg;   1988 typedef struct __anonstruct_GTestLogMsg_101 GTestLogMsg;
1989 struct __anonstruct_GTestLogBuffer_102 {   1989 struct __anonstruct_GTestLogBuffer_102 {
1990    GString *data ;   1990    GString *data ;
1991    GSList *msgs ;   1991    GSList *msgs ;
1992 };   1992 };
1993 typedef struct __anonstruct_GTestLogBuffer_102 GTestLogBuffer;   1993 typedef struct __anonstruct_GTestLogBuffer_102 GTestLogBuffer;
1994 typedef gboolean (*GTestLogFatalFunc)(gchar const   *log_domain ,   1994 typedef gboolean (*GTestLogFatalFunc)(gchar const   *log_domain ,
1995                                       GLogLevelFlags log_level ,   1995                                       GLogLevelFlags log_level ,
1996                                       gchar const   *message ,   1996                                       gchar const   *message ,
1997                                       gpointer user_data );   1997                                       gpointer user_data );
1998 struct _GThreadPool;   1998 struct _GThreadPool;
1999 typedef struct _GThreadPool GThreadPool;   1999 typedef struct _GThreadPool GThreadPool;
2000 struct _GThreadPool {   2000 struct _GThreadPool {
2001    void (*func)(gpointer data , gpointer user_data ) ;   2001    void (*func)(gpointer data , gpointer user_data ) ;
2002    gpointer user_data ;   2002    gpointer user_data ;
2003    gboolean exclusive ;   2003    gboolean exclusive ;
2004 };   2004 };
2005 struct _GTimer;   2005 struct _GTimer;
2006 typedef struct _GTimer GTimer;   2006 typedef struct _GTimer GTimer;
2007 struct _GTree;   2007 struct _GTree;
2008 typedef struct _GTree GTree;   2008 typedef struct _GTree GTree;
2009 typedef gboolean (*GTraverseFunc)(gpointer key , gpointer value , gpointer data );   2009 typedef gboolean (*GTraverseFunc)(gpointer key , gpointer value , gpointer data );
2010 struct _GVariantType;   2010 struct _GVariantType;
2011 typedef struct _GVariantType GVariantType;   2011 typedef struct _GVariantType GVariantType;
2012 struct _GVariant;   2012 struct _GVariant;
2013 typedef struct _GVariant GVariant;   2013 typedef struct _GVariant GVariant;
2014 enum __anonenum_GVariantClass_103 {   2014 enum __anonenum_GVariantClass_103 {
2015     G_VARIANT_CLASS_BOOLEAN = 98,   2015     G_VARIANT_CLASS_BOOLEAN = 98,
2016     G_VARIANT_CLASS_BYTE = 121,   2016     G_VARIANT_CLASS_BYTE = 121,
2017     G_VARIANT_CLASS_INT16 = 110,   2017     G_VARIANT_CLASS_INT16 = 110,
2018     G_VARIANT_CLASS_UINT16 = 113,   2018     G_VARIANT_CLASS_UINT16 = 113,
2019     G_VARIANT_CLASS_INT32 = 105,   2019     G_VARIANT_CLASS_INT32 = 105,
2020     G_VARIANT_CLASS_UINT32 = 117,   2020     G_VARIANT_CLASS_UINT32 = 117,
2021     G_VARIANT_CLASS_INT64 = 120,   2021     G_VARIANT_CLASS_INT64 = 120,
2022     G_VARIANT_CLASS_UINT64 = 116,   2022     G_VARIANT_CLASS_UINT64 = 116,
2023     G_VARIANT_CLASS_HANDLE = 104,   2023     G_VARIANT_CLASS_HANDLE = 104,
2024     G_VARIANT_CLASS_DOUBLE = 100,   2024     G_VARIANT_CLASS_DOUBLE = 100,
2025     G_VARIANT_CLASS_STRING = 115,   2025     G_VARIANT_CLASS_STRING = 115,
2026     G_VARIANT_CLASS_OBJECT_PATH = 111,   2026     G_VARIANT_CLASS_OBJECT_PATH = 111,
2027     G_VARIANT_CLASS_SIGNATURE = 103,   2027     G_VARIANT_CLASS_SIGNATURE = 103,
2028     G_VARIANT_CLASS_VARIANT = 118,   2028     G_VARIANT_CLASS_VARIANT = 118,
2029     G_VARIANT_CLASS_MAYBE = 109,   2029     G_VARIANT_CLASS_MAYBE = 109,
2030     G_VARIANT_CLASS_ARRAY = 97,   2030     G_VARIANT_CLASS_ARRAY = 97,
2031     G_VARIANT_CLASS_TUPLE = 40,   2031     G_VARIANT_CLASS_TUPLE = 40,
2032     G_VARIANT_CLASS_DICT_ENTRY = 123   2032     G_VARIANT_CLASS_DICT_ENTRY = 123
2033 } ;   2033 } ;
2034 typedef enum __anonenum_GVariantClass_103 GVariantClass;   2034 typedef enum __anonenum_GVariantClass_103 GVariantClass;
2035 struct _GVariantIter;   2035 struct _GVariantIter;
2036 typedef struct _GVariantIter GVariantIter;   2036 typedef struct _GVariantIter GVariantIter;
2037 struct _GVariantIter {   2037 struct _GVariantIter {
2038    gsize x[16] ;   2038    gsize x[16] ;
2039 };   2039 };
2040 struct _GVariantBuilder;   2040 struct _GVariantBuilder;
2041 typedef struct _GVariantBuilder GVariantBuilder;   2041 typedef struct _GVariantBuilder GVariantBuilder;
2042 struct _GVariantBuilder {   2042 struct _GVariantBuilder {
2043    gsize x[16] ;   2043    gsize x[16] ;
2044 };   2044 };
2045 struct iovec {   2045 struct iovec {
2046    void *iov_base ;   2046    void *iov_base ;
2047    size_t iov_len ;   2047    size_t iov_len ;
2048 };   2048 };
2049 enum __anonenum_handler_t_104 {   2049 enum __anonenum_handler_t_104 {
2050     HANDLER_UNSET = 0,   2050     HANDLER_UNSET = 0,
2051     HANDLER_GO_ON = 1,   2051     HANDLER_GO_ON = 1,
2052     HANDLER_FINISHED = 2,   2052     HANDLER_FINISHED = 2,
2053     HANDLER_COMEBACK = 3,   2053     HANDLER_COMEBACK = 3,
2054     HANDLER_WAIT_FOR_EVENT = 4,   2054     HANDLER_WAIT_FOR_EVENT = 4,
2055     HANDLER_ERROR = 5,   2055     HANDLER_ERROR = 5,
2056     HANDLER_WAIT_FOR_FD = 6   2056     HANDLER_WAIT_FOR_FD = 6
2057 } ;   2057 } ;
2058 typedef enum __anonenum_handler_t_104 handler_t;   2058 typedef enum __anonenum_handler_t_104 handler_t;
2059 typedef unsigned char uint8_t;   2059 typedef unsigned char uint8_t;
2060 typedef unsigned short uint16_t;   2060 typedef unsigned short uint16_t;
2061 typedef unsigned int uint32_t;   2061 typedef unsigned int uint32_t;
2062 typedef unsigned long long uint64_t;   2062 typedef unsigned long long uint64_t;
2063 typedef signed char int_least8_t;   2063 typedef signed char int_least8_t;
2064 typedef short int_least16_t;   2064 typedef short int_least16_t;
2065 typedef int int_least32_t;   2065 typedef int int_least32_t;
2066 typedef long long int_least64_t;   2066 typedef long long int_least64_t;
2067 typedef unsigned char uint_least8_t;   2067 typedef unsigned char uint_least8_t;
2068 typedef unsigned short uint_least16_t;   2068 typedef unsigned short uint_least16_t;
2069 typedef unsigned int uint_least32_t;   2069 typedef unsigned int uint_least32_t;
2070 typedef unsigned long long uint_least64_t;   2070 typedef unsigned long long uint_least64_t;
2071 typedef signed char int_fast8_t;   2071 typedef signed char int_fast8_t;
2072 typedef int int_fast16_t;   2072 typedef int int_fast16_t;
2073 typedef int int_fast32_t;   2073 typedef int int_fast32_t;
2074 typedef long long int_fast64_t;   2074 typedef long long int_fast64_t;
2075 typedef unsigned char uint_fast8_t;   2075 typedef unsigned char uint_fast8_t;
2076 typedef unsigned int uint_fast16_t;   2076 typedef unsigned int uint_fast16_t;
2077 typedef unsigned int uint_fast32_t;   2077 typedef unsigned int uint_fast32_t;
2078 typedef unsigned long long uint_fast64_t;   2078 typedef unsigned long long uint_fast64_t;
2079 typedef int intptr_t;   2079 typedef int intptr_t;
2080 typedef unsigned int uintptr_t;   2080 typedef unsigned int uintptr_t;
2081 typedef long long intmax_t;   2081 typedef long long intmax_t;
2082 typedef unsigned long long uintmax_t;   2082 typedef unsigned long long uintmax_t;
2083 typedef long __gwchar_t;   2083 typedef long __gwchar_t;
2084 struct __anonstruct_imaxdiv_t_105 {   2084 struct __anonstruct_imaxdiv_t_105 {
2085    long long quot ;   2085    long long quot ;
2086    long long rem ;   2086    long long rem ;
2087 };   2087 };
2088 typedef struct __anonstruct_imaxdiv_t_105 imaxdiv_t;   2088 typedef struct __anonstruct_imaxdiv_t_105 imaxdiv_t;
2089 struct __anonstruct_buffer_106 {   2089 struct __anonstruct_buffer_106 {
2090    char *ptr ;   2090    char *ptr ;
2091    size_t used ;   2091    size_t used ;
2092    size_t size ;   2092    size_t size ;
2093 };   2093 };
2094 typedef struct __anonstruct_buffer_106 buffer;   2094 typedef struct __anonstruct_buffer_106 buffer;
2095 typedef void (*buffer_ptr_free_t)(void *p );   2095 typedef void (*buffer_ptr_free_t)(void *p );
2096 struct __anonstruct_buffer_ptr_107 {   2096 struct __anonstruct_buffer_ptr_107 {
2097    void **ptr ;   2097    void **ptr ;
2098    size_t size ;   2098    size_t size ;
2099    size_t used ;   2099    size_t used ;
2100    void (*free)(void *p ) ;   2100    void (*free)(void *p ) ;
2101 };   2101 };
2102 typedef struct __anonstruct_buffer_ptr_107 buffer_ptr;   2102 typedef struct __anonstruct_buffer_ptr_107 buffer_ptr;
2103 struct __anonstruct_buffer_array_108 {   2103 struct __anonstruct_buffer_array_108 {
2104    buffer **ptr ;   2104    buffer **ptr ;
2105    size_t used ;   2105    size_t used ;
2106    size_t size ;   2106    size_t size ;
2107 };   2107 };
2108 typedef struct __anonstruct_buffer_array_108 buffer_array;   2108 typedef struct __anonstruct_buffer_array_108 buffer_array;
2109 struct __anonstruct_read_buffer_109 {   2109 struct __anonstruct_read_buffer_109 {
2110    char *ptr ;   2110    char *ptr ;
2111    size_t offset ;   2111    size_t offset ;
2112    size_t used ;   2112    size_t used ;
2113    size_t size ;   2113    size_t size ;
2114 };   2114 };
2115 typedef struct __anonstruct_read_buffer_109 read_buffer;   2115 typedef struct __anonstruct_read_buffer_109 read_buffer;
2116 enum __anonenum_buffer_encoding_t_110 {   2116 enum __anonenum_buffer_encoding_t_110 {
2117     ENCODING_UNSET = 0,   2117     ENCODING_UNSET = 0,
2118     ENCODING_REL_URI = 1,   2118     ENCODING_REL_URI = 1,
2119     ENCODING_REL_URI_PART = 2,   2119     ENCODING_REL_URI_PART = 2,
2120     ENCODING_HTML = 3,   2120     ENCODING_HTML = 3,
2121     ENCODING_MINIMAL_XML = 4,   2121     ENCODING_MINIMAL_XML = 4,
2122     ENCODING_HEX = 5   2122     ENCODING_HEX = 5
2123 } ;   2123 } ;
2124 typedef enum __anonenum_buffer_encoding_t_110 buffer_encoding_t;   2124 typedef enum __anonenum_buffer_encoding_t_110 buffer_encoding_t;
2125 struct __anonstruct_buffer_pool_111 {   2125 struct __anonstruct_buffer_pool_111 {
2126    buffer **ptr ;   2126    buffer **ptr ;
2127    size_t used ;   2127    size_t used ;
2128    size_t size ;   2128    size_t size ;
2129 };   2129 };
2130 typedef struct __anonstruct_buffer_pool_111 buffer_pool;   2130 typedef struct __anonstruct_buffer_pool_111 buffer_pool;
2131 struct real_pcre;   2131 struct real_pcre;
2132 struct real_pcre;   2132 struct real_pcre;
2133 typedef struct real_pcre pcre;   2133 typedef struct real_pcre pcre;
2134 struct pcre_extra {   2134 struct pcre_extra {
2135    unsigned long flags ;   2135    unsigned long flags ;
2136    void *study_data ;   2136    void *study_data ;
2137    unsigned long match_limit ;   2137    unsigned long match_limit ;
2138    void *callout_data ;   2138    void *callout_data ;
2139    unsigned char const   *tables ;   2139    unsigned char const   *tables ;
2140    unsigned long match_limit_recursion ;   2140    unsigned long match_limit_recursion ;
2141 };   2141 };
2142 typedef struct pcre_extra pcre_extra;   2142 typedef struct pcre_extra pcre_extra;
2143 struct pcre_callout_block {   2143 struct pcre_callout_block {
2144    int version ;   2144    int version ;
2145    int callout_number ;   2145    int callout_number ;
2146    int *offset_vector ;   2146    int *offset_vector ;
2147    char const   *subject ;   2147    char const   *subject ;
2148    int subject_length ;   2148    int subject_length ;
2149    int start_match ;   2149    int start_match ;
2150    int current_position ;   2150    int current_position ;
2151    int capture_top ;   2151    int capture_top ;
2152    int capture_last ;   2152    int capture_last ;
2153    void *callout_data ;   2153    void *callout_data ;
2154    int pattern_position ;   2154    int pattern_position ;
2155    int next_item_length ;   2155    int next_item_length ;
2156 };   2156 };
2157 typedef struct pcre_callout_block pcre_callout_block;   2157 typedef struct pcre_callout_block pcre_callout_block;
2158 enum __anonenum_data_type_t_112 {   2158 enum __anonenum_data_type_t_112 {
2159     TYPE_UNSET = 0,   2159     TYPE_UNSET = 0,
2160     TYPE_STRING = 1,   2160     TYPE_STRING = 1,
2161     TYPE_COUNT = 2,   2161     TYPE_COUNT = 2,
2162     TYPE_ARRAY = 3,   2162     TYPE_ARRAY = 3,
2163     TYPE_INTEGER = 4,   2163     TYPE_INTEGER = 4,
2164     TYPE_FASTCGI = 5,   2164     TYPE_FASTCGI = 5,
2165     TYPE_CONFIG = 6   2165     TYPE_CONFIG = 6
2166 } ;   2166 } ;
2167 typedef enum __anonenum_data_type_t_112 data_type_t;   2167 typedef enum __anonenum_data_type_t_112 data_type_t;
2168 struct data_unset {   2168 struct data_unset {
2169    data_type_t type ;   2169    data_type_t type ;
2170    buffer *key ;   2170    buffer *key ;
2171    int is_index_key ;   2171    int is_index_key ;
2172    struct data_unset *(*copy)(struct data_unset  const  *src ) ;   2172    struct data_unset *(*copy)(struct data_unset  const  *src ) ;
2173    void (*free)(struct data_unset *p ) ;   2173    void (*free)(struct data_unset *p ) ;
2174    void (*reset)(struct data_unset *p ) ;   2174    void (*reset)(struct data_unset *p ) ;
2175    int (*insert_dup)(struct data_unset *dst , struct data_unset *src ) ;   2175    int (*insert_dup)(struct data_unset *dst , struct data_unset *src ) ;
2176    void (*print)(struct data_unset  const  *p , int depth ) ;   2176    void (*print)(struct data_unset  const  *p , int depth ) ;
2177 };   2177 };
2178 typedef struct data_unset data_unset;   2178 typedef struct data_unset data_unset;
2179 struct __anonstruct_array_113 {   2179 struct __anonstruct_array_113 {
2180    data_unset **data ;   2180    data_unset **data ;
2181    size_t *sorted ;   2181    size_t *sorted ;
2182    size_t used ;   2182    size_t used ;
2183    size_t size ;   2183    size_t size ;
2184    size_t unique_ndx ;   2184    size_t unique_ndx ;
2185    size_t next_power_of_2 ;   2185    size_t next_power_of_2 ;
2186    int is_weakref ;   2186    int is_weakref ;
2187 };   2187 };
2188 typedef struct __anonstruct_array_113 array;   2188 typedef struct __anonstruct_array_113 array;
2189 struct __anonstruct_data_count_114 {   2189 struct __anonstruct_data_count_114 {
2190    data_type_t type ;   2190    data_type_t type ;
2191    buffer *key ;   2191    buffer *key ;
2192    int is_index_key ;   2192    int is_index_key ;
2193    struct data_unset *(*copy)(struct data_unset  const  *src ) ;   2193    struct data_unset *(*copy)(struct data_unset  const  *src ) ;
2194    void (*free)(struct data_unset *p ) ;   2194    void (*free)(struct data_unset *p ) ;
2195    void (*reset)(struct data_unset *p ) ;   2195    void (*reset)(struct data_unset *p ) ;
2196    int (*insert_dup)(struct data_unset *dst , struct data_unset *src ) ;   2196    int (*insert_dup)(struct data_unset *dst , struct data_unset *src ) ;
2197    void (*print)(struct data_unset  const  *p , int depth ) ;   2197    void (*print)(struct data_unset  const  *p , int depth ) ;
2198    int count ;   2198    int count ;
2199 };   2199 };
2200 typedef struct __anonstruct_data_count_114 data_count;   2200 typedef struct __anonstruct_data_count_114 data_count;
2201 struct __anonstruct_data_string_115 {   2201 struct __anonstruct_data_string_115 {
2202    data_type_t type ;   2202    data_type_t type ;
2203    buffer *key ;   2203    buffer *key ;
2204    int is_index_key ;   2204    int is_index_key ;
2205    struct data_unset *(*copy)(struct data_unset  const  *src ) ;   2205    struct data_unset *(*copy)(struct data_unset  const  *src ) ;
2206    void (*free)(struct data_unset *p ) ;   2206    void (*free)(struct data_unset *p ) ;
2207    void (*reset)(struct data_unset *p ) ;   2207    void (*reset)(struct data_unset *p ) ;
2208    int (*insert_dup)(struct data_unset *dst , struct data_unset *src ) ;   2208    int (*insert_dup)(struct data_unset *dst , struct data_unset *src ) ;
2209    void (*print)(struct data_unset  const  *p , int depth ) ;   2209    void (*print)(struct data_unset  const  *p , int depth ) ;
2210    buffer *value ;   2210    buffer *value ;
2211 };   2211 };
2212 typedef struct __anonstruct_data_string_115 data_string;   2212 typedef struct __anonstruct_data_string_115 data_string;
2213 struct __anonstruct_data_array_116 {   2213 struct __anonstruct_data_array_116 {
2214    data_type_t type ;   2214    data_type_t type ;
2215    buffer *key ;   2215    buffer *key ;
2216    int is_index_key ;   2216    int is_index_key ;
2217    struct data_unset *(*copy)(struct data_unset  const  *src ) ;   2217    struct data_unset *(*copy)(struct data_unset  const  *src ) ;
2218    void (*free)(struct data_unset *p ) ;   2218    void (*free)(struct data_unset *p ) ;
2219    void (*reset)(struct data_unset *p ) ;   2219    void (*reset)(struct data_unset *p ) ;
2220    int (*insert_dup)(struct data_unset *dst , struct data_unset *src ) ;   2220    int (*insert_dup)(struct data_unset *dst , struct data_unset *src ) ;
2221    void (*print)(struct data_unset  const  *p , int depth ) ;   2221    void (*print)(struct data_unset  const  *p , int depth ) ;
2222    array *value ;   2222    array *value ;
2223 };   2223 };
2224 typedef struct __anonstruct_data_array_116 data_array;   2224 typedef struct __anonstruct_data_array_116 data_array;
2225 enum __anonenum_config_cond_t_117 {   2225 enum __anonenum_config_cond_t_117 {
2226     CONFIG_COND_UNSET = 0,   2226     CONFIG_COND_UNSET = 0,
2227     CONFIG_COND_EQ = 1,   2227     CONFIG_COND_EQ = 1,
2228     CONFIG_COND_MATCH = 2,   2228     CONFIG_COND_MATCH = 2,
2229     CONFIG_COND_NE = 3,   2229     CONFIG_COND_NE = 3,
2230     CONFIG_COND_NOMATCH = 4   2230     CONFIG_COND_NOMATCH = 4
2231 } ;   2231 } ;
2232 typedef enum __anonenum_config_cond_t_117 config_cond_t;   2232 typedef enum __anonenum_config_cond_t_117 config_cond_t;
2233 enum __anonenum_comp_key_t_118 {   2233 enum __anonenum_comp_key_t_118 {
2234     COMP_UNSET = 0,   2234     COMP_UNSET = 0,
2235     COMP_SERVER_SOCKET = 1,   2235     COMP_SERVER_SOCKET = 1,
2236     COMP_HTTP_URL = 2,   2236     COMP_HTTP_URL = 2,
2237     COMP_HTTP_HOST = 3,   2237     COMP_HTTP_HOST = 3,
2238     COMP_HTTP_REFERER = 4,   2238     COMP_HTTP_REFERER = 4,
2239     COMP_HTTP_USER_AGENT = 5,   2239     COMP_HTTP_USER_AGENT = 5,
2240     COMP_HTTP_COOKIE = 6,   2240     COMP_HTTP_COOKIE = 6,
2241     COMP_HTTP_REMOTE_IP = 7,   2241     COMP_HTTP_REMOTE_IP = 7,
2242     COMP_HTTP_QUERY_STRING = 8,   2242     COMP_HTTP_QUERY_STRING = 8,
2243     COMP_HTTP_REQUEST_METHOD = 9,   2243     COMP_HTTP_REQUEST_METHOD = 9,
2244     COMP_PHYSICAL_PATH = 10,   2244     COMP_PHYSICAL_PATH = 10,
2245     COMP_LAST_ELEMENT = 11   2245     COMP_LAST_ELEMENT = 11
2246 } ;   2246 } ;
2247 typedef enum __anonenum_comp_key_t_118 comp_key_t;   2247 typedef enum __anonenum_comp_key_t_118 comp_key_t;
2248 struct _data_config;   2248 struct _data_config;
2249 typedef struct _data_config data_config;   2249 typedef struct _data_config data_config;
2250 struct _data_config {   2250 struct _data_config {
2251    data_type_t type ;   2251    data_type_t type ;
2252    buffer *key ;   2252    buffer *key ;
2253    int is_index_key ;   2253    int is_index_key ;
2254    struct data_unset *(*copy)(struct data_unset  const  *src ) ;   2254    struct data_unset *(*copy)(struct data_unset  const  *src ) ;
2255    void (*free)(struct data_unset *p ) ;   2255    void (*free)(struct data_unset *p ) ;
2256    void (*reset)(struct data_unset *p ) ;   2256    void (*reset)(struct data_unset *p ) ;
2257    int (*insert_dup)(struct data_unset *dst , struct data_unset *src ) ;   2257    int (*insert_dup)(struct data_unset *dst , struct data_unset *src ) ;
2258    void (*print)(struct data_unset  const  *p , int depth ) ;   2258    void (*print)(struct data_unset  const  *p , int depth ) ;
2259    array *value ;   2259    array *value ;
2260    buffer *comp_key ;   2260    buffer *comp_key ;
2261    comp_key_t comp ;   2261    comp_key_t comp ;
2262    config_cond_t cond ;   2262    config_cond_t cond ;
2263    buffer *op ;   2263    buffer *op ;
2264    int context_ndx ;   2264    int context_ndx ;
2265    array *childs ;   2265    array *childs ;
2266    data_config *parent ;   2266    data_config *parent ;
2267    data_config *prev ;   2267    data_config *prev ;
2268    data_config *next ;   2268    data_config *next ;
2269    buffer *string ;   2269    buffer *string ;
2270    pcre *regex ;   2270    pcre *regex ;
2271    pcre_extra *regex_study ;   2271    pcre_extra *regex_study ;
2272 };   2272 };
2273 struct __anonstruct_data_integer_119 {   2273 struct __anonstruct_data_integer_119 {
2274    data_type_t type ;   2274    data_type_t type ;
2275    buffer *key ;   2275    buffer *key ;
2276    int is_index_key ;   2276    int is_index_key ;
2277    struct data_unset *(*copy)(struct data_unset  const  *src ) ;   2277    struct data_unset *(*copy)(struct data_unset  const  *src ) ;
2278    void (*free)(struct data_unset *p ) ;   2278    void (*free)(struct data_unset *p ) ;
2279    void (*reset)(struct data_unset *p ) ;   2279    void (*reset)(struct data_unset *p ) ;
2280    int (*insert_dup)(struct data_unset *dst , struct data_unset *src ) ;   2280    int (*insert_dup)(struct data_unset *dst , struct data_unset *src ) ;
2281    void (*print)(struct data_unset  const  *p , int depth ) ;   2281    void (*print)(struct data_unset  const  *p , int depth ) ;
2282    int value ;   2282    int value ;
2283 };   2283 };
2284 typedef struct __anonstruct_data_integer_119 data_integer;   2284 typedef struct __anonstruct_data_integer_119 data_integer;
2285 enum __anonenum_type_120 {   2285 enum __anonenum_type_120 {
2286     UNUSED_CHUNK = 0,   2286     UNUSED_CHUNK = 0,
2287     MEM_CHUNK = 1,   2287     MEM_CHUNK = 1,
2288     FILE_CHUNK = 2   2288     FILE_CHUNK = 2
2289 } ;   2289 } ;
2290 struct __anonstruct_mmap_122 {   2290 struct __anonstruct_mmap_122 {
2291    char *start ;   2291    char *start ;
2292    size_t length ;   2292    size_t length ;
2293    off_t offset ;   2293    off_t offset ;
2294 };   2294 };
2295 struct __anonstruct_copy_123 {   2295 struct __anonstruct_copy_123 {
2296    int fd ;   2296    int fd ;
2297    off_t length ;   2297    off_t length ;
2298    off_t offset ;   2298    off_t offset ;
2299 };   2299 };
2300 struct __anonstruct_file_121 {   2300 struct __anonstruct_file_121 {
2301    buffer *name ;   2301    buffer *name ;
2302    off_t start ;   2302    off_t start ;
2303    off_t length ;   2303    off_t length ;
2304    int fd ;   2304    int fd ;
2305    struct __anonstruct_mmap_122 mmap ;   2305    struct __anonstruct_mmap_122 mmap ;
2306    int is_temp ;   2306    int is_temp ;
2307    struct __anonstruct_copy_123 copy ;   2307    struct __anonstruct_copy_123 copy ;
2308 };   2308 };
2309 struct __anonstruct_async_124 {   2309 struct __anonstruct_async_124 {
2310    off_t written ;   2310    off_t written ;
2311    int ret_val ;   2311    int ret_val ;
2312 };   2312 };
2313 struct chunk {   2313 struct chunk {
2314    enum __anonenum_type_120 type ;   2314    enum __anonenum_type_120 type ;
2315    buffer *mem ;   2315    buffer *mem ;
2316    struct __anonstruct_file_121 file ;   2316    struct __anonstruct_file_121 file ;
2317    off_t offset ;   2317    off_t offset ;
2318    struct __anonstruct_async_124 async ;   2318    struct __anonstruct_async_124 async ;
2319    struct chunk *next ;   2319    struct chunk *next ;
2320 };   2320 };
2321 typedef struct chunk chunk;   2321 typedef struct chunk chunk;
2322 struct __anonstruct_chunkqueue_125 {   2322 struct __anonstruct_chunkqueue_125 {
2323    chunk *first ;   2323    chunk *first ;
2324    chunk *last ;   2324    chunk *last ;
2325    chunk *unused ;   2325    chunk *unused ;
2326    size_t unused_chunks ;   2326    size_t unused_chunks ;
2327    array *tempdirs ;   2327    array *tempdirs ;
2328    int is_closed ;   2328    int is_closed ;
2329    off_t bytes_in ;   2329    off_t bytes_in ;
2330    off_t bytes_out ;   2330    off_t bytes_out ;
2331 };   2331 };
2332 typedef struct __anonstruct_chunkqueue_125 chunkqueue;   2332 typedef struct __anonstruct_chunkqueue_125 chunkqueue;
2333 struct filter {   2333 struct filter {
2334    struct filter *prev ;   2334    struct filter *prev ;
2335    struct filter *next ;   2335    struct filter *next ;
2336    int id ;   2336    int id ;
2337    chunkqueue *cq ;   2337    chunkqueue *cq ;
2338 };   2338 };
2339 typedef struct filter filter;   2339 typedef struct filter filter;
2340 struct __anonstruct_filter_chain_126 {   2340 struct __anonstruct_filter_chain_126 {
2341    filter *first ;   2341    filter *first ;
2342    filter *last ;   2342    filter *last ;
2343 };   2343 };
2344 typedef struct __anonstruct_filter_chain_126 filter_chain;   2344 typedef struct __anonstruct_filter_chain_126 filter_chain;
2345 enum __anonenum_http_method_t_127 {   2345 enum __anonenum_http_method_t_127 {
2346     HTTP_METHOD_UNSET = -1,   2346     HTTP_METHOD_UNSET = -1,
2347     HTTP_METHOD_GET = 0,   2347     HTTP_METHOD_GET = 0,
2348     HTTP_METHOD_POST = 1,   2348     HTTP_METHOD_POST = 1,
2349     HTTP_METHOD_HEAD = 2,   2349     HTTP_METHOD_HEAD = 2,
2350     HTTP_METHOD_OPTIONS = 3,   2350     HTTP_METHOD_OPTIONS = 3,
2351     HTTP_METHOD_PROPFIND = 4,   2351     HTTP_METHOD_PROPFIND = 4,
2352     HTTP_METHOD_MKCOL = 5,   2352     HTTP_METHOD_MKCOL = 5,
2353     HTTP_METHOD_PUT = 6,   2353     HTTP_METHOD_PUT = 6,
2354     HTTP_METHOD_DELETE = 7,   2354     HTTP_METHOD_DELETE = 7,
2355     HTTP_METHOD_COPY = 8,   2355     HTTP_METHOD_COPY = 8,
2356     HTTP_METHOD_MOVE = 9,   2356     HTTP_METHOD_MOVE = 9,
2357     HTTP_METHOD_PROPPATCH = 10,   2357     HTTP_METHOD_PROPPATCH = 10,
2358     HTTP_METHOD_REPORT = 11,   2358     HTTP_METHOD_REPORT = 11,
2359     HTTP_METHOD_CHECKOUT = 12,   2359     HTTP_METHOD_CHECKOUT = 12,
2360     HTTP_METHOD_CHECKIN = 13,   2360     HTTP_METHOD_CHECKIN = 13,
2361     HTTP_METHOD_VERSION_CONTROL = 14,   2361     HTTP_METHOD_VERSION_CONTROL = 14,
2362     HTTP_METHOD_UNCHECKOUT = 15,   2362     HTTP_METHOD_UNCHECKOUT = 15,
2363     HTTP_METHOD_MKACTIVITY = 16,   2363     HTTP_METHOD_MKACTIVITY = 16,
2364     HTTP_METHOD_MERGE = 17,   2364     HTTP_METHOD_MERGE = 17,
2365     HTTP_METHOD_LOCK = 18,   2365     HTTP_METHOD_LOCK = 18,
2366     HTTP_METHOD_UNLOCK = 19,   2366     HTTP_METHOD_UNLOCK = 19,
2367     HTTP_METHOD_LABEL = 20,   2367     HTTP_METHOD_LABEL = 20,
2368     HTTP_METHOD_CONNECT = 21   2368     HTTP_METHOD_CONNECT = 21
2369 } ;   2369 } ;
2370 typedef enum __anonenum_http_method_t_127 http_method_t;   2370 typedef enum __anonenum_http_method_t_127 http_method_t;
2371 enum __anonenum_http_version_t_128 {   2371 enum __anonenum_http_version_t_128 {
2372     HTTP_VERSION_UNSET = -1,   2372     HTTP_VERSION_UNSET = -1,
2373     HTTP_VERSION_1_0 = 0,   2373     HTTP_VERSION_1_0 = 0,
2374     HTTP_VERSION_1_1 = 1   2374     HTTP_VERSION_1_1 = 1
2375 } ;   2375 } ;
2376 typedef enum __anonenum_http_version_t_128 http_version_t;   2376 typedef enum __anonenum_http_version_t_128 http_version_t;
2377 struct __anonstruct_keyvalue_129 {   2377 struct __anonstruct_keyvalue_129 {
2378    int key ;   2378    int key ;
2379    char *value ;   2379    char *value ;
2380 };   2380 };
2381 typedef struct __anonstruct_keyvalue_129 keyvalue;   2381 typedef struct __anonstruct_keyvalue_129 keyvalue;
2382 struct __anonstruct_s_keyvalue_130 {   2382 struct __anonstruct_s_keyvalue_130 {
2383    char *key ;   2383    char *key ;
2384    char *value ;   2384    char *value ;
2385 };   2385 };
2386 typedef struct __anonstruct_s_keyvalue_130 s_keyvalue;   2386 typedef struct __anonstruct_s_keyvalue_130 s_keyvalue;
2387 struct __anonstruct_pcre_keyvalue_131 {   2387 struct __anonstruct_pcre_keyvalue_131 {
2388    pcre *key ;   2388    pcre *key ;
2389    pcre_extra *key_extra ;   2389    pcre_extra *key_extra ;
2390    buffer *value ;   2390    buffer *value ;
2391 };   2391 };
2392 typedef struct __anonstruct_pcre_keyvalue_131 pcre_keyvalue;   2392 typedef struct __anonstruct_pcre_keyvalue_131 pcre_keyvalue;
2393 enum __anonenum_httpauth_type_132 {   2393 enum __anonenum_httpauth_type_132 {
2394     HTTP_AUTH_BASIC = 0,   2394     HTTP_AUTH_BASIC = 0,
2395     HTTP_AUTH_DIGEST = 1   2395     HTTP_AUTH_DIGEST = 1
2396 } ;   2396 } ;
2397 typedef enum __anonenum_httpauth_type_132 httpauth_type;   2397 typedef enum __anonenum_httpauth_type_132 httpauth_type;
2398 struct __anonstruct_httpauth_keyvalue_133 {   2398 struct __anonstruct_httpauth_keyvalue_133 {
2399    char *key ;   2399    char *key ;
2400    char *realm ;   2400    char *realm ;
2401    httpauth_type type ;   2401    httpauth_type type ;
2402 };   2402 };
2403 typedef struct __anonstruct_httpauth_keyvalue_133 httpauth_keyvalue;   2403 typedef struct __anonstruct_httpauth_keyvalue_133 httpauth_keyvalue;
2404 struct __anonstruct_keyvalue_buffer_134 {   2404 struct __anonstruct_keyvalue_buffer_134 {
2405    keyvalue **kv ;   2405    keyvalue **kv ;
2406    size_t used ;   2406    size_t used ;
2407    size_t size ;   2407    size_t size ;
2408 };   2408 };
2409 typedef struct __anonstruct_keyvalue_buffer_134 keyvalue_buffer;   2409 typedef struct __anonstruct_keyvalue_buffer_134 keyvalue_buffer;
2410 struct __anonstruct_s_keyvalue_buffer_135 {   2410 struct __anonstruct_s_keyvalue_buffer_135 {
2411    s_keyvalue **kv ;   2411    s_keyvalue **kv ;
2412    size_t used ;   2412    size_t used ;
2413    size_t size ;   2413    size_t size ;
2414 };   2414 };
2415 typedef struct __anonstruct_s_keyvalue_buffer_135 s_keyvalue_buffer;   2415 typedef struct __anonstruct_s_keyvalue_buffer_135 s_keyvalue_buffer;
2416 struct __anonstruct_httpauth_keyvalue_buffer_136 {   2416 struct __anonstruct_httpauth_keyvalue_buffer_136 {
2417    httpauth_keyvalue **kv ;   2417    httpauth_keyvalue **kv ;
2418    size_t used ;   2418    size_t used ;
2419    size_t size ;   2419    size_t size ;
2420 };   2420 };
2421 typedef struct __anonstruct_httpauth_keyvalue_buffer_136 httpauth_keyvalue_buffer;   2421 typedef struct __anonstruct_httpauth_keyvalue_buffer_136 httpauth_keyvalue_buffer;
2422 struct __anonstruct_pcre_keyvalue_buffer_137 {   2422 struct __anonstruct_pcre_keyvalue_buffer_137 {
2423    pcre_keyvalue **kv ;   2423    pcre_keyvalue **kv ;
2424    size_t used ;   2424    size_t used ;
2425    size_t size ;   2425    size_t size ;
2426 };   2426 };
2427 typedef struct __anonstruct_pcre_keyvalue_buffer_137 pcre_keyvalue_buffer;   2427 typedef struct __anonstruct_pcre_keyvalue_buffer_137 pcre_keyvalue_buffer;
2428 struct __anonstruct_bitset_138 {   2428 struct __anonstruct_bitset_138 {
2429    size_t *bits ;   2429    size_t *bits ;
2430    size_t nbits ;   2430    size_t nbits ;
2431 };   2431 };
2432 typedef struct __anonstruct_bitset_138 bitset;   2432 typedef struct __anonstruct_bitset_138 bitset;
2433 struct stack_st {   2433 struct stack_st {
2434    int num ;   2434    int num ;
2435    char **data ;   2435    char **data ;
2436    int sorted ;   2436    int sorted ;
2437    int num_alloc ;   2437    int num_alloc ;
2438    int (*comp)(void const   * , void const   * ) ;   2438    int (*comp)(void const   * , void const   * ) ;
2439 };   2439 };
2440 typedef struct stack_st _STACK;   2440 typedef struct stack_st _STACK;
2441 typedef char *OPENSSL_STRING;   2441 typedef char *OPENSSL_STRING;
2442 typedef char const   *OPENSSL_CSTRING;   2442 typedef char const   *OPENSSL_CSTRING;
2443 struct stack_st_OPENSSL_STRING {   2443 struct stack_st_OPENSSL_STRING {
2444    _STACK stack ;   2444    _STACK stack ;
2445 };   2445 };
2446 typedef void *OPENSSL_BLOCK;   2446 typedef void *OPENSSL_BLOCK;
2447 struct stack_st_OPENSSL_BLOCK {   2447 struct stack_st_OPENSSL_BLOCK {
2448    _STACK stack ;   2448    _STACK stack ;
2449 };   2449 };
2450 struct asn1_string_st;   2450 struct asn1_string_st;
2451 typedef struct asn1_string_st ASN1_INTEGER;   2451 typedef struct asn1_string_st ASN1_INTEGER;
2452 typedef struct asn1_string_st ASN1_ENUMERATED;   2452 typedef struct asn1_string_st ASN1_ENUMERATED;
2453 typedef struct asn1_string_st ASN1_BIT_STRING;   2453 typedef struct asn1_string_st ASN1_BIT_STRING;
2454 typedef struct asn1_string_st ASN1_OCTET_STRING;   2454 typedef struct asn1_string_st ASN1_OCTET_STRING;
2455 typedef struct asn1_string_st ASN1_PRINTABLESTRING;   2455 typedef struct asn1_string_st ASN1_PRINTABLESTRING;
2456 typedef struct asn1_string_st ASN1_T61STRING;   2456 typedef struct asn1_string_st ASN1_T61STRING;
2457 typedef struct asn1_string_st ASN1_IA5STRING;   2457 typedef struct asn1_string_st ASN1_IA5STRING;
2458 typedef struct asn1_string_st ASN1_GENERALSTRING;   2458 typedef struct asn1_string_st ASN1_GENERALSTRING;
2459 typedef struct asn1_string_st ASN1_UNIVERSALSTRING;   2459 typedef struct asn1_string_st ASN1_UNIVERSALSTRING;
2460 typedef struct asn1_string_st ASN1_BMPSTRING;   2460 typedef struct asn1_string_st ASN1_BMPSTRING;
2461 typedef struct asn1_string_st ASN1_UTCTIME;   2461 typedef struct asn1_string_st ASN1_UTCTIME;
2462 typedef struct asn1_string_st ASN1_TIME;   2462 typedef struct asn1_string_st ASN1_TIME;
2463 typedef struct asn1_string_st ASN1_GENERALIZEDTIME;   2463 typedef struct asn1_string_st ASN1_GENERALIZEDTIME;
2464 typedef struct asn1_string_st ASN1_VISIBLESTRING;   2464 typedef struct asn1_string_st ASN1_VISIBLESTRING;
2465 typedef struct asn1_string_st ASN1_UTF8STRING;   2465 typedef struct asn1_string_st ASN1_UTF8STRING;
2466 typedef int ASN1_BOOLEAN;   2466 typedef int ASN1_BOOLEAN;
2467 typedef int ASN1_NULL;   2467 typedef int ASN1_NULL;
2468 struct asn1_pctx_st;   2468 struct asn1_pctx_st;
2469 typedef struct asn1_pctx_st ASN1_PCTX;   2469 typedef struct asn1_pctx_st ASN1_PCTX;
2470 struct bignum_st;   2470 struct bignum_st;
2471 typedef struct bignum_st BIGNUM;   2471 typedef struct bignum_st BIGNUM;
2472 struct bignum_ctx;   2472 struct bignum_ctx;
2473 typedef struct bignum_ctx BN_CTX;   2473 typedef struct bignum_ctx BN_CTX;
2474 struct bn_blinding_st;   2474 struct bn_blinding_st;
2475 typedef struct bn_blinding_st BN_BLINDING;   2475 typedef struct bn_blinding_st BN_BLINDING;
2476 struct bn_mont_ctx_st;   2476 struct bn_mont_ctx_st;
2477 typedef struct bn_mont_ctx_st BN_MONT_CTX;   2477 typedef struct bn_mont_ctx_st BN_MONT_CTX;
2478 struct bn_recp_ctx_st;   2478 struct bn_recp_ctx_st;
2479 typedef struct bn_recp_ctx_st BN_RECP_CTX;   2479 typedef struct bn_recp_ctx_st BN_RECP_CTX;
2480 struct bn_gencb_st;   2480 struct bn_gencb_st;
2481 typedef struct bn_gencb_st BN_GENCB;   2481 typedef struct bn_gencb_st BN_GENCB;
2482 struct buf_mem_st;   2482 struct buf_mem_st;
2483 typedef struct buf_mem_st BUF_MEM;   2483 typedef struct buf_mem_st BUF_MEM;
2484 struct evp_cipher_st;   2484 struct evp_cipher_st;
2485 typedef struct evp_cipher_st EVP_CIPHER;   2485 typedef struct evp_cipher_st EVP_CIPHER;
2486 struct evp_cipher_ctx_st;   2486 struct evp_cipher_ctx_st;
2487 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;   2487 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
2488 struct env_md_st;   2488 struct env_md_st;
2489 typedef struct env_md_st EVP_MD;   2489 typedef struct env_md_st EVP_MD;
2490 struct env_md_ctx_st;   2490 struct env_md_ctx_st;
2491 typedef struct env_md_ctx_st EVP_MD_CTX;   2491 typedef struct env_md_ctx_st EVP_MD_CTX;
2492 struct evp_pkey_st;   2492 struct evp_pkey_st;
2493 typedef struct evp_pkey_st EVP_PKEY;   2493 typedef struct evp_pkey_st EVP_PKEY;
2494 struct evp_pkey_asn1_method_st;   2494 struct evp_pkey_asn1_method_st;
2495 typedef struct evp_pkey_asn1_method_st EVP_PKEY_ASN1_METHOD;   2495 typedef struct evp_pkey_asn1_method_st EVP_PKEY_ASN1_METHOD;
2496 struct evp_pkey_method_st;   2496 struct evp_pkey_method_st;
2497 typedef struct evp_pkey_method_st EVP_PKEY_METHOD;   2497 typedef struct evp_pkey_method_st EVP_PKEY_METHOD;
2498 struct evp_pkey_ctx_st;   2498 struct evp_pkey_ctx_st;
2499 typedef struct evp_pkey_ctx_st EVP_PKEY_CTX;   2499 typedef struct evp_pkey_ctx_st EVP_PKEY_CTX;
2500 struct dh_st;   2500 struct dh_st;
2501 typedef struct dh_st DH;   2501 typedef struct dh_st DH;
2502 struct dh_method;   2502 struct dh_method;
2503 typedef struct dh_method DH_METHOD;   2503 typedef struct dh_method DH_METHOD;
2504 struct dsa_st;   2504 struct dsa_st;
2505 typedef struct dsa_st DSA;   2505 typedef struct dsa_st DSA;
2506 struct dsa_method;   2506 struct dsa_method;
2507 typedef struct dsa_method DSA_METHOD;   2507 typedef struct dsa_method DSA_METHOD;
2508 struct rsa_st;   2508 struct rsa_st;
2509 typedef struct rsa_st RSA;   2509 typedef struct rsa_st RSA;
2510 struct rsa_meth_st;   2510 struct rsa_meth_st;
2511 typedef struct rsa_meth_st RSA_METHOD;   2511 typedef struct rsa_meth_st RSA_METHOD;
2512 struct rand_meth_st;   2512 struct rand_meth_st;
2513 typedef struct rand_meth_st RAND_METHOD;   2513 typedef struct rand_meth_st RAND_METHOD;
2514 struct ecdh_method;   2514 struct ecdh_method;
2515 typedef struct ecdh_method ECDH_METHOD;   2515 typedef struct ecdh_method ECDH_METHOD;
2516 struct ecdsa_method;   2516 struct ecdsa_method;
2517 typedef struct ecdsa_method ECDSA_METHOD;   2517 typedef struct ecdsa_method ECDSA_METHOD;
2518 struct x509_st;   2518 struct x509_st;
2519 typedef struct x509_st X509;   2519 typedef struct x509_st X509;
2520 struct X509_algor_st;   2520 struct X509_algor_st;
2521 typedef struct X509_algor_st X509_ALGOR;   2521 typedef struct X509_algor_st X509_ALGOR;
2522 struct X509_crl_st;   2522 struct X509_crl_st;
2523 typedef struct X509_crl_st X509_CRL;   2523 typedef struct X509_crl_st X509_CRL;
2524 struct x509_crl_method_st;   2524 struct x509_crl_method_st;
2525 typedef struct x509_crl_method_st X509_CRL_METHOD;   2525 typedef struct x509_crl_method_st X509_CRL_METHOD;
2526 struct x509_revoked_st;   2526 struct x509_revoked_st;
2527 typedef struct x509_revoked_st X509_REVOKED;   2527 typedef struct x509_revoked_st X509_REVOKED;
2528 struct X509_name_st;   2528 struct X509_name_st;
2529 typedef struct X509_name_st X509_NAME;   2529 typedef struct X509_name_st X509_NAME;
2530 struct X509_pubkey_st;   2530 struct X509_pubkey_st;
2531 typedef struct X509_pubkey_st X509_PUBKEY;   2531 typedef struct X509_pubkey_st X509_PUBKEY;
2532 struct x509_store_st;   2532 struct x509_store_st;
2533 typedef struct x509_store_st X509_STORE;   2533 typedef struct x509_store_st X509_STORE;
2534 struct x509_store_ctx_st;   2534 struct x509_store_ctx_st;
2535 typedef struct x509_store_ctx_st X509_STORE_CTX;   2535 typedef struct x509_store_ctx_st X509_STORE_CTX;
2536 struct pkcs8_priv_key_info_st;   2536 struct pkcs8_priv_key_info_st;
2537 typedef struct pkcs8_priv_key_info_st PKCS8_PRIV_KEY_INFO;   2537 typedef struct pkcs8_priv_key_info_st PKCS8_PRIV_KEY_INFO;
2538 struct v3_ext_ctx;   2538 struct v3_ext_ctx;
2539 typedef struct v3_ext_ctx X509V3_CTX;   2539 typedef struct v3_ext_ctx X509V3_CTX;
2540 struct conf_st;   2540 struct conf_st;
2541 typedef struct conf_st CONF;   2541 typedef struct conf_st CONF;
2542 struct store_st;   2542 struct store_st;
2543 typedef struct store_st STORE;   2543 typedef struct store_st STORE;
2544 struct store_method_st;   2544 struct store_method_st;
2545 typedef struct store_method_st STORE_METHOD;   2545 typedef struct store_method_st STORE_METHOD;
2546 struct ui_st;   2546 struct ui_st;
2547 typedef struct ui_st UI;   2547 typedef struct ui_st UI;
2548 struct ui_method_st;   2548 struct ui_method_st;
2549 typedef struct ui_method_st UI_METHOD;   2549 typedef struct ui_method_st UI_METHOD;
2550 struct st_ERR_FNS;   2550 struct st_ERR_FNS;
2551 typedef struct st_ERR_FNS ERR_FNS;   2551 typedef struct st_ERR_FNS ERR_FNS;
2552 struct engine_st;   2552 struct engine_st;
2553 typedef struct engine_st ENGINE;   2553 typedef struct engine_st ENGINE;
2554 struct ssl_st;   2554 struct ssl_st;
2555 typedef struct ssl_st SSL;   2555 typedef struct ssl_st SSL;
2556 struct ssl_ctx_st;   2556 struct ssl_ctx_st;
2557 typedef struct ssl_ctx_st SSL_CTX;   2557 typedef struct ssl_ctx_st SSL_CTX;
2558 struct X509_POLICY_NODE_st;   2558 struct X509_POLICY_NODE_st;
2559 typedef struct X509_POLICY_NODE_st X509_POLICY_NODE;   2559 typedef struct X509_POLICY_NODE_st X509_POLICY_NODE;
2560 struct X509_POLICY_LEVEL_st;   2560 struct X509_POLICY_LEVEL_st;
2561 typedef struct X509_POLICY_LEVEL_st X509_POLICY_LEVEL;   2561 typedef struct X509_POLICY_LEVEL_st X509_POLICY_LEVEL;
2562 struct X509_POLICY_TREE_st;   2562 struct X509_POLICY_TREE_st;
2563 typedef struct X509_POLICY_TREE_st X509_POLICY_TREE;   2563 typedef struct X509_POLICY_TREE_st X509_POLICY_TREE;
2564 struct X509_POLICY_CACHE_st;   2564 struct X509_POLICY_CACHE_st;
2565 typedef struct X509_POLICY_CACHE_st X509_POLICY_CACHE;   2565 typedef struct X509_POLICY_CACHE_st X509_POLICY_CACHE;
2566 struct AUTHORITY_KEYID_st;   2566 struct AUTHORITY_KEYID_st;
2567 typedef struct AUTHORITY_KEYID_st AUTHORITY_KEYID;   2567 typedef struct AUTHORITY_KEYID_st AUTHORITY_KEYID;
2568 struct DIST_POINT_st;   2568 struct DIST_POINT_st;
2569 typedef struct DIST_POINT_st DIST_POINT;   2569 typedef struct DIST_POINT_st DIST_POINT;
2570 struct ISSUING_DIST_POINT_st;   2570 struct ISSUING_DIST_POINT_st;
2571 typedef struct ISSUING_DIST_POINT_st ISSUING_DIST_POINT;   2571 typedef struct ISSUING_DIST_POINT_st ISSUING_DIST_POINT;
2572 struct NAME_CONSTRAINTS_st;   2572 struct NAME_CONSTRAINTS_st;
2573 typedef struct NAME_CONSTRAINTS_st NAME_CONSTRAINTS;   2573 typedef struct NAME_CONSTRAINTS_st NAME_CONSTRAINTS;
2574 struct crypto_ex_data_st;   2574 struct crypto_ex_data_st;
2575 typedef struct crypto_ex_data_st CRYPTO_EX_DATA;   2575 typedef struct crypto_ex_data_st CRYPTO_EX_DATA;
2576 typedef int CRYPTO_EX_new(void *parent , void *ptr , CRYPTO_EX_DATA *ad ,   2576 typedef int CRYPTO_EX_new(void *parent , void *ptr , CRYPTO_EX_DATA *ad ,
2577                           int idx , long argl , void *argp );   2577                           int idx , long argl , void *argp );
2578 typedef void CRYPTO_EX_free(void *parent , void *ptr , CRYPTO_EX_DATA *ad ,   2578 typedef void CRYPTO_EX_free(void *parent , void *ptr , CRYPTO_EX_DATA *ad ,
2579                             int idx , long argl , void *argp );   2579                             int idx , long argl , void *argp );
2580 typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA *to , CRYPTO_EX_DATA *from ,   2580 typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA *to , CRYPTO_EX_DATA *from ,
2581                           void *from_d , int idx , long argl , void *argp );   2581                           void *from_d , int idx , long argl , void *argp );
2582 struct ocsp_req_ctx_st;   2582 struct ocsp_req_ctx_st;
2583 typedef struct ocsp_req_ctx_st OCSP_REQ_CTX;   2583 typedef struct ocsp_req_ctx_st OCSP_REQ_CTX;
2584 struct ocsp_response_st;   2584 struct ocsp_response_st;
2585 typedef struct ocsp_response_st OCSP_RESPONSE;   2585 typedef struct ocsp_response_st OCSP_RESPONSE;
2586 struct ocsp_responder_id_st;   2586 struct ocsp_responder_id_st;
2587 typedef struct ocsp_responder_id_st OCSP_RESPID;   2587 typedef struct ocsp_responder_id_st OCSP_RESPID;
2588 struct openssl_item_st {   2588 struct openssl_item_st {
2589    int code ;   2589    int code ;
2590    void *value ;   2590    void *value ;
2591    size_t value_size ;   2591    size_t value_size ;
2592    size_t *value_length ;   2592    size_t *value_length ;
2593 };   2593 };
2594 typedef struct openssl_item_st OPENSSL_ITEM;   2594 typedef struct openssl_item_st OPENSSL_ITEM;
2595 struct CRYPTO_dynlock_value;   2595 struct CRYPTO_dynlock_value;
2596 struct __anonstruct_CRYPTO_dynlock_139 {   2596 struct __anonstruct_CRYPTO_dynlock_139 {
2597    int references ;   2597    int references ;
2598    struct CRYPTO_dynlock_value *data ;   2598    struct CRYPTO_dynlock_value *data ;
2599 };   2599 };
2600 typedef struct __anonstruct_CRYPTO_dynlock_139 CRYPTO_dynlock;   2600 typedef struct __anonstruct_CRYPTO_dynlock_139 CRYPTO_dynlock;
2601 struct bio_st;   2601 struct bio_st;
2602 typedef struct bio_st BIO_dummy;   2602 typedef struct bio_st BIO_dummy;
2603 struct stack_st_void;   2603 struct stack_st_void;
2604 struct crypto_ex_data_st {   2604 struct crypto_ex_data_st {
2605    struct stack_st_void *sk ;   2605    struct stack_st_void *sk ;
2606    int dummy ;   2606    int dummy ;
2607 };   2607 };
2608 struct stack_st_void {   2608 struct stack_st_void {
2609    _STACK stack ;   2609    _STACK stack ;
2610 };   2610 };
2611 struct crypto_ex_data_func_st {   2611 struct crypto_ex_data_func_st {
2612    long argl ;   2612    long argl ;
2613    void *argp ;   2613    void *argp ;
2614    CRYPTO_EX_new *new_func ;   2614    CRYPTO_EX_new *new_func ;
2615    CRYPTO_EX_free *free_func ;   2615    CRYPTO_EX_free *free_func ;
2616    CRYPTO_EX_dup *dup_func ;   2616    CRYPTO_EX_dup *dup_func ;
2617 };   2617 };
2618 typedef struct crypto_ex_data_func_st CRYPTO_EX_DATA_FUNCS;   2618 typedef struct crypto_ex_data_func_st CRYPTO_EX_DATA_FUNCS;
2619 struct stack_st_CRYPTO_EX_DATA_FUNCS {   2619 struct stack_st_CRYPTO_EX_DATA_FUNCS {
2620    _STACK stack ;   2620    _STACK stack ;
2621 };   2621 };
2622 struct st_CRYPTO_EX_DATA_IMPL;   2622 struct st_CRYPTO_EX_DATA_IMPL;
2623 typedef struct st_CRYPTO_EX_DATA_IMPL CRYPTO_EX_DATA_IMPL;   2623 typedef struct st_CRYPTO_EX_DATA_IMPL CRYPTO_EX_DATA_IMPL;
2624 struct crypto_threadid_st {   2624 struct crypto_threadid_st {
2625    void *ptr ;   2625    void *ptr ;
2626    unsigned long val ;   2626    unsigned long val ;
2627 };   2627 };
2628 typedef struct crypto_threadid_st CRYPTO_THREADID;   2628 typedef struct crypto_threadid_st CRYPTO_THREADID;
2629 typedef void *CRYPTO_MEM_LEAK_CB(unsigned long  , char const   * , int  , int  ,   2629 typedef void *CRYPTO_MEM_LEAK_CB(unsigned long  , char const   * , int  , int  ,
2630                                  void * );   2630                                  void * );
2631 struct comp_ctx_st;   2631 struct comp_ctx_st;
2632 typedef struct comp_ctx_st COMP_CTX;   2632 typedef struct comp_ctx_st COMP_CTX;
2633 struct comp_method_st {   2633 struct comp_method_st {
2634    int type ;   2634    int type ;
2635    char const   *name ;   2635    char const   *name ;
2636    int (*init)(COMP_CTX *ctx ) ;   2636    int (*init)(COMP_CTX *ctx ) ;
2637    void (*finish)(COMP_CTX *ctx ) ;   2637    void (*finish)(COMP_CTX *ctx ) ;
2638    int (*compress)(COMP_CTX *ctx , unsigned char *out , unsigned int olen ,   2638    int (*compress)(COMP_CTX *ctx , unsigned char *out , unsigned int olen ,
2639                    unsigned char *in , unsigned int ilen ) ;   2639                    unsigned char *in , unsigned int ilen ) ;
2640    int (*expand)(COMP_CTX *ctx , unsigned char *out , unsigned int olen ,   2640    int (*expand)(COMP_CTX *ctx , unsigned char *out , unsigned int olen ,
2641                  unsigned char *in , unsigned int ilen ) ;   2641                  unsigned char *in , unsigned int ilen ) ;
2642    long (*ctrl)(void) ;   2642    long (*ctrl)(void) ;
2643    long (*callback_ctrl)(void) ;   2643    long (*callback_ctrl)(void) ;
2644 };   2644 };
2645 typedef struct comp_method_st COMP_METHOD;   2645 typedef struct comp_method_st COMP_METHOD;
2646 struct comp_ctx_st {   2646 struct comp_ctx_st {
2647    COMP_METHOD *meth ;   2647    COMP_METHOD *meth ;
2648    unsigned long compress_in ;   2648    unsigned long compress_in ;
2649    unsigned long compress_out ;   2649    unsigned long compress_out ;
2650    unsigned long expand_in ;   2650    unsigned long expand_in ;
2651    unsigned long expand_out ;   2651    unsigned long expand_out ;
2652    CRYPTO_EX_DATA ex_data ;   2652    CRYPTO_EX_DATA ex_data ;
2653 };   2653 };
2654 typedef struct bio_st BIO;   2654 typedef struct bio_st BIO;
2655 typedef void bio_info_cb(struct bio_st * , int  , char const   * , int  ,   2655 typedef void bio_info_cb(struct bio_st * , int  , char const   * , int  ,
2656                          long  , long  );   2656                          long  , long  );
2657 struct bio_method_st {   2657 struct bio_method_st {
2658    int type ;   2658    int type ;
2659    char const   *name ;   2659    char const   *name ;
2660    int (*bwrite)(BIO * , char const   * , int  ) ;   2660    int (*bwrite)(BIO * , char const   * , int  ) ;
2661    int (*bread)(BIO * , char * , int  ) ;   2661    int (*bread)(BIO * , char * , int  ) ;
2662    int (*bputs)(BIO * , char const   * ) ;   2662    int (*bputs)(BIO * , char const   * ) ;
2663    int (*bgets)(BIO * , char * , int  ) ;   2663    int (*bgets)(BIO * , char * , int  ) ;
2664    long (*ctrl)(BIO * , int  , long  , void * ) ;   2664    long (*ctrl)(BIO * , int  , long  , void * ) ;
2665    int (*create)(BIO * ) ;   2665    int (*create)(BIO * ) ;
2666    int (*destroy)(BIO * ) ;   2666    int (*destroy)(BIO * ) ;
2667    long (*callback_ctrl)(BIO * , int  , bio_info_cb * ) ;   2667    long (*callback_ctrl)(BIO * , int  , bio_info_cb * ) ;
2668 };   2668 };
2669 typedef struct bio_method_st BIO_METHOD;   2669 typedef struct bio_method_st BIO_METHOD;
2670 struct bio_st {   2670 struct bio_st {
2671    BIO_METHOD *method ;   2671    BIO_METHOD *method ;
2672    long (*callback)(struct bio_st * , int  , char const   * , int  , long  ,   2672    long (*callback)(struct bio_st * , int  , char const   * , int  , long  ,
2673                     long  ) ;   2673                     long  ) ;
2674    char *cb_arg ;   2674    char *cb_arg ;
2675    int init ;   2675    int init ;
2676    int shutdown ;   2676    int shutdown ;
2677    int flags ;   2677    int flags ;
2678    int retry_reason ;   2678    int retry_reason ;
2679    int num ;   2679    int num ;
2680    void *ptr ;   2680    void *ptr ;
2681    struct bio_st *next_bio ;   2681    struct bio_st *next_bio ;
2682    struct bio_st *prev_bio ;   2682    struct bio_st *prev_bio ;
2683    int references ;   2683    int references ;
2684    unsigned long num_read ;   2684    unsigned long num_read ;
2685    unsigned long num_write ;   2685    unsigned long num_write ;
2686    CRYPTO_EX_DATA ex_data ;   2686    CRYPTO_EX_DATA ex_data ;
2687 };   2687 };
2688 struct stack_st_BIO {   2688 struct stack_st_BIO {
2689    _STACK stack ;   2689    _STACK stack ;
2690 };   2690 };
2691 struct bio_f_buffer_ctx_struct {   2691 struct bio_f_buffer_ctx_struct {
2692    int ibuf_size ;   2692    int ibuf_size ;
2693    int obuf_size ;   2693    int obuf_size ;
2694    char *ibuf ;   2694    char *ibuf ;
2695    int ibuf_len ;   2695    int ibuf_len ;
2696    int ibuf_off ;   2696    int ibuf_off ;
2697    char *obuf ;   2697    char *obuf ;
2698    int obuf_len ;   2698    int obuf_len ;
2699    int obuf_off ;   2699    int obuf_off ;
2700 };   2700 };
2701 typedef struct bio_f_buffer_ctx_struct BIO_F_BUFFER_CTX;   2701 typedef struct bio_f_buffer_ctx_struct BIO_F_BUFFER_CTX;
2702 typedef int asn1_ps_func(BIO *b , unsigned char **pbuf , int *plen , void *parg );   2702 typedef int asn1_ps_func(BIO *b , unsigned char **pbuf , int *plen , void *parg );
2703 struct hostent;   2703 struct hostent;
2704 struct buf_mem_st {   2704 struct buf_mem_st {
2705    size_t length ;   2705    size_t length ;
2706    char *data ;   2706    char *data ;
2707    size_t max ;   2707    size_t max ;
2708 };   2708 };
2709 struct dsa_st;   2709 struct dsa_st;
2710 struct evp_pkey_st;   2710 struct evp_pkey_st;
2711 struct env_md_st;   2711 struct env_md_st;
2712 struct evp_cipher_st;   2712 struct evp_cipher_st;
2713 struct evp_cipher_ctx_st;   2713 struct evp_cipher_ctx_st;
2714 struct bignum_st {   2714 struct bignum_st {
2715    unsigned int *d ;   2715    unsigned int *d ;
2716    int top ;   2716    int top ;
2717    int dmax ;   2717    int dmax ;
2718    int neg ;   2718    int neg ;
2719    int flags ;   2719    int flags ;
2720 };   2720 };
2721 struct bn_mont_ctx_st {   2721 struct bn_mont_ctx_st {
2722    int ri ;   2722    int ri ;
2723    BIGNUM RR ;   2723    BIGNUM RR ;
2724    BIGNUM N ;   2724    BIGNUM N ;
2725    BIGNUM Ni ;   2725    BIGNUM Ni ;
2726    unsigned int n0[2] ;   2726    unsigned int n0[2] ;
2727    int flags ;   2727    int flags ;
2728 };   2728 };
2729 struct bn_recp_ctx_st {   2729 struct bn_recp_ctx_st {
2730    BIGNUM N ;   2730    BIGNUM N ;
2731    BIGNUM Nr ;   2731    BIGNUM Nr ;
2732    int num_bits ;   2732    int num_bits ;
2733    int shift ;   2733    int shift ;
2734    int flags ;   2734    int flags ;
2735 };   2735 };
2736 union __anonunion_cb_140 {   2736 union __anonunion_cb_140 {
2737    void (*cb_1)(int  , int  , void * ) ;   2737    void (*cb_1)(int  , int  , void * ) ;
2738    int (*cb_2)(int  , int  , BN_GENCB * ) ;   2738    int (*cb_2)(int  , int  , BN_GENCB * ) ;
2739 };   2739 };
2740 struct bn_gencb_st {   2740 struct bn_gencb_st {
2741    unsigned int ver ;   2741    unsigned int ver ;
2742    void *arg ;   2742    void *arg ;
2743    union __anonunion_cb_140 cb ;   2743    union __anonunion_cb_140 cb ;
2744 };   2744 };
2745 struct X509_algor_st;   2745 struct X509_algor_st;
2746 struct stack_st_X509_ALGOR {   2746 struct stack_st_X509_ALGOR {
2747    _STACK stack ;   2747    _STACK stack ;
2748 };   2748 };
2749 struct asn1_ctx_st {   2749 struct asn1_ctx_st {
2750    unsigned char *p ;   2750    unsigned char *p ;
2751    int eos ;   2751    int eos ;
2752    int error ;   2752    int error ;
2753    int inf ;   2753    int inf ;
2754    int tag ;   2754    int tag ;
2755    int xclass ;   2755    int xclass ;
2756    long slen ;   2756    long slen ;
2757    unsigned char *max ;   2757    unsigned char *max ;
2758    unsigned char *q ;   2758    unsigned char *q ;
2759    unsigned char **pp ;   2759    unsigned char **pp ;
2760    int line ;   2760    int line ;
2761 };   2761 };
2762 typedef struct asn1_ctx_st ASN1_CTX;   2762 typedef struct asn1_ctx_st ASN1_CTX;
2763 struct asn1_const_ctx_st {   2763 struct asn1_const_ctx_st {
2764    unsigned char const   *p ;   2764    unsigned char const   *p ;
2765    int eos ;   2765    int eos ;
2766    int error ;   2766    int error ;
2767    int inf ;   2767    int inf ;
2768    int tag ;   2768    int tag ;
2769    int xclass ;   2769    int xclass ;
2770    long slen ;   2770    long slen ;
2771    unsigned char const   *max ;   2771    unsigned char const   *max ;
2772    unsigned char const   *q ;   2772    unsigned char const   *q ;
2773    unsigned char const   **pp ;   2773    unsigned char const   **pp ;
2774    int line ;   2774    int line ;
2775 };   2775 };
2776 typedef struct asn1_const_ctx_st ASN1_const_CTX;   2776 typedef struct asn1_const_ctx_st ASN1_const_CTX;
2777 struct asn1_object_st {   2777 struct asn1_object_st {
2778    char const   *sn ;   2778    char const   *sn ;
2779    char const   *ln ;   2779    char const   *ln ;
2780    int nid ;   2780    int nid ;
2781    int length ;   2781    int length ;
2782    unsigned char const   *data ;   2782    unsigned char const   *data ;
2783    int flags ;   2783    int flags ;
2784 };   2784 };
2785 typedef struct asn1_object_st ASN1_OBJECT;   2785 typedef struct asn1_object_st ASN1_OBJECT;
2786 struct asn1_string_st {   2786 struct asn1_string_st {
2787    int length ;   2787    int length ;
2788    int type ;   2788    int type ;
2789    unsigned char *data ;   2789    unsigned char *data ;
2790    long flags ;   2790    long flags ;
2791 };   2791 };
2792 typedef struct asn1_string_st ASN1_STRING;   2792 typedef struct asn1_string_st ASN1_STRING;
2793 struct ASN1_ENCODING_st {   2793 struct ASN1_ENCODING_st {
2794    unsigned char *enc ;   2794    unsigned char *enc ;
2795    long len ;   2795    long len ;
2796    int modified ;   2796    int modified ;
2797 };   2797 };
2798 typedef struct ASN1_ENCODING_st ASN1_ENCODING;   2798 typedef struct ASN1_ENCODING_st ASN1_ENCODING;
2799 struct asn1_string_table_st {   2799 struct asn1_string_table_st {
2800    int nid ;   2800    int nid ;
2801    long minsize ;   2801    long minsize ;
2802    long maxsize ;   2802    long maxsize ;
2803    unsigned long mask ;   2803    unsigned long mask ;
2804    unsigned long flags ;   2804    unsigned long flags ;
2805 };   2805 };
2806 typedef struct asn1_string_table_st ASN1_STRING_TABLE;   2806 typedef struct asn1_string_table_st ASN1_STRING_TABLE;
2807 struct stack_st_ASN1_STRING_TABLE {   2807 struct stack_st_ASN1_STRING_TABLE {
2808    _STACK stack ;   2808    _STACK stack ;
2809 };   2809 };
2810 struct ASN1_TEMPLATE_st;   2810 struct ASN1_TEMPLATE_st;
2811 typedef struct ASN1_TEMPLATE_st ASN1_TEMPLATE;   2811 typedef struct ASN1_TEMPLATE_st ASN1_TEMPLATE;
2812 struct ASN1_ITEM_st;   2812 struct ASN1_ITEM_st;
2813 typedef struct ASN1_ITEM_st ASN1_ITEM;   2813 typedef struct ASN1_ITEM_st ASN1_ITEM;
2814 struct ASN1_TLC_st;   2814 struct ASN1_TLC_st;
2815 typedef struct ASN1_TLC_st ASN1_TLC;   2815 typedef struct ASN1_TLC_st ASN1_TLC;
2816 struct ASN1_VALUE_st;   2816 struct ASN1_VALUE_st;
2817 typedef struct ASN1_VALUE_st ASN1_VALUE;   2817 typedef struct ASN1_VALUE_st ASN1_VALUE;
2818 typedef void *d2i_of_void(void ** , unsigned char const   ** , long  );   2818 typedef void *d2i_of_void(void ** , unsigned char const   ** , long  );
2819 typedef int i2d_of_void(void * , unsigned char ** );   2819 typedef int i2d_of_void(void * , unsigned char ** );
2820 typedef ASN1_ITEM const   ASN1_ITEM_EXP;   2820 typedef ASN1_ITEM const   ASN1_ITEM_EXP;
2821 struct stack_st_ASN1_INTEGER {   2821 struct stack_st_ASN1_INTEGER {
2822    _STACK stack ;   2822    _STACK stack ;
2823 };   2823 };
2824 struct stack_st_ASN1_GENERALSTRING {   2824 struct stack_st_ASN1_GENERALSTRING {
2825    _STACK stack ;   2825    _STACK stack ;
2826 };   2826 };
2827 union __anonunion_value_141 {   2827 union __anonunion_value_141 {
2828    char *ptr ;   2828    char *ptr ;
2829    ASN1_BOOLEAN boolean ;   2829    ASN1_BOOLEAN boolean ;
2830    ASN1_STRING *asn1_string ;   2830    ASN1_STRING *asn1_string ;
2831    ASN1_OBJECT *object ;   2831    ASN1_OBJECT *object ;
2832    ASN1_INTEGER *integer ;   2832    ASN1_INTEGER *integer ;
2833    ASN1_ENUMERATED *enumerated ;   2833    ASN1_ENUMERATED *enumerated ;
2834    ASN1_BIT_STRING *bit_string ;   2834    ASN1_BIT_STRING *bit_string ;
2835    ASN1_OCTET_STRING *octet_string ;   2835    ASN1_OCTET_STRING *octet_string ;
2836    ASN1_PRINTABLESTRING *printablestring ;   2836    ASN1_PRINTABLESTRING *printablestring ;
2837    ASN1_T61STRING *t61string ;   2837    ASN1_T61STRING *t61string ;
2838    ASN1_IA5STRING *ia5string ;   2838    ASN1_IA5STRING *ia5string ;
2839    ASN1_GENERALSTRING *generalstring ;   2839    ASN1_GENERALSTRING *generalstring ;
2840    ASN1_BMPSTRING *bmpstring ;   2840    ASN1_BMPSTRING *bmpstring ;
2841    ASN1_UNIVERSALSTRING *universalstring ;   2841    ASN1_UNIVERSALSTRING *universalstring ;
2842    ASN1_UTCTIME *utctime ;   2842    ASN1_UTCTIME *utctime ;
2843    ASN1_GENERALIZEDTIME *generalizedtime ;   2843    ASN1_GENERALIZEDTIME *generalizedtime ;
2844    ASN1_VISIBLESTRING *visiblestring ;   2844    ASN1_VISIBLESTRING *visiblestring ;
2845    ASN1_UTF8STRING *utf8string ;   2845    ASN1_UTF8STRING *utf8string ;
2846    ASN1_STRING *set ;   2846    ASN1_STRING *set ;
2847    ASN1_STRING *sequence ;   2847    ASN1_STRING *sequence ;
2848    ASN1_VALUE *asn1_value ;   2848    ASN1_VALUE *asn1_value ;
2849 };   2849 };
2850 struct asn1_type_st {   2850 struct asn1_type_st {
2851    int type ;   2851    int type ;
2852    union __anonunion_value_141 value ;   2852    union __anonunion_value_141 value ;
2853 };   2853 };
2854 typedef struct asn1_type_st ASN1_TYPE;   2854 typedef struct asn1_type_st ASN1_TYPE;
2855 struct stack_st_ASN1_TYPE {   2855 struct stack_st_ASN1_TYPE {
2856    _STACK stack ;   2856    _STACK stack ;
2857 };   2857 };
2858 typedef struct stack_st_ASN1_TYPE ASN1_SEQUENCE_ANY;   2858 typedef struct stack_st_ASN1_TYPE ASN1_SEQUENCE_ANY;
2859 struct NETSCAPE_X509_st {   2859 struct NETSCAPE_X509_st {
2860    ASN1_OCTET_STRING *header ;   2860    ASN1_OCTET_STRING *header ;
2861    X509 *cert ;   2861    X509 *cert ;
2862 };   2862 };
2863 typedef struct NETSCAPE_X509_st NETSCAPE_X509;   2863 typedef struct NETSCAPE_X509_st NETSCAPE_X509;
2864 struct BIT_STRING_BITNAME_st {   2864 struct BIT_STRING_BITNAME_st {
2865    int bitnum ;   2865    int bitnum ;
2866    char const   *lname ;   2866    char const   *lname ;
2867    char const   *sname ;   2867    char const   *sname ;
2868 };   2868 };
2869 typedef struct BIT_STRING_BITNAME_st BIT_STRING_BITNAME;   2869 typedef struct BIT_STRING_BITNAME_st BIT_STRING_BITNAME;
2870 struct stack_st_ASN1_OBJECT {   2870 struct stack_st_ASN1_OBJECT {
2871    _STACK stack ;   2871    _STACK stack ;
2872 };   2872 };
2873 struct obj_name_st {   2873 struct obj_name_st {
2874    int type ;   2874    int type ;
2875    int alias ;   2875    int alias ;
2876    char const   *name ;   2876    char const   *name ;
2877    char const   *data ;   2877    char const   *data ;
2878 };   2878 };
2879 typedef struct obj_name_st OBJ_NAME;   2879 typedef struct obj_name_st OBJ_NAME;
2880 union __anonunion_pkey_142 {   2880 union __anonunion_pkey_142 {
2881    char *ptr ;   2881    char *ptr ;
2882    struct rsa_st *rsa ;   2882    struct rsa_st *rsa ;
2883    struct dsa_st *dsa ;   2883    struct dsa_st *dsa ;
2884    struct dh_st *dh ;   2884    struct dh_st *dh ;
2885 };   2885 };
2886 struct stack_st_X509_ATTRIBUTE;   2886 struct stack_st_X509_ATTRIBUTE;
2887 struct evp_pkey_st {   2887 struct evp_pkey_st {
2888    int type ;   2888    int type ;
2889    int save_type ;   2889    int save_type ;
2890    int references ;   2890    int references ;
2891    EVP_PKEY_ASN1_METHOD const   *ameth ;   2891    EVP_PKEY_ASN1_METHOD const   *ameth ;
2892    ENGINE *engine ;   2892    ENGINE *engine ;
2893    union __anonunion_pkey_142 pkey ;   2893    union __anonunion_pkey_142 pkey ;
2894    int save_parameters ;   2894    int save_parameters ;
2895    struct stack_st_X509_ATTRIBUTE *attributes ;   2895    struct stack_st_X509_ATTRIBUTE *attributes ;
2896 };   2896 };
2897 struct env_md_st {   2897 struct env_md_st {
2898    int type ;   2898    int type ;
2899    int pkey_type ;   2899    int pkey_type ;
2900    int md_size ;   2900    int md_size ;
2901    unsigned long flags ;   2901    unsigned long flags ;
2902    int (*init)(EVP_MD_CTX *ctx ) ;   2902    int (*init)(EVP_MD_CTX *ctx ) ;
2903    int (*update)(EVP_MD_CTX *ctx , void const   *data , size_t count ) ;   2903    int (*update)(EVP_MD_CTX *ctx , void const   *data , size_t count ) ;
2904    int (*final)(EVP_MD_CTX *ctx , unsigned char *md ) ;   2904    int (*final)(EVP_MD_CTX *ctx , unsigned char *md ) ;
2905    int (*copy)(EVP_MD_CTX *to , EVP_MD_CTX const   *from ) ;   2905    int (*copy)(EVP_MD_CTX *to , EVP_MD_CTX const   *from ) ;
2906    int (*cleanup)(EVP_MD_CTX *ctx ) ;   2906    int (*cleanup)(EVP_MD_CTX *ctx ) ;
2907    int (*sign)(int type , unsigned char const   *m , unsigned int m_length ,   2907    int (*sign)(int type , unsigned char const   *m , unsigned int m_length ,
2908                unsigned char *sigret , unsigned int *siglen , void *key ) ;   2908                unsigned char *sigret , unsigned int *siglen , void *key ) ;
2909    int (*verify)(int type , unsigned char const   *m , unsigned int m_length ,   2909    int (*verify)(int type , unsigned char const   *m , unsigned int m_length ,
2910                  unsigned char const   *sigbuf , unsigned int siglen ,   2910                  unsigned char const   *sigbuf , unsigned int siglen ,
2911                  void *key ) ;   2911                  void *key ) ;
2912    int required_pkey_type[5] ;   2912    int required_pkey_type[5] ;
2913    int block_size ;   2913    int block_size ;
2914    int ctx_size ;   2914    int ctx_size ;
2915    int (*md_ctrl)(EVP_MD_CTX *ctx , int cmd , int p1 , void *p2 ) ;   2915    int (*md_ctrl)(EVP_MD_CTX *ctx , int cmd , int p1 , void *p2 ) ;
2916 };   2916 };
2917 typedef int evp_sign_method(int type , unsigned char const   *m ,   2917 typedef int evp_sign_method(int type , unsigned char const   *m ,
2918                             unsigned int m_length , unsigned char *sigret ,   2918                             unsigned int m_length , unsigned char *sigret ,
2919                             unsigned int *siglen , void *key );   2919                             unsigned int *siglen , void *key );
2920 typedef int evp_verify_method(int type , unsigned char const   *m ,   2920 typedef int evp_verify_method(int type , unsigned char const   *m ,
2921                               unsigned int m_length ,   2921                               unsigned int m_length ,
2922                               unsigned char const   *sigbuf ,   2922                               unsigned char const   *sigbuf ,
2923                               unsigned int siglen , void *key );   2923                               unsigned int siglen , void *key );
2924 struct env_md_ctx_st {   2924 struct env_md_ctx_st {
2925    EVP_MD const   *digest ;   2925    EVP_MD const   *digest ;
2926    ENGINE *engine ;   2926    ENGINE *engine ;
2927    unsigned long flags ;   2927    unsigned long flags ;
2928    void *md_data ;   2928    void *md_data ;
2929    EVP_PKEY_CTX *pctx ;   2929    EVP_PKEY_CTX *pctx ;
2930    int (*update)(EVP_MD_CTX *ctx , void const   *data , size_t count ) ;   2930    int (*update)(EVP_MD_CTX *ctx , void const   *data , size_t count ) ;
2931 };   2931 };
2932 struct evp_cipher_st {   2932 struct evp_cipher_st {
2933    int nid ;   2933    int nid ;
2934    int block_size ;   2934    int block_size ;
2935    int key_len ;   2935    int key_len ;
2936    int iv_len ;   2936    int iv_len ;
2937    unsigned long flags ;   2937    unsigned long flags ;
2938    int (*init)(EVP_CIPHER_CTX *ctx , unsigned char const   *key ,   2938    int (*init)(EVP_CIPHER_CTX *ctx , unsigned char const   *key ,
2939                unsigned char const   *iv , int enc ) ;   2939                unsigned char const   *iv , int enc ) ;
2940    int (*do_cipher)(EVP_CIPHER_CTX *ctx , unsigned char *out ,   2940    int (*do_cipher)(EVP_CIPHER_CTX *ctx , unsigned char *out ,
2941                     unsigned char const   *in , size_t inl ) ;   2941                     unsigned char const   *in , size_t inl ) ;
2942    int (*cleanup)(EVP_CIPHER_CTX * ) ;   2942    int (*cleanup)(EVP_CIPHER_CTX * ) ;
2943    int ctx_size ;   2943    int ctx_size ;
2944    int (*set_asn1_parameters)(EVP_CIPHER_CTX * , ASN1_TYPE * ) ;   2944    int (*set_asn1_parameters)(EVP_CIPHER_CTX * , ASN1_TYPE * ) ;
2945    int (*get_asn1_parameters)(EVP_CIPHER_CTX * , ASN1_TYPE * ) ;   2945    int (*get_asn1_parameters)(EVP_CIPHER_CTX * , ASN1_TYPE * ) ;
2946    int (*ctrl)(EVP_CIPHER_CTX * , int type , int arg , void *ptr ) ;   2946    int (*ctrl)(EVP_CIPHER_CTX * , int type , int arg , void *ptr ) ;
2947    void *app_data ;   2947    void *app_data ;
2948 };   2948 };
2949 struct evp_cipher_info_st {   2949 struct evp_cipher_info_st {
2950    EVP_CIPHER const   *cipher ;   2950    EVP_CIPHER const   *cipher ;
2951    unsigned char iv[16] ;   2951    unsigned char iv[16] ;
2952 };   2952 };
2953 typedef struct evp_cipher_info_st EVP_CIPHER_INFO;   2953 typedef struct evp_cipher_info_st EVP_CIPHER_INFO;
2954 struct evp_cipher_ctx_st {   2954 struct evp_cipher_ctx_st {
2955    EVP_CIPHER const   *cipher ;   2955    EVP_CIPHER const   *cipher ;
2956    ENGINE *engine ;   2956    ENGINE *engine ;
2957    int encrypt ;   2957    int encrypt ;
2958    int buf_len ;   2958    int buf_len ;
2959    unsigned char oiv[16] ;   2959    unsigned char oiv[16] ;
2960    unsigned char iv[16] ;   2960    unsigned char iv[16] ;
2961    unsigned char buf[32] ;   2961    unsigned char buf[32] ;
2962    int num ;   2962    int num ;
2963    void *app_data ;   2963    void *app_data ;
2964    int key_len ;   2964    int key_len ;
2965    unsigned long flags ;   2965    unsigned long flags ;
2966    void *cipher_data ;   2966    void *cipher_data ;
2967    int final_used ;   2967    int final_used ;
2968    int block_mask ;   2968    int block_mask ;
2969    unsigned char final[32] ;   2969    unsigned char final[32] ;
2970 };   2970 };
2971 struct evp_Encode_Ctx_st {   2971 struct evp_Encode_Ctx_st {
2972    int num ;   2972    int num ;
2973    int length ;   2973    int length ;
2974    unsigned char enc_data[80] ;   2974    unsigned char enc_data[80] ;
2975    int line_num ;   2975    int line_num ;
2976    int expect_nl ;   2976    int expect_nl ;
2977 };   2977 };
2978 typedef struct evp_Encode_Ctx_st EVP_ENCODE_CTX;   2978 typedef struct evp_Encode_Ctx_st EVP_ENCODE_CTX;
2979 typedef int EVP_PBE_KEYGEN(EVP_CIPHER_CTX *ctx , char const   *pass ,   2979 typedef int EVP_PBE_KEYGEN(EVP_CIPHER_CTX *ctx , char const   *pass ,
2980                            int passlen , ASN1_TYPE *param ,   2980                            int passlen , ASN1_TYPE *param ,
2981                            EVP_CIPHER const   *cipher , EVP_MD const   *md ,   2981                            EVP_CIPHER const   *cipher , EVP_MD const   *md ,
2982                            int en_de );   2982                            int en_de );
2983 struct rsa_st;   2983 struct rsa_st;
2984 struct dsa_st;   2984 struct dsa_st;
2985 struct dh_st;   2985 struct dh_st;
2986 typedef int EVP_PKEY_gen_cb(EVP_PKEY_CTX *ctx );   2986 typedef int EVP_PKEY_gen_cb(EVP_PKEY_CTX *ctx );
2987 struct rsa_meth_st {   2987 struct rsa_meth_st {
2988    char const   *name ;   2988    char const   *name ;
2989    int (*rsa_pub_enc)(int flen , unsigned char const   *from ,   2989    int (*rsa_pub_enc)(int flen , unsigned char const   *from ,
2990                       unsigned char *to , RSA *rsa , int padding ) ;   2990                       unsigned char *to , RSA *rsa , int padding ) ;
2991    int (*rsa_pub_dec)(int flen , unsigned char const   *from ,   2991    int (*rsa_pub_dec)(int flen , unsigned char const   *from ,
2992                       unsigned char *to , RSA *rsa , int padding ) ;   2992                       unsigned char *to , RSA *rsa , int padding ) ;
2993    int (*rsa_priv_enc)(int flen , unsigned char const   *from ,   2993    int (*rsa_priv_enc)(int flen , unsigned char const   *from ,
2994                        unsigned char *to , RSA *rsa , int padding ) ;   2994                        unsigned char *to , RSA *rsa , int padding ) ;
2995    int (*rsa_priv_dec)(int flen , unsigned char const   *from ,   2995    int (*rsa_priv_dec)(int flen , unsigned char const   *from ,
2996                        unsigned char *to , RSA *rsa , int padding ) ;   2996                        unsigned char *to , RSA *rsa , int padding ) ;
2997    int (*rsa_mod_exp)(BIGNUM *r0 , BIGNUM const   *I , RSA *rsa , BN_CTX *ctx ) ;   2997    int (*rsa_mod_exp)(BIGNUM *r0 , BIGNUM const   *I , RSA *rsa , BN_CTX *ctx ) ;
2998    int (*bn_mod_exp)(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,   2998    int (*bn_mod_exp)(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,
2999                      BIGNUM const   *m , BN_CTX *ctx , BN_MONT_CTX *m_ctx ) ;   2999                      BIGNUM const   *m , BN_CTX *ctx , BN_MONT_CTX *m_ctx ) ;
3000    int (*init)(RSA *rsa ) ;   3000    int (*init)(RSA *rsa ) ;
3001    int (*finish)(RSA *rsa ) ;   3001    int (*finish)(RSA *rsa ) ;
3002    int flags ;   3002    int flags ;
3003    char *app_data ;   3003    char *app_data ;
3004    int (*rsa_sign)(int type , unsigned char const   *m , unsigned int m_length ,   3004    int (*rsa_sign)(int type , unsigned char const   *m , unsigned int m_length ,
3005                    unsigned char *sigret , unsigned int *siglen ,   3005                    unsigned char *sigret , unsigned int *siglen ,
3006                    RSA const   *rsa ) ;   3006                    RSA const   *rsa ) ;
3007    int (*rsa_verify)(int dtype , unsigned char const   *m ,   3007    int (*rsa_verify)(int dtype , unsigned char const   *m ,
3008                      unsigned int m_length , unsigned char const   *sigbuf ,   3008                      unsigned int m_length , unsigned char const   *sigbuf ,
3009                      unsigned int siglen , RSA const   *rsa ) ;   3009                      unsigned int siglen , RSA const   *rsa ) ;
3010    int (*rsa_keygen)(RSA *rsa , int bits , BIGNUM *e , BN_GENCB *cb ) ;   3010    int (*rsa_keygen)(RSA *rsa , int bits , BIGNUM *e , BN_GENCB *cb ) ;
3011 };   3011 };
3012 struct rsa_st {   3012 struct rsa_st {
3013    int pad ;   3013    int pad ;
3014    long version ;   3014    long version ;
3015    RSA_METHOD const   *meth ;   3015    RSA_METHOD const   *meth ;
3016    ENGINE *engine ;   3016    ENGINE *engine ;
3017    BIGNUM *n ;   3017    BIGNUM *n ;
3018    BIGNUM *e ;   3018    BIGNUM *e ;
3019    BIGNUM *d ;   3019    BIGNUM *d ;
3020    BIGNUM *p ;   3020    BIGNUM *p ;
3021    BIGNUM *q ;   3021    BIGNUM *q ;
3022    BIGNUM *dmp1 ;   3022    BIGNUM *dmp1 ;
3023    BIGNUM *dmq1 ;   3023    BIGNUM *dmq1 ;
3024    BIGNUM *iqmp ;   3024    BIGNUM *iqmp ;
3025    CRYPTO_EX_DATA ex_data ;   3025    CRYPTO_EX_DATA ex_data ;
3026    int references ;   3026    int references ;
3027    int flags ;   3027    int flags ;
3028    BN_MONT_CTX *_method_mod_n ;   3028    BN_MONT_CTX *_method_mod_n ;
3029    BN_MONT_CTX *_method_mod_p ;   3029    BN_MONT_CTX *_method_mod_p ;
3030    BN_MONT_CTX *_method_mod_q ;   3030    BN_MONT_CTX *_method_mod_q ;
3031    char *bignum_data ;   3031    char *bignum_data ;
3032    BN_BLINDING *blinding ;   3032    BN_BLINDING *blinding ;
3033    BN_BLINDING *mt_blinding ;   3033    BN_BLINDING *mt_blinding ;
3034 };   3034 };
3035 struct dh_method {   3035 struct dh_method {
3036    char const   *name ;   3036    char const   *name ;
3037    int (*generate_key)(DH *dh ) ;   3037    int (*generate_key)(DH *dh ) ;
3038    int (*compute_key)(unsigned char *key , BIGNUM const   *pub_key , DH *dh ) ;   3038    int (*compute_key)(unsigned char *key , BIGNUM const   *pub_key , DH *dh ) ;
3039    int (*bn_mod_exp)(DH const   *dh , BIGNUM *r , BIGNUM const   *a ,   3039    int (*bn_mod_exp)(DH const   *dh , BIGNUM *r , BIGNUM const   *a ,
3040                      BIGNUM const   *p , BIGNUM const   *m , BN_CTX *ctx ,   3040                      BIGNUM const   *p , BIGNUM const   *m , BN_CTX *ctx ,
3041                      BN_MONT_CTX *m_ctx ) ;   3041                      BN_MONT_CTX *m_ctx ) ;
3042    int (*init)(DH *dh ) ;   3042    int (*init)(DH *dh ) ;
3043    int (*finish)(DH *dh ) ;   3043    int (*finish)(DH *dh ) ;
3044    int flags ;   3044    int flags ;
3045    char *app_data ;   3045    char *app_data ;
3046    int (*generate_params)(DH *dh , int prime_len , int generator , BN_GENCB *cb ) ;   3046    int (*generate_params)(DH *dh , int prime_len , int generator , BN_GENCB *cb ) ;
3047 };   3047 };
3048 struct dh_st {   3048 struct dh_st {
3049    int pad ;   3049    int pad ;
3050    int version ;   3050    int version ;
3051    BIGNUM *p ;   3051    BIGNUM *p ;
3052    BIGNUM *g ;   3052    BIGNUM *g ;
3053    long length ;   3053    long length ;
3054    BIGNUM *pub_key ;   3054    BIGNUM *pub_key ;
3055    BIGNUM *priv_key ;   3055    BIGNUM *priv_key ;
3056    int flags ;   3056    int flags ;
3057    BN_MONT_CTX *method_mont_p ;   3057    BN_MONT_CTX *method_mont_p ;
3058    BIGNUM *q ;   3058    BIGNUM *q ;
3059    BIGNUM *j ;   3059    BIGNUM *j ;
3060    unsigned char *seed ;   3060    unsigned char *seed ;
3061    int seedlen ;   3061    int seedlen ;
3062    BIGNUM *counter ;   3062    BIGNUM *counter ;
3063    int references ;   3063    int references ;
3064    CRYPTO_EX_DATA ex_data ;   3064    CRYPTO_EX_DATA ex_data ;
3065    DH_METHOD const   *meth ;   3065    DH_METHOD const   *meth ;
3066    ENGINE *engine ;   3066    ENGINE *engine ;
3067 };   3067 };
3068 struct DSA_SIG_st {   3068 struct DSA_SIG_st {
3069    BIGNUM *r ;   3069    BIGNUM *r ;
3070    BIGNUM *s ;   3070    BIGNUM *s ;
3071 };   3071 };
3072 typedef struct DSA_SIG_st DSA_SIG;   3072 typedef struct DSA_SIG_st DSA_SIG;
3073 struct dsa_method {   3073 struct dsa_method {
3074    char const   *name ;   3074    char const   *name ;
3075    DSA_SIG *(*dsa_do_sign)(unsigned char const   *dgst , int dlen , DSA *dsa ) ;   3075    DSA_SIG *(*dsa_do_sign)(unsigned char const   *dgst , int dlen , DSA *dsa ) ;
3076    int (*dsa_sign_setup)(DSA *dsa , BN_CTX *ctx_in , BIGNUM **kinvp ,   3076    int (*dsa_sign_setup)(DSA *dsa , BN_CTX *ctx_in , BIGNUM **kinvp ,
3077                          BIGNUM **rp ) ;   3077                          BIGNUM **rp ) ;
3078    int (*dsa_do_verify)(unsigned char const   *dgst , int dgst_len ,   3078    int (*dsa_do_verify)(unsigned char const   *dgst , int dgst_len ,
3079                         DSA_SIG *sig , DSA *dsa ) ;   3079                         DSA_SIG *sig , DSA *dsa ) ;
3080    int (*dsa_mod_exp)(DSA *dsa , BIGNUM *rr , BIGNUM *a1 , BIGNUM *p1 ,   3080    int (*dsa_mod_exp)(DSA *dsa , BIGNUM *rr , BIGNUM *a1 , BIGNUM *p1 ,
3081                       BIGNUM *a2 , BIGNUM *p2 , BIGNUM *m , BN_CTX *ctx ,   3081                       BIGNUM *a2 , BIGNUM *p2 , BIGNUM *m , BN_CTX *ctx ,
3082                       BN_MONT_CTX *in_mont ) ;   3082                       BN_MONT_CTX *in_mont ) ;
3083    int (*bn_mod_exp)(DSA *dsa , BIGNUM *r , BIGNUM *a , BIGNUM const   *p ,   3083    int (*bn_mod_exp)(DSA *dsa , BIGNUM *r , BIGNUM *a , BIGNUM const   *p ,
3084                      BIGNUM const   *m , BN_CTX *ctx , BN_MONT_CTX *m_ctx ) ;   3084                      BIGNUM const   *m , BN_CTX *ctx , BN_MONT_CTX *m_ctx ) ;
3085    int (*init)(DSA *dsa ) ;   3085    int (*init)(DSA *dsa ) ;
3086    int (*finish)(DSA *dsa ) ;   3086    int (*finish)(DSA *dsa ) ;
3087    int flags ;   3087    int flags ;
3088    char *app_data ;   3088    char *app_data ;
3089    int (*dsa_paramgen)(DSA *dsa , int bits , unsigned char const   *seed ,   3089    int (*dsa_paramgen)(DSA *dsa , int bits , unsigned char const   *seed ,
3090                        int seed_len , int *counter_ret , unsigned long *h_ret ,   3090                        int seed_len , int *counter_ret , unsigned long *h_ret ,
3091                        BN_GENCB *cb ) ;   3091                        BN_GENCB *cb ) ;
3092    int (*dsa_keygen)(DSA *dsa ) ;   3092    int (*dsa_keygen)(DSA *dsa ) ;
3093 };   3093 };
3094 struct dsa_st {   3094 struct dsa_st {
3095    int pad ;   3095    int pad ;
3096    long version ;   3096    long version ;
3097    int write_params ;   3097    int write_params ;
3098    BIGNUM *p ;   3098    BIGNUM *p ;
3099    BIGNUM *q ;   3099    BIGNUM *q ;
3100    BIGNUM *g ;   3100    BIGNUM *g ;
3101    BIGNUM *pub_key ;   3101    BIGNUM *pub_key ;
3102    BIGNUM *priv_key ;   3102    BIGNUM *priv_key ;
3103    BIGNUM *kinv ;   3103    BIGNUM *kinv ;
3104    BIGNUM *r ;   3104    BIGNUM *r ;
3105    int flags ;   3105    int flags ;
3106    BN_MONT_CTX *method_mont_p ;   3106    BN_MONT_CTX *method_mont_p ;
3107    int references ;   3107    int references ;
3108    CRYPTO_EX_DATA ex_data ;   3108    CRYPTO_EX_DATA ex_data ;
3109    DSA_METHOD const   *meth ;   3109    DSA_METHOD const   *meth ;
3110    ENGINE *engine ;   3110    ENGINE *engine ;
3111 };   3111 };
3112 struct SHAstate_st {   3112 struct SHAstate_st {
3113    unsigned int h0 ;   3113    unsigned int h0 ;
3114    unsigned int h1 ;   3114    unsigned int h1 ;
3115    unsigned int h2 ;   3115    unsigned int h2 ;
3116    unsigned int h3 ;   3116    unsigned int h3 ;
3117    unsigned int h4 ;   3117    unsigned int h4 ;
3118    unsigned int Nl ;   3118    unsigned int Nl ;
3119    unsigned int Nh ;   3119    unsigned int Nh ;
3120    unsigned int data[16] ;   3120    unsigned int data[16] ;
3121    unsigned int num ;   3121    unsigned int num ;
3122 };   3122 };
3123 typedef struct SHAstate_st SHA_CTX;   3123 typedef struct SHAstate_st SHA_CTX;
3124 struct SHA256state_st {   3124 struct SHA256state_st {
3125    unsigned int h[8] ;   3125    unsigned int h[8] ;
3126    unsigned int Nl ;   3126    unsigned int Nl ;
3127    unsigned int Nh ;   3127    unsigned int Nh ;
3128    unsigned int data[16] ;   3128    unsigned int data[16] ;
3129    unsigned int num ;   3129    unsigned int num ;
3130    unsigned int md_len ;   3130    unsigned int md_len ;
3131 };   3131 };
3132 typedef struct SHA256state_st SHA256_CTX;   3132 typedef struct SHA256state_st SHA256_CTX;
3133 union __anonunion_u_143 {   3133 union __anonunion_u_143 {
3134    unsigned long long d[16] ;   3134    unsigned long long d[16] ;
3135    unsigned char p[128] ;   3135    unsigned char p[128] ;
3136 };   3136 };
3137 struct SHA512state_st {   3137 struct SHA512state_st {
3138    unsigned long long h[8] ;   3138    unsigned long long h[8] ;
3139    unsigned long long Nl ;   3139    unsigned long long Nl ;
3140    unsigned long long Nh ;   3140    unsigned long long Nh ;
3141    union __anonunion_u_143 u ;   3141    union __anonunion_u_143 u ;
3142    unsigned int num ;   3142    unsigned int num ;
3143    unsigned int md_len ;   3143    unsigned int md_len ;
3144 };   3144 };
3145 typedef struct SHA512state_st SHA512_CTX;   3145 typedef struct SHA512state_st SHA512_CTX;
3146 struct X509_objects_st {   3146 struct X509_objects_st {
3147    int nid ;   3147    int nid ;
3148    int (*a2i)(void) ;   3148    int (*a2i)(void) ;
3149    int (*i2a)(void) ;   3149    int (*i2a)(void) ;
3150 };   3150 };
3151 typedef struct X509_objects_st X509_OBJECTS;   3151 typedef struct X509_objects_st X509_OBJECTS;
3152 struct X509_algor_st {   3152 struct X509_algor_st {
3153    ASN1_OBJECT *algorithm ;   3153    ASN1_OBJECT *algorithm ;
3154    ASN1_TYPE *parameter ;   3154    ASN1_TYPE *parameter ;
3155 };   3155 };
3156 typedef struct stack_st_X509_ALGOR X509_ALGORS;   3156 typedef struct stack_st_X509_ALGOR X509_ALGORS;
3157 struct X509_val_st {   3157 struct X509_val_st {
3158    ASN1_TIME *notBefore ;   3158    ASN1_TIME *notBefore ;
3159    ASN1_TIME *notAfter ;   3159    ASN1_TIME *notAfter ;
3160 };   3160 };
3161 typedef struct X509_val_st X509_VAL;   3161 typedef struct X509_val_st X509_VAL;
3162 struct X509_pubkey_st {   3162 struct X509_pubkey_st {
3163    X509_ALGOR *algor ;   3163    X509_ALGOR *algor ;
3164    ASN1_BIT_STRING *public_key ;   3164    ASN1_BIT_STRING *public_key ;
3165    EVP_PKEY *pkey ;   3165    EVP_PKEY *pkey ;
3166 };   3166 };
3167 struct X509_sig_st {   3167 struct X509_sig_st {
3168    X509_ALGOR *algor ;   3168    X509_ALGOR *algor ;
3169    ASN1_OCTET_STRING *digest ;   3169    ASN1_OCTET_STRING *digest ;
3170 };   3170 };
3171 typedef struct X509_sig_st X509_SIG;   3171 typedef struct X509_sig_st X509_SIG;
3172 struct X509_name_entry_st {   3172 struct X509_name_entry_st {
3173    ASN1_OBJECT *object ;   3173    ASN1_OBJECT *object ;
3174    ASN1_STRING *value ;   3174    ASN1_STRING *value ;
3175    int set ;   3175    int set ;
3176    int size ;   3176    int size ;
3177 };   3177 };
3178 typedef struct X509_name_entry_st X509_NAME_ENTRY;   3178 typedef struct X509_name_entry_st X509_NAME_ENTRY;
3179 struct stack_st_X509_NAME_ENTRY {   3179 struct stack_st_X509_NAME_ENTRY {
3180    _STACK stack ;   3180    _STACK stack ;
3181 };   3181 };
3182 struct X509_name_st {   3182 struct X509_name_st {
3183    struct stack_st_X509_NAME_ENTRY *entries ;   3183    struct stack_st_X509_NAME_ENTRY *entries ;
3184    int modified ;   3184    int modified ;
3185    BUF_MEM *bytes ;   3185    BUF_MEM *bytes ;
3186    unsigned char *canon_enc ;   3186    unsigned char *canon_enc ;
3187    int canon_enclen ;   3187    int canon_enclen ;
3188 };   3188 };
3189 struct stack_st_X509_NAME {   3189 struct stack_st_X509_NAME {
3190    _STACK stack ;   3190    _STACK stack ;
3191 };   3191 };
3192 struct X509_extension_st {   3192 struct X509_extension_st {
3193    ASN1_OBJECT *object ;   3193    ASN1_OBJECT *object ;
3194    ASN1_BOOLEAN critical ;   3194    ASN1_BOOLEAN critical ;
3195    ASN1_OCTET_STRING *value ;   3195    ASN1_OCTET_STRING *value ;
3196 };   3196 };
3197 typedef struct X509_extension_st X509_EXTENSION;   3197 typedef struct X509_extension_st X509_EXTENSION;
3198 struct stack_st_X509_EXTENSION;   3198 struct stack_st_X509_EXTENSION;
3199 typedef struct stack_st_X509_EXTENSION X509_EXTENSIONS;   3199 typedef struct stack_st_X509_EXTENSION X509_EXTENSIONS;
3200 struct stack_st_X509_EXTENSION {   3200 struct stack_st_X509_EXTENSION {
3201    _STACK stack ;   3201    _STACK stack ;
3202 };   3202 };
3203 union __anonunion_value_144 {   3203 union __anonunion_value_144 {
3204    char *ptr ;   3204    char *ptr ;
3205    struct stack_st_ASN1_TYPE *set ;   3205    struct stack_st_ASN1_TYPE *set ;
3206    ASN1_TYPE *single ;   3206    ASN1_TYPE *single ;
3207 };   3207 };
3208 struct x509_attributes_st {   3208 struct x509_attributes_st {
3209    ASN1_OBJECT *object ;   3209    ASN1_OBJECT *object ;
3210    int single ;   3210    int single ;
3211    union __anonunion_value_144 value ;   3211    union __anonunion_value_144 value ;
3212 };   3212 };
3213 typedef struct x509_attributes_st X509_ATTRIBUTE;   3213 typedef struct x509_attributes_st X509_ATTRIBUTE;
3214 struct stack_st_X509_ATTRIBUTE {   3214 struct stack_st_X509_ATTRIBUTE {
3215    _STACK stack ;   3215    _STACK stack ;
3216 };   3216 };
3217 struct X509_req_info_st {   3217 struct X509_req_info_st {
3218    ASN1_ENCODING enc ;   3218    ASN1_ENCODING enc ;
3219    ASN1_INTEGER *version ;   3219    ASN1_INTEGER *version ;
3220    X509_NAME *subject ;   3220    X509_NAME *subject ;
3221    X509_PUBKEY *pubkey ;   3221    X509_PUBKEY *pubkey ;
3222    struct stack_st_X509_ATTRIBUTE *attributes ;   3222    struct stack_st_X509_ATTRIBUTE *attributes ;
3223 };   3223 };
3224 typedef struct X509_req_info_st X509_REQ_INFO;   3224 typedef struct X509_req_info_st X509_REQ_INFO;
3225 struct X509_req_st {   3225 struct X509_req_st {
3226    X509_REQ_INFO *req_info ;   3226    X509_REQ_INFO *req_info ;
3227    X509_ALGOR *sig_alg ;   3227    X509_ALGOR *sig_alg ;
3228    ASN1_BIT_STRING *signature ;   3228    ASN1_BIT_STRING *signature ;
3229    int references ;   3229    int references ;
3230 };   3230 };
3231 typedef struct X509_req_st X509_REQ;   3231 typedef struct X509_req_st X509_REQ;
3232 struct x509_cinf_st {   3232 struct x509_cinf_st {
3233    ASN1_INTEGER *version ;   3233    ASN1_INTEGER *version ;
3234    ASN1_INTEGER *serialNumber ;   3234    ASN1_INTEGER *serialNumber ;
3235    X509_ALGOR *signature ;   3235    X509_ALGOR *signature ;
3236    X509_NAME *issuer ;   3236    X509_NAME *issuer ;
3237    X509_VAL *validity ;   3237    X509_VAL *validity ;
3238    X509_NAME *subject ;   3238    X509_NAME *subject ;
3239    X509_PUBKEY *key ;   3239    X509_PUBKEY *key ;
3240    ASN1_BIT_STRING *issuerUID ;   3240    ASN1_BIT_STRING *issuerUID ;
3241    ASN1_BIT_STRING *subjectUID ;   3241    ASN1_BIT_STRING *subjectUID ;
3242    struct stack_st_X509_EXTENSION *extensions ;   3242    struct stack_st_X509_EXTENSION *extensions ;
3243    ASN1_ENCODING enc ;   3243    ASN1_ENCODING enc ;
3244 };   3244 };
3245 typedef struct x509_cinf_st X509_CINF;   3245 typedef struct x509_cinf_st X509_CINF;
3246 struct x509_cert_aux_st {   3246 struct x509_cert_aux_st {
3247    struct stack_st_ASN1_OBJECT *trust ;   3247    struct stack_st_ASN1_OBJECT *trust ;
3248    struct stack_st_ASN1_OBJECT *reject ;   3248    struct stack_st_ASN1_OBJECT *reject ;
3249    ASN1_UTF8STRING *alias ;   3249    ASN1_UTF8STRING *alias ;
3250    ASN1_OCTET_STRING *keyid ;   3250    ASN1_OCTET_STRING *keyid ;
3251    struct stack_st_X509_ALGOR *other ;   3251    struct stack_st_X509_ALGOR *other ;
3252 };   3252 };
3253 typedef struct x509_cert_aux_st X509_CERT_AUX;   3253 typedef struct x509_cert_aux_st X509_CERT_AUX;
3254 struct stack_st_DIST_POINT;   3254 struct stack_st_DIST_POINT;
3255 struct stack_st_GENERAL_NAME;   3255 struct stack_st_GENERAL_NAME;
3256 struct stack_st_IPAddressFamily;   3256 struct stack_st_IPAddressFamily;
3257 struct ASIdentifiers_st;   3257 struct ASIdentifiers_st;
3258 struct x509_st {   3258 struct x509_st {
3259    X509_CINF *cert_info ;   3259    X509_CINF *cert_info ;
3260    X509_ALGOR *sig_alg ;   3260    X509_ALGOR *sig_alg ;
3261    ASN1_BIT_STRING *signature ;   3261    ASN1_BIT_STRING *signature ;
3262    int valid ;   3262    int valid ;
3263    int references ;   3263    int references ;
3264    char *name ;   3264    char *name ;
3265    CRYPTO_EX_DATA ex_data ;   3265    CRYPTO_EX_DATA ex_data ;
3266    long ex_pathlen ;   3266    long ex_pathlen ;
3267    long ex_pcpathlen ;   3267    long ex_pcpathlen ;
3268    unsigned long ex_flags ;   3268    unsigned long ex_flags ;
3269    unsigned long ex_kusage ;   3269    unsigned long ex_kusage ;
3270    unsigned long ex_xkusage ;   3270    unsigned long ex_xkusage ;
3271    unsigned long ex_nscert ;   3271    unsigned long ex_nscert ;
3272    ASN1_OCTET_STRING *skid ;   3272    ASN1_OCTET_STRING *skid ;
3273    AUTHORITY_KEYID *akid ;   3273    AUTHORITY_KEYID *akid ;
3274    X509_POLICY_CACHE *policy_cache ;   3274    X509_POLICY_CACHE *policy_cache ;
3275    struct stack_st_DIST_POINT *crldp ;   3275    struct stack_st_DIST_POINT *crldp ;
3276    struct stack_st_GENERAL_NAME *altname ;   3276    struct stack_st_GENERAL_NAME *altname ;
3277    NAME_CONSTRAINTS *nc ;   3277    NAME_CONSTRAINTS *nc ;
3278    struct stack_st_IPAddressFamily *rfc3779_addr ;   3278    struct stack_st_IPAddressFamily *rfc3779_addr ;
3279    struct ASIdentifiers_st *rfc3779_asid ;   3279    struct ASIdentifiers_st *rfc3779_asid ;
3280    unsigned char sha1_hash[20] ;   3280    unsigned char sha1_hash[20] ;
3281    X509_CERT_AUX *aux ;   3281    X509_CERT_AUX *aux ;
3282 };   3282 };
3283 struct stack_st_X509 {   3283 struct stack_st_X509 {
3284    _STACK stack ;   3284    _STACK stack ;
3285 };   3285 };
3286 struct x509_trust_st {   3286 struct x509_trust_st {
3287    int trust ;   3287    int trust ;
3288    int flags ;   3288    int flags ;
3289    int (*check_trust)(struct x509_trust_st * , X509 * , int  ) ;   3289    int (*check_trust)(struct x509_trust_st * , X509 * , int  ) ;
3290    char *name ;   3290    char *name ;
3291    int arg1 ;   3291    int arg1 ;
3292    void *arg2 ;   3292    void *arg2 ;
3293 };   3293 };
3294 typedef struct x509_trust_st X509_TRUST;   3294 typedef struct x509_trust_st X509_TRUST;
3295 struct stack_st_X509_TRUST {   3295 struct stack_st_X509_TRUST {
3296    _STACK stack ;   3296    _STACK stack ;
3297 };   3297 };
3298 struct x509_cert_pair_st {   3298 struct x509_cert_pair_st {
3299    X509 *forward ;   3299    X509 *forward ;
3300    X509 *reverse ;   3300    X509 *reverse ;
3301 };   3301 };
3302 typedef struct x509_cert_pair_st X509_CERT_PAIR;   3302 typedef struct x509_cert_pair_st X509_CERT_PAIR;
3303 struct x509_revoked_st {   3303 struct x509_revoked_st {
3304    ASN1_INTEGER *serialNumber ;   3304    ASN1_INTEGER *serialNumber ;
3305    ASN1_TIME *revocationDate ;   3305    ASN1_TIME *revocationDate ;
3306    struct stack_st_X509_EXTENSION *extensions ;   3306    struct stack_st_X509_EXTENSION *extensions ;
3307    struct stack_st_GENERAL_NAME *issuer ;   3307    struct stack_st_GENERAL_NAME *issuer ;
3308    int reason ;   3308    int reason ;
3309    int sequence ;   3309    int sequence ;
3310 };   3310 };
3311 struct stack_st_X509_REVOKED {   3311 struct stack_st_X509_REVOKED {
3312    _STACK stack ;   3312    _STACK stack ;
3313 };   3313 };
3314 struct X509_crl_info_st {   3314 struct X509_crl_info_st {
3315    ASN1_INTEGER *version ;   3315    ASN1_INTEGER *version ;
3316    X509_ALGOR *sig_alg ;   3316    X509_ALGOR *sig_alg ;
3317    X509_NAME *issuer ;   3317    X509_NAME *issuer ;
3318    ASN1_TIME *lastUpdate ;   3318    ASN1_TIME *lastUpdate ;
3319    ASN1_TIME *nextUpdate ;   3319    ASN1_TIME *nextUpdate ;
3320    struct stack_st_X509_REVOKED *revoked ;   3320    struct stack_st_X509_REVOKED *revoked ;
3321    struct stack_st_X509_EXTENSION *extensions ;   3321    struct stack_st_X509_EXTENSION *extensions ;
3322    ASN1_ENCODING enc ;   3322    ASN1_ENCODING enc ;
3323 };   3323 };
3324 typedef struct X509_crl_info_st X509_CRL_INFO;   3324 typedef struct X509_crl_info_st X509_CRL_INFO;
3325 struct stack_st_GENERAL_NAMES;   3325 struct stack_st_GENERAL_NAMES;
3326 struct X509_crl_st {   3326 struct X509_crl_st {
3327    X509_CRL_INFO *crl ;   3327    X509_CRL_INFO *crl ;
3328    X509_ALGOR *sig_alg ;   3328    X509_ALGOR *sig_alg ;
3329    ASN1_BIT_STRING *signature ;   3329    ASN1_BIT_STRING *signature ;
3330    int references ;   3330    int references ;
3331    int flags ;   3331    int flags ;
3332    AUTHORITY_KEYID *akid ;   3332    AUTHORITY_KEYID *akid ;
3333    ISSUING_DIST_POINT *idp ;   3333    ISSUING_DIST_POINT *idp ;
3334    int idp_flags ;   3334    int idp_flags ;
3335    int idp_reasons ;   3335    int idp_reasons ;
3336    ASN1_INTEGER *crl_number ;   3336    ASN1_INTEGER *crl_number ;
3337    ASN1_INTEGER *base_crl_number ;   3337    ASN1_INTEGER *base_crl_number ;
3338    unsigned char sha1_hash[20] ;   3338    unsigned char sha1_hash[20] ;
3339    struct stack_st_GENERAL_NAMES *issuers ;   3339    struct stack_st_GENERAL_NAMES *issuers ;
3340    X509_CRL_METHOD const   *meth ;   3340    X509_CRL_METHOD const   *meth ;
3341    void *meth_data ;   3341    void *meth_data ;
3342 };   3342 };
3343 struct stack_st_X509_CRL {   3343 struct stack_st_X509_CRL {
3344    _STACK stack ;   3344    _STACK stack ;
3345 };   3345 };
3346 struct private_key_st {   3346 struct private_key_st {
3347    int version ;   3347    int version ;
3348    X509_ALGOR *enc_algor ;   3348    X509_ALGOR *enc_algor ;
3349    ASN1_OCTET_STRING *enc_pkey ;   3349    ASN1_OCTET_STRING *enc_pkey ;
3350    EVP_PKEY *dec_pkey ;   3350    EVP_PKEY *dec_pkey ;
3351    int key_length ;   3351    int key_length ;
3352    char *key_data ;   3352    char *key_data ;
3353    int key_free ;   3353    int key_free ;
3354    EVP_CIPHER_INFO cipher ;   3354    EVP_CIPHER_INFO cipher ;
3355    int references ;   3355    int references ;
3356 };   3356 };
3357 typedef struct private_key_st X509_PKEY;   3357 typedef struct private_key_st X509_PKEY;
3358 struct X509_info_st {   3358 struct X509_info_st {
3359    X509 *x509 ;   3359    X509 *x509 ;
3360    X509_CRL *crl ;   3360    X509_CRL *crl ;
3361    X509_PKEY *x_pkey ;   3361    X509_PKEY *x_pkey ;
3362    EVP_CIPHER_INFO enc_cipher ;   3362    EVP_CIPHER_INFO enc_cipher ;
3363    int enc_len ;   3363    int enc_len ;
3364    char *enc_data ;   3364    char *enc_data ;
3365    int references ;   3365    int references ;
3366 };   3366 };
3367 typedef struct X509_info_st X509_INFO;   3367 typedef struct X509_info_st X509_INFO;
3368 struct stack_st_X509_INFO {   3368 struct stack_st_X509_INFO {
3369    _STACK stack ;   3369    _STACK stack ;
3370 };   3370 };
3371 struct Netscape_spkac_st {   3371 struct Netscape_spkac_st {
3372    X509_PUBKEY *pubkey ;   3372    X509_PUBKEY *pubkey ;
3373    ASN1_IA5STRING *challenge ;   3373    ASN1_IA5STRING *challenge ;
3374 };   3374 };
3375 typedef struct Netscape_spkac_st NETSCAPE_SPKAC;   3375 typedef struct Netscape_spkac_st NETSCAPE_SPKAC;
3376 struct Netscape_spki_st {   3376 struct Netscape_spki_st {
3377    NETSCAPE_SPKAC *spkac ;   3377    NETSCAPE_SPKAC *spkac ;
3378    X509_ALGOR *sig_algor ;   3378    X509_ALGOR *sig_algor ;
3379    ASN1_BIT_STRING *signature ;   3379    ASN1_BIT_STRING *signature ;
3380 };   3380 };
3381 typedef struct Netscape_spki_st NETSCAPE_SPKI;   3381 typedef struct Netscape_spki_st NETSCAPE_SPKI;
3382 struct Netscape_certificate_sequence {   3382 struct Netscape_certificate_sequence {
3383    ASN1_OBJECT *type ;   3383    ASN1_OBJECT *type ;
3384    struct stack_st_X509 *certs ;   3384    struct stack_st_X509 *certs ;
3385 };   3385 };
3386 typedef struct Netscape_certificate_sequence NETSCAPE_CERT_SEQUENCE;   3386 typedef struct Netscape_certificate_sequence NETSCAPE_CERT_SEQUENCE;
3387 struct PBEPARAM_st {   3387 struct PBEPARAM_st {
3388    ASN1_OCTET_STRING *salt ;   3388    ASN1_OCTET_STRING *salt ;
3389    ASN1_INTEGER *iter ;   3389    ASN1_INTEGER *iter ;
3390 };   3390 };
3391 typedef struct PBEPARAM_st PBEPARAM;   3391 typedef struct PBEPARAM_st PBEPARAM;
3392 struct PBE2PARAM_st {   3392 struct PBE2PARAM_st {
3393    X509_ALGOR *keyfunc ;   3393    X509_ALGOR *keyfunc ;
3394    X509_ALGOR *encryption ;   3394    X509_ALGOR *encryption ;
3395 };   3395 };
3396 typedef struct PBE2PARAM_st PBE2PARAM;   3396 typedef struct PBE2PARAM_st PBE2PARAM;
3397 struct PBKDF2PARAM_st {   3397 struct PBKDF2PARAM_st {
3398    ASN1_TYPE *salt ;   3398    ASN1_TYPE *salt ;
3399    ASN1_INTEGER *iter ;   3399    ASN1_INTEGER *iter ;
3400    ASN1_INTEGER *keylength ;   3400    ASN1_INTEGER *keylength ;
3401    X509_ALGOR *prf ;   3401    X509_ALGOR *prf ;
3402 };   3402 };
3403 typedef struct PBKDF2PARAM_st PBKDF2PARAM;   3403 typedef struct PBKDF2PARAM_st PBKDF2PARAM;
3404 struct pkcs8_priv_key_info_st {   3404 struct pkcs8_priv_key_info_st {
3405    int broken ;   3405    int broken ;
3406    ASN1_INTEGER *version ;   3406    ASN1_INTEGER *version ;
3407    X509_ALGOR *pkeyalg ;   3407    X509_ALGOR *pkeyalg ;
3408    ASN1_TYPE *pkey ;   3408    ASN1_TYPE *pkey ;
3409    struct stack_st_X509_ATTRIBUTE *attributes ;   3409    struct stack_st_X509_ATTRIBUTE *attributes ;
3410 };   3410 };
3411 struct lhash_node_st {   3411 struct lhash_node_st {
3412    void *data ;   3412    void *data ;
3413    struct lhash_node_st *next ;   3413    struct lhash_node_st *next ;
3414    unsigned long hash ;   3414    unsigned long hash ;
3415 };   3415 };
3416 typedef struct lhash_node_st LHASH_NODE;   3416 typedef struct lhash_node_st LHASH_NODE;
3417 typedef int (*LHASH_COMP_FN_TYPE)(void const   * , void const   * );   3417 typedef int (*LHASH_COMP_FN_TYPE)(void const   * , void const   * );
3418 typedef unsigned long (*LHASH_HASH_FN_TYPE)(void const   * );   3418 typedef unsigned long (*LHASH_HASH_FN_TYPE)(void const   * );
3419 typedef void (*LHASH_DOALL_FN_TYPE)(void * );   3419 typedef void (*LHASH_DOALL_FN_TYPE)(void * );
3420 typedef void (*LHASH_DOALL_ARG_FN_TYPE)(void * , void * );   3420 typedef void (*LHASH_DOALL_ARG_FN_TYPE)(void * , void * );
3421 struct lhash_st {   3421 struct lhash_st {
3422    LHASH_NODE **b ;   3422    LHASH_NODE **b ;
3423    int (*comp)(void const   * , void const   * ) ;   3423    int (*comp)(void const   * , void const   * ) ;
3424    unsigned long (*hash)(void const   * ) ;   3424    unsigned long (*hash)(void const   * ) ;
3425    unsigned int num_nodes ;   3425    unsigned int num_nodes ;
3426    unsigned int num_alloc_nodes ;   3426    unsigned int num_alloc_nodes ;
3427    unsigned int p ;   3427    unsigned int p ;
3428    unsigned int pmax ;   3428    unsigned int pmax ;
3429    unsigned long up_load ;   3429    unsigned long up_load ;
3430    unsigned long down_load ;   3430    unsigned long down_load ;
3431    unsigned long num_items ;   3431    unsigned long num_items ;
3432    unsigned long num_expands ;   3432    unsigned long num_expands ;
3433    unsigned long num_expand_reallocs ;   3433    unsigned long num_expand_reallocs ;
3434    unsigned long num_contracts ;   3434    unsigned long num_contracts ;
3435    unsigned long num_contract_reallocs ;   3435    unsigned long num_contract_reallocs ;
3436    unsigned long num_hash_calls ;   3436    unsigned long num_hash_calls ;
3437    unsigned long num_comp_calls ;   3437    unsigned long num_comp_calls ;
3438    unsigned long num_insert ;   3438    unsigned long num_insert ;
3439    unsigned long num_replace ;   3439    unsigned long num_replace ;
3440    unsigned long num_delete ;   3440    unsigned long num_delete ;
3441    unsigned long num_no_delete ;   3441    unsigned long num_no_delete ;
3442    unsigned long num_retrieve ;   3442    unsigned long num_retrieve ;
3443    unsigned long num_retrieve_miss ;   3443    unsigned long num_retrieve_miss ;
3444    unsigned long num_hash_comps ;   3444    unsigned long num_hash_comps ;
3445    int error ;   3445    int error ;
3446 };   3446 };
3447 typedef struct lhash_st _LHASH;   3447 typedef struct lhash_st _LHASH;
3448 struct lhash_st_OPENSSL_STRING {   3448 struct lhash_st_OPENSSL_STRING {
3449    int dummy ;   3449    int dummy ;
3450 };   3450 };
3451 struct lhash_st_OPENSSL_CSTRING {   3451 struct lhash_st_OPENSSL_CSTRING {
3452    int dummy ;   3452    int dummy ;
3453 };   3453 };
3454 struct x509_file_st {   3454 struct x509_file_st {
3455    int num_paths ;   3455    int num_paths ;
3456    int num_alloced ;   3456    int num_alloced ;
3457    char **paths ;   3457    char **paths ;
3458    int *path_type ;   3458    int *path_type ;
3459 };   3459 };
3460 typedef struct x509_file_st X509_CERT_FILE_CTX;   3460 typedef struct x509_file_st X509_CERT_FILE_CTX;
3461 union __anonunion_data_145 {   3461 union __anonunion_data_145 {
3462    char *ptr ;   3462    char *ptr ;
3463    X509 *x509 ;   3463    X509 *x509 ;
3464    X509_CRL *crl ;   3464    X509_CRL *crl ;
3465    EVP_PKEY *pkey ;   3465    EVP_PKEY *pkey ;
3466 };   3466 };
3467 struct x509_object_st {   3467 struct x509_object_st {
3468    int type ;   3468    int type ;
3469    union __anonunion_data_145 data ;   3469    union __anonunion_data_145 data ;
3470 };   3470 };
3471 typedef struct x509_object_st X509_OBJECT;   3471 typedef struct x509_object_st X509_OBJECT;
3472 struct x509_lookup_st;   3472 struct x509_lookup_st;
3473 typedef struct x509_lookup_st X509_LOOKUP;   3473 typedef struct x509_lookup_st X509_LOOKUP;
3474 struct stack_st_X509_LOOKUP {   3474 struct stack_st_X509_LOOKUP {
3475    _STACK stack ;   3475    _STACK stack ;
3476 };   3476 };
3477 struct stack_st_X509_OBJECT {   3477 struct stack_st_X509_OBJECT {
3478    _STACK stack ;   3478    _STACK stack ;
3479 };   3479 };
3480 struct x509_lookup_method_st {   3480 struct x509_lookup_method_st {
3481    char const   *name ;   3481    char const   *name ;
3482    int (*new_item)(X509_LOOKUP *ctx ) ;   3482    int (*new_item)(X509_LOOKUP *ctx ) ;
3483    void (*free)(X509_LOOKUP *ctx ) ;   3483    void (*free)(X509_LOOKUP *ctx ) ;
3484    int (*init)(X509_LOOKUP *ctx ) ;   3484    int (*init)(X509_LOOKUP *ctx ) ;
3485    int (*shutdown)(X509_LOOKUP *ctx ) ;   3485    int (*shutdown)(X509_LOOKUP *ctx ) ;
3486    int (*ctrl)(X509_LOOKUP *ctx , int cmd , char const   *argc , long argl ,   3486    int (*ctrl)(X509_LOOKUP *ctx , int cmd , char const   *argc , long argl ,
3487                char **ret ) ;   3487                char **ret ) ;
3488    int (*get_by_subject)(X509_LOOKUP *ctx , int type , X509_NAME *name ,   3488    int (*get_by_subject)(X509_LOOKUP *ctx , int type , X509_NAME *name ,
3489                          X509_OBJECT *ret ) ;   3489                          X509_OBJECT *ret ) ;
3490    int (*get_by_issuer_serial)(X509_LOOKUP *ctx , int type , X509_NAME *name ,   3490    int (*get_by_issuer_serial)(X509_LOOKUP *ctx , int type , X509_NAME *name ,
3491                                ASN1_INTEGER *serial , X509_OBJECT *ret ) ;   3491                                ASN1_INTEGER *serial , X509_OBJECT *ret ) ;
3492    int (*get_by_fingerprint)(X509_LOOKUP *ctx , int type ,   3492    int (*get_by_fingerprint)(X509_LOOKUP *ctx , int type ,
3493                              unsigned char *bytes , int len , X509_OBJECT *ret ) ;   3493                              unsigned char *bytes , int len , X509_OBJECT *ret ) ;
3494    int (*get_by_alias)(X509_LOOKUP *ctx , int type , char *str , int len ,   3494    int (*get_by_alias)(X509_LOOKUP *ctx , int type , char *str , int len ,
3495                        X509_OBJECT *ret ) ;   3495                        X509_OBJECT *ret ) ;
3496 };   3496 };
3497 typedef struct x509_lookup_method_st X509_LOOKUP_METHOD;   3497 typedef struct x509_lookup_method_st X509_LOOKUP_METHOD;
3498 struct X509_VERIFY_PARAM_st {   3498 struct X509_VERIFY_PARAM_st {
3499    char *name ;   3499    char *name ;
3500    time_t check_time ;   3500    time_t check_time ;
3501    unsigned long inh_flags ;   3501    unsigned long inh_flags ;
3502    unsigned long flags ;   3502    unsigned long flags ;
3503    int purpose ;   3503    int purpose ;
3504    int trust ;   3504    int trust ;
3505    int depth ;   3505    int depth ;
3506    struct stack_st_ASN1_OBJECT *policies ;   3506    struct stack_st_ASN1_OBJECT *policies ;
3507 };   3507 };
3508 typedef struct X509_VERIFY_PARAM_st X509_VERIFY_PARAM;   3508 typedef struct X509_VERIFY_PARAM_st X509_VERIFY_PARAM;
3509 struct stack_st_X509_VERIFY_PARAM {   3509 struct stack_st_X509_VERIFY_PARAM {
3510    _STACK stack ;   3510    _STACK stack ;
3511 };   3511 };
3512 struct x509_store_st {   3512 struct x509_store_st {
3513    int cache ;   3513    int cache ;
3514    struct stack_st_X509_OBJECT *objs ;   3514    struct stack_st_X509_OBJECT *objs ;
3515    struct stack_st_X509_LOOKUP *get_cert_methods ;   3515    struct stack_st_X509_LOOKUP *get_cert_methods ;
3516    X509_VERIFY_PARAM *param ;   3516    X509_VERIFY_PARAM *param ;
3517    int (*verify)(X509_STORE_CTX *ctx ) ;   3517    int (*verify)(X509_STORE_CTX *ctx ) ;
3518    int (*verify_cb)(int ok , X509_STORE_CTX *ctx ) ;   3518    int (*verify_cb)(int ok , X509_STORE_CTX *ctx ) ;
3519    int (*get_issuer)(X509 **issuer , X509_STORE_CTX *ctx , X509 *x ) ;   3519    int (*get_issuer)(X509 **issuer , X509_STORE_CTX *ctx , X509 *x ) ;
3520    int (*check_issued)(X509_STORE_CTX *ctx , X509 *x , X509 *issuer ) ;   3520    int (*check_issued)(X509_STORE_CTX *ctx , X509 *x , X509 *issuer ) ;
3521    int (*check_revocation)(X509_STORE_CTX *ctx ) ;   3521    int (*check_revocation)(X509_STORE_CTX *ctx ) ;
3522    int (*get_crl)(X509_STORE_CTX *ctx , X509_CRL **crl , X509 *x ) ;   3522    int (*get_crl)(X509_STORE_CTX *ctx , X509_CRL **crl , X509 *x ) ;
3523    int (*check_crl)(X509_STORE_CTX *ctx , X509_CRL *crl ) ;   3523    int (*check_crl)(X509_STORE_CTX *ctx , X509_CRL *crl ) ;
3524    int (*cert_crl)(X509_STORE_CTX *ctx , X509_CRL *crl , X509 *x ) ;   3524    int (*cert_crl)(X509_STORE_CTX *ctx , X509_CRL *crl , X509 *x ) ;
3525    struct stack_st_X509 *(*lookup_certs)(X509_STORE_CTX *ctx , X509_NAME *nm ) ;   3525    struct stack_st_X509 *(*lookup_certs)(X509_STORE_CTX *ctx , X509_NAME *nm ) ;
3526    struct stack_st_X509_CRL *(*lookup_crls)(X509_STORE_CTX *ctx , X509_NAME *nm ) ;   3526    struct stack_st_X509_CRL *(*lookup_crls)(X509_STORE_CTX *ctx , X509_NAME *nm ) ;
3527    int (*cleanup)(X509_STORE_CTX *ctx ) ;   3527    int (*cleanup)(X509_STORE_CTX *ctx ) ;
3528    CRYPTO_EX_DATA ex_data ;   3528    CRYPTO_EX_DATA ex_data ;
3529    int references ;   3529    int references ;
3530 };   3530 };
3531 struct x509_lookup_st {   3531 struct x509_lookup_st {
3532    int init ;   3532    int init ;
3533    int skip ;   3533    int skip ;
3534    X509_LOOKUP_METHOD *method ;   3534    X509_LOOKUP_METHOD *method ;
3535    char *method_data ;   3535    char *method_data ;
3536    X509_STORE *store_ctx ;   3536    X509_STORE *store_ctx ;
3537 };   3537 };
3538 struct x509_store_ctx_st {   3538 struct x509_store_ctx_st {
3539    X509_STORE *ctx ;   3539    X509_STORE *ctx ;
3540    int current_method ;   3540    int current_method ;
3541    X509 *cert ;   3541    X509 *cert ;
3542    struct stack_st_X509 *untrusted ;   3542    struct stack_st_X509 *untrusted ;
3543    struct stack_st_X509_CRL *crls ;   3543    struct stack_st_X509_CRL *crls ;
3544    X509_VERIFY_PARAM *param ;   3544    X509_VERIFY_PARAM *param ;
3545    void *other_ctx ;   3545    void *other_ctx ;
3546    int (*verify)(X509_STORE_CTX *ctx ) ;   3546    int (*verify)(X509_STORE_CTX *ctx ) ;
3547    int (*verify_cb)(int ok , X509_STORE_CTX *ctx ) ;   3547    int (*verify_cb)(int ok , X509_STORE_CTX *ctx ) ;
3548    int (*get_issuer)(X509 **issuer , X509_STORE_CTX *ctx , X509 *x ) ;   3548    int (*get_issuer)(X509 **issuer , X509_STORE_CTX *ctx , X509 *x ) ;
3549    int (*check_issued)(X509_STORE_CTX *ctx , X509 *x , X509 *issuer ) ;   3549    int (*check_issued)(X509_STORE_CTX *ctx , X509 *x , X509 *issuer ) ;
3550    int (*check_revocation)(X509_STORE_CTX *ctx ) ;   3550    int (*check_revocation)(X509_STORE_CTX *ctx ) ;
3551    int (*get_crl)(X509_STORE_CTX *ctx , X509_CRL **crl , X509 *x ) ;   3551    int (*get_crl)(X509_STORE_CTX *ctx , X509_CRL **crl , X509 *x ) ;
3552    int (*check_crl)(X509_STORE_CTX *ctx , X509_CRL *crl ) ;   3552    int (*check_crl)(X509_STORE_CTX *ctx , X509_CRL *crl ) ;
3553    int (*cert_crl)(X509_STORE_CTX *ctx , X509_CRL *crl , X509 *x ) ;   3553    int (*cert_crl)(X509_STORE_CTX *ctx , X509_CRL *crl , X509 *x ) ;
3554    int (*check_policy)(X509_STORE_CTX *ctx ) ;   3554    int (*check_policy)(X509_STORE_CTX *ctx ) ;
3555    struct stack_st_X509 *(*lookup_certs)(X509_STORE_CTX *ctx , X509_NAME *nm ) ;   3555    struct stack_st_X509 *(*lookup_certs)(X509_STORE_CTX *ctx , X509_NAME *nm ) ;
3556    struct stack_st_X509_CRL *(*lookup_crls)(X509_STORE_CTX *ctx , X509_NAME *nm ) ;   3556    struct stack_st_X509_CRL *(*lookup_crls)(X509_STORE_CTX *ctx , X509_NAME *nm ) ;
3557    int (*cleanup)(X509_STORE_CTX *ctx ) ;   3557    int (*cleanup)(X509_STORE_CTX *ctx ) ;
3558    int valid ;   3558    int valid ;
3559    int last_untrusted ;   3559    int last_untrusted ;
3560    struct stack_st_X509 *chain ;   3560    struct stack_st_X509 *chain ;
3561    X509_POLICY_TREE *tree ;   3561    X509_POLICY_TREE *tree ;
3562    int explicit_policy ;   3562    int explicit_policy ;
3563    int error_depth ;   3563    int error_depth ;
3564    int error ;   3564    int error ;
3565    X509 *current_cert ;   3565    X509 *current_cert ;
3566    X509 *current_issuer ;   3566    X509 *current_issuer ;
3567    X509_CRL *current_crl ;   3567    X509_CRL *current_crl ;
3568    int current_crl_score ;   3568    int current_crl_score ;
3569    unsigned int current_reasons ;   3569    unsigned int current_reasons ;
3570    X509_STORE_CTX *parent ;   3570    X509_STORE_CTX *parent ;
3571    CRYPTO_EX_DATA ex_data ;   3571    CRYPTO_EX_DATA ex_data ;
3572 };   3572 };
3573 struct stack_st_X509_POLICY_NODE;   3573 struct stack_st_X509_POLICY_NODE;
3574 struct stack_st_POLICYQUALINFO;   3574 struct stack_st_POLICYQUALINFO;
3575 struct pkcs7_issuer_and_serial_st {   3575 struct pkcs7_issuer_and_serial_st {
3576    X509_NAME *issuer ;   3576    X509_NAME *issuer ;
3577    ASN1_INTEGER *serial ;   3577    ASN1_INTEGER *serial ;
3578 };   3578 };
3579 typedef struct pkcs7_issuer_and_serial_st PKCS7_ISSUER_AND_SERIAL;   3579 typedef struct pkcs7_issuer_and_serial_st PKCS7_ISSUER_AND_SERIAL;
3580 struct pkcs7_signer_info_st {   3580 struct pkcs7_signer_info_st {
3581    ASN1_INTEGER *version ;   3581    ASN1_INTEGER *version ;
3582    PKCS7_ISSUER_AND_SERIAL *issuer_and_serial ;   3582    PKCS7_ISSUER_AND_SERIAL *issuer_and_serial ;
3583    X509_ALGOR *digest_alg ;   3583    X509_ALGOR *digest_alg ;
3584    struct stack_st_X509_ATTRIBUTE *auth_attr ;   3584    struct stack_st_X509_ATTRIBUTE *auth_attr ;
3585    X509_ALGOR *digest_enc_alg ;   3585    X509_ALGOR *digest_enc_alg ;
3586    ASN1_OCTET_STRING *enc_digest ;   3586    ASN1_OCTET_STRING *enc_digest ;
3587    struct stack_st_X509_ATTRIBUTE *unauth_attr ;   3587    struct stack_st_X509_ATTRIBUTE *unauth_attr ;
3588    EVP_PKEY *pkey ;   3588    EVP_PKEY *pkey ;
3589 };   3589 };
3590 typedef struct pkcs7_signer_info_st PKCS7_SIGNER_INFO;   3590 typedef struct pkcs7_signer_info_st PKCS7_SIGNER_INFO;
3591 struct stack_st_PKCS7_SIGNER_INFO {   3591 struct stack_st_PKCS7_SIGNER_INFO {
3592    _STACK stack ;   3592    _STACK stack ;
3593 };   3593 };
3594 struct pkcs7_recip_info_st {   3594 struct pkcs7_recip_info_st {
3595    ASN1_INTEGER *version ;   3595    ASN1_INTEGER *version ;
3596    PKCS7_ISSUER_AND_SERIAL *issuer_and_serial ;   3596    PKCS7_ISSUER_AND_SERIAL *issuer_and_serial ;
3597    X509_ALGOR *key_enc_algor ;   3597    X509_ALGOR *key_enc_algor ;
3598    ASN1_OCTET_STRING *enc_key ;   3598    ASN1_OCTET_STRING *enc_key ;
3599    X509 *cert ;   3599    X509 *cert ;
3600 };   3600 };
3601 typedef struct pkcs7_recip_info_st PKCS7_RECIP_INFO;   3601 typedef struct pkcs7_recip_info_st PKCS7_RECIP_INFO;
3602 struct stack_st_PKCS7_RECIP_INFO {   3602 struct stack_st_PKCS7_RECIP_INFO {
3603    _STACK stack ;   3603    _STACK stack ;
3604 };   3604 };
3605 struct pkcs7_st;   3605 struct pkcs7_st;
3606 struct pkcs7_signed_st {   3606 struct pkcs7_signed_st {
3607    ASN1_INTEGER *version ;   3607    ASN1_INTEGER *version ;
3608    struct stack_st_X509_ALGOR *md_algs ;   3608    struct stack_st_X509_ALGOR *md_algs ;
3609    struct stack_st_X509 *cert ;   3609    struct stack_st_X509 *cert ;
3610    struct stack_st_X509_CRL *crl ;   3610    struct stack_st_X509_CRL *crl ;
3611    struct stack_st_PKCS7_SIGNER_INFO *signer_info ;   3611    struct stack_st_PKCS7_SIGNER_INFO *signer_info ;
3612    struct pkcs7_st *contents ;   3612    struct pkcs7_st *contents ;
3613 };   3613 };
3614 typedef struct pkcs7_signed_st PKCS7_SIGNED;   3614 typedef struct pkcs7_signed_st PKCS7_SIGNED;
3615 struct pkcs7_enc_content_st {   3615 struct pkcs7_enc_content_st {
3616    ASN1_OBJECT *content_type ;   3616    ASN1_OBJECT *content_type ;
3617    X509_ALGOR *algorithm ;   3617    X509_ALGOR *algorithm ;
3618    ASN1_OCTET_STRING *enc_data ;   3618    ASN1_OCTET_STRING *enc_data ;
3619    EVP_CIPHER const   *cipher ;   3619    EVP_CIPHER const   *cipher ;
3620 };   3620 };
3621 typedef struct pkcs7_enc_content_st PKCS7_ENC_CONTENT;   3621 typedef struct pkcs7_enc_content_st PKCS7_ENC_CONTENT;
3622 struct pkcs7_enveloped_st {   3622 struct pkcs7_enveloped_st {
3623    ASN1_INTEGER *version ;   3623    ASN1_INTEGER *version ;
3624    struct stack_st_PKCS7_RECIP_INFO *recipientinfo ;   3624    struct stack_st_PKCS7_RECIP_INFO *recipientinfo ;
3625    PKCS7_ENC_CONTENT *enc_data ;   3625    PKCS7_ENC_CONTENT *enc_data ;
3626 };   3626 };
3627 typedef struct pkcs7_enveloped_st PKCS7_ENVELOPE;   3627 typedef struct pkcs7_enveloped_st PKCS7_ENVELOPE;
3628 struct pkcs7_signedandenveloped_st {   3628 struct pkcs7_signedandenveloped_st {
3629    ASN1_INTEGER *version ;   3629    ASN1_INTEGER *version ;
3630    struct stack_st_X509_ALGOR *md_algs ;   3630    struct stack_st_X509_ALGOR *md_algs ;
3631    struct stack_st_X509 *cert ;   3631    struct stack_st_X509 *cert ;
3632    struct stack_st_X509_CRL *crl ;   3632    struct stack_st_X509_CRL *crl ;
3633    struct stack_st_PKCS7_SIGNER_INFO *signer_info ;   3633    struct stack_st_PKCS7_SIGNER_INFO *signer_info ;
3634    PKCS7_ENC_CONTENT *enc_data ;   3634    PKCS7_ENC_CONTENT *enc_data ;
3635    struct stack_st_PKCS7_RECIP_INFO *recipientinfo ;   3635    struct stack_st_PKCS7_RECIP_INFO *recipientinfo ;
3636 };   3636 };
3637 typedef struct pkcs7_signedandenveloped_st PKCS7_SIGN_ENVELOPE;   3637 typedef struct pkcs7_signedandenveloped_st PKCS7_SIGN_ENVELOPE;
3638 struct pkcs7_digest_st {   3638 struct pkcs7_digest_st {
3639    ASN1_INTEGER *version ;   3639    ASN1_INTEGER *version ;
3640    X509_ALGOR *md ;   3640    X509_ALGOR *md ;
3641    struct pkcs7_st *contents ;   3641    struct pkcs7_st *contents ;
3642    ASN1_OCTET_STRING *digest ;   3642    ASN1_OCTET_STRING *digest ;
3643 };   3643 };
3644 typedef struct pkcs7_digest_st PKCS7_DIGEST;   3644 typedef struct pkcs7_digest_st PKCS7_DIGEST;
3645 struct pkcs7_encrypted_st {   3645 struct pkcs7_encrypted_st {
3646    ASN1_INTEGER *version ;   3646    ASN1_INTEGER *version ;
3647    PKCS7_ENC_CONTENT *enc_data ;   3647    PKCS7_ENC_CONTENT *enc_data ;
3648 };   3648 };
3649 typedef struct pkcs7_encrypted_st PKCS7_ENCRYPT;   3649 typedef struct pkcs7_encrypted_st PKCS7_ENCRYPT;
3650 union __anonunion_d_146 {   3650 union __anonunion_d_146 {
3651    char *ptr ;   3651    char *ptr ;
3652    ASN1_OCTET_STRING *data ;   3652    ASN1_OCTET_STRING *data ;
3653    PKCS7_SIGNED *sign ;   3653    PKCS7_SIGNED *sign ;
3654    PKCS7_ENVELOPE *enveloped ;   3654    PKCS7_ENVELOPE *enveloped ;
3655    PKCS7_SIGN_ENVELOPE *signed_and_enveloped ;   3655    PKCS7_SIGN_ENVELOPE *signed_and_enveloped ;
3656    PKCS7_DIGEST *digest ;   3656    PKCS7_DIGEST *digest ;
3657    PKCS7_ENCRYPT *encrypted ;   3657    PKCS7_ENCRYPT *encrypted ;
3658    ASN1_TYPE *other ;   3658    ASN1_TYPE *other ;
3659 };   3659 };
3660 struct pkcs7_st {   3660 struct pkcs7_st {
3661    unsigned char *asn1 ;   3661    unsigned char *asn1 ;
3662    long length ;   3662    long length ;
3663    int state ;   3663    int state ;
3664    int detached ;   3664    int detached ;
3665    ASN1_OBJECT *type ;   3665    ASN1_OBJECT *type ;
3666    union __anonunion_d_146 d ;   3666    union __anonunion_d_146 d ;
3667 };   3667 };
3668 typedef struct pkcs7_st PKCS7;   3668 typedef struct pkcs7_st PKCS7;
3669 struct stack_st_PKCS7 {   3669 struct stack_st_PKCS7 {
3670    _STACK stack ;   3670    _STACK stack ;
3671 };   3671 };
3672 struct PEM_Encode_Seal_st {   3672 struct PEM_Encode_Seal_st {
3673    EVP_ENCODE_CTX encode ;   3673    EVP_ENCODE_CTX encode ;
3674    EVP_MD_CTX md ;   3674    EVP_MD_CTX md ;
3675    EVP_CIPHER_CTX cipher ;   3675    EVP_CIPHER_CTX cipher ;
3676 };   3676 };
3677 typedef struct PEM_Encode_Seal_st PEM_ENCODE_SEAL_CTX;   3677 typedef struct PEM_Encode_Seal_st PEM_ENCODE_SEAL_CTX;
3678 struct pem_recip_st {   3678 struct pem_recip_st {
3679    char *name ;   3679    char *name ;
3680    X509_NAME *dn ;   3680    X509_NAME *dn ;
3681    int cipher ;   3681    int cipher ;
3682    int key_enc ;   3682    int key_enc ;
3683 };   3683 };
3684 typedef struct pem_recip_st PEM_USER;   3684 typedef struct pem_recip_st PEM_USER;
3685 struct __anonstruct_proc_type_147 {   3685 struct __anonstruct_proc_type_147 {
3686    int version ;   3686    int version ;
3687    int mode ;   3687    int mode ;
3688 };   3688 };
3689 struct __anonstruct_DEK_info_148 {   3689 struct __anonstruct_DEK_info_148 {
3690    int cipher ;   3690    int cipher ;
3691 };   3691 };
3692 struct pem_ctx_st {   3692 struct pem_ctx_st {
3693    int type ;   3693    int type ;
3694    struct __anonstruct_proc_type_147 proc_type ;   3694    struct __anonstruct_proc_type_147 proc_type ;
3695    char *domain ;   3695    char *domain ;
3696    struct __anonstruct_DEK_info_148 DEK_info ;   3696    struct __anonstruct_DEK_info_148 DEK_info ;
3697    PEM_USER *originator ;   3697    PEM_USER *originator ;
3698    int num_recipient ;   3698    int num_recipient ;
3699    PEM_USER **recipient ;   3699    PEM_USER **recipient ;
3700    EVP_MD *md ;   3700    EVP_MD *md ;
3701    int md_enc ;   3701    int md_enc ;
3702    int md_len ;   3702    int md_len ;
3703    char *md_data ;   3703    char *md_data ;
3704    EVP_CIPHER *dec ;   3704    EVP_CIPHER *dec ;
3705    int key_len ;   3705    int key_len ;
3706    unsigned char *key ;   3706    unsigned char *key ;
3707    int data_enc ;   3707    int data_enc ;
3708    int data_len ;   3708    int data_len ;
3709    unsigned char *data ;   3709    unsigned char *data ;
3710 };   3710 };
3711 typedef struct pem_ctx_st PEM_CTX;   3711 typedef struct pem_ctx_st PEM_CTX;
3712 typedef int pem_password_cb(char *buf , int size , int rwflag , void *userdata );   3712 typedef int pem_password_cb(char *buf , int size , int rwflag , void *userdata );
3713 struct hmac_ctx_st {   3713 struct hmac_ctx_st {
3714    EVP_MD const   *md ;   3714    EVP_MD const   *md ;
3715    EVP_MD_CTX md_ctx ;   3715    EVP_MD_CTX md_ctx ;
3716    EVP_MD_CTX i_ctx ;   3716    EVP_MD_CTX i_ctx ;
3717    EVP_MD_CTX o_ctx ;   3717    EVP_MD_CTX o_ctx ;
3718    unsigned int key_length ;   3718    unsigned int key_length ;
3719    unsigned char key[128] ;   3719    unsigned char key[128] ;
3720 };   3720 };
3721 typedef struct hmac_ctx_st HMAC_CTX;   3721 typedef struct hmac_ctx_st HMAC_CTX;
3722 typedef struct ssl_st *ssl_crock_st;   3722 typedef struct ssl_st *ssl_crock_st;
3723 struct tls_session_ticket_ext_st;   3723 struct tls_session_ticket_ext_st;
3724 typedef struct tls_session_ticket_ext_st TLS_SESSION_TICKET_EXT;   3724 typedef struct tls_session_ticket_ext_st TLS_SESSION_TICKET_EXT;
3725 struct ssl_cipher_st {   3725 struct ssl_cipher_st {
3726    int valid ;   3726    int valid ;
3727    char const   *name ;   3727    char const   *name ;
3728    unsigned long id ;   3728    unsigned long id ;
3729    unsigned long algorithm_mkey ;   3729    unsigned long algorithm_mkey ;
3730    unsigned long algorithm_auth ;   3730    unsigned long algorithm_auth ;
3731    unsigned long algorithm_enc ;   3731    unsigned long algorithm_enc ;
3732    unsigned long algorithm_mac ;   3732    unsigned long algorithm_mac ;
3733    unsigned long algorithm_ssl ;   3733    unsigned long algorithm_ssl ;
3734    unsigned long algo_strength ;   3734    unsigned long algo_strength ;
3735    unsigned long algorithm2 ;   3735    unsigned long algorithm2 ;
3736    int strength_bits ;   3736    int strength_bits ;
3737    int alg_bits ;   3737    int alg_bits ;
3738 };   3738 };
3739 typedef struct ssl_cipher_st SSL_CIPHER;   3739 typedef struct ssl_cipher_st SSL_CIPHER;
3740 struct stack_st_SSL_CIPHER {   3740 struct stack_st_SSL_CIPHER {
3741    _STACK stack ;   3741    _STACK stack ;
3742 };   3742 };
3743 typedef int (*tls_session_ticket_ext_cb_fn)(SSL *s ,   3743 typedef int (*tls_session_ticket_ext_cb_fn)(SSL *s ,
3744                                             unsigned char const   *data ,   3744                                             unsigned char const   *data ,
3745                                             int len , void *arg );   3745                                             int len , void *arg );
3746 typedef int (*tls_session_secret_cb_fn)(SSL *s , void *secret ,   3746 typedef int (*tls_session_secret_cb_fn)(SSL *s , void *secret ,
3747                                         int *secret_len ,   3747                                         int *secret_len ,
3748                                         struct stack_st_SSL_CIPHER *peer_ciphers ,   3748                                         struct stack_st_SSL_CIPHER *peer_ciphers ,
3749                                         SSL_CIPHER **cipher , void *arg );   3749                                         SSL_CIPHER **cipher , void *arg );
3750 struct ssl3_enc_method;   3750 struct ssl3_enc_method;
3751 struct ssl_method_st {   3751 struct ssl_method_st {
3752    int version ;   3752    int version ;
3753    int (*ssl_new)(SSL *s ) ;   3753    int (*ssl_new)(SSL *s ) ;
3754    void (*ssl_clear)(SSL *s ) ;   3754    void (*ssl_clear)(SSL *s ) ;
3755    void (*ssl_free)(SSL *s ) ;   3755    void (*ssl_free)(SSL *s ) ;
3756    int (*ssl_accept)(SSL *s ) ;   3756    int (*ssl_accept)(SSL *s ) ;
3757    int (*ssl_connect)(SSL *s ) ;   3757    int (*ssl_connect)(SSL *s ) ;
3758    int (*ssl_read)(SSL *s , void *buf , int len ) ;   3758    int (*ssl_read)(SSL *s , void *buf , int len ) ;
3759    int (*ssl_peek)(SSL *s , void *buf , int len ) ;   3759    int (*ssl_peek)(SSL *s , void *buf , int len ) ;
3760    int (*ssl_write)(SSL *s , void const   *buf , int len ) ;   3760    int (*ssl_write)(SSL *s , void const   *buf , int len ) ;
3761    int (*ssl_shutdown)(SSL *s ) ;   3761    int (*ssl_shutdown)(SSL *s ) ;
3762    int (*ssl_renegotiate)(SSL *s ) ;   3762    int (*ssl_renegotiate)(SSL *s ) ;
3763    int (*ssl_renegotiate_check)(SSL *s ) ;   3763    int (*ssl_renegotiate_check)(SSL *s ) ;
3764    long (*ssl_get_message)(SSL *s , int st1 , int stn , int mt , long max ,   3764    long (*ssl_get_message)(SSL *s , int st1 , int stn , int mt , long max ,
3765                            int *ok ) ;   3765                            int *ok ) ;
3766    int (*ssl_read_bytes)(SSL *s , int type , unsigned char *buf , int len ,   3766    int (*ssl_read_bytes)(SSL *s , int type , unsigned char *buf , int len ,
3767                          int peek ) ;   3767                          int peek ) ;
3768    int (*ssl_write_bytes)(SSL *s , int type , void const   *buf_ , int len ) ;   3768    int (*ssl_write_bytes)(SSL *s , int type , void const   *buf_ , int len ) ;
3769    int (*ssl_dispatch_alert)(SSL *s ) ;   3769    int (*ssl_dispatch_alert)(SSL *s ) ;
3770    long (*ssl_ctrl)(SSL *s , int cmd , long larg , void *parg ) ;   3770    long (*ssl_ctrl)(SSL *s , int cmd , long larg , void *parg ) ;
3771    long (*ssl_ctx_ctrl)(SSL_CTX *ctx , int cmd , long larg , void *parg ) ;   3771    long (*ssl_ctx_ctrl)(SSL_CTX *ctx , int cmd , long larg , void *parg ) ;
3772    SSL_CIPHER const   *(*get_cipher_by_char)(unsigned char const   *ptr ) ;   3772    SSL_CIPHER const   *(*get_cipher_by_char)(unsigned char const   *ptr ) ;
3773    int (*put_cipher_by_char)(SSL_CIPHER const   *cipher , unsigned char *ptr ) ;   3773    int (*put_cipher_by_char)(SSL_CIPHER const   *cipher , unsigned char *ptr ) ;
3774    int (*ssl_pending)(SSL const   *s ) ;   3774    int (*ssl_pending)(SSL const   *s ) ;
3775    int (*num_ciphers)(void) ;   3775    int (*num_ciphers)(void) ;
3776    SSL_CIPHER const   *(*get_cipher)(unsigned int ncipher ) ;   3776    SSL_CIPHER const   *(*get_cipher)(unsigned int ncipher ) ;
3777    struct ssl_method_st  const  *(*get_ssl_method)(int version ) ;   3777    struct ssl_method_st  const  *(*get_ssl_method)(int version ) ;
3778    long (*get_timeout)(void) ;   3778    long (*get_timeout)(void) ;
3779    struct ssl3_enc_method *ssl3_enc ;   3779    struct ssl3_enc_method *ssl3_enc ;
3780    int (*ssl_version)(void) ;   3780    int (*ssl_version)(void) ;
3781    long (*ssl_callback_ctrl)(SSL *s , int cb_id , void (*fp)(void) ) ;   3781    long (*ssl_callback_ctrl)(SSL *s , int cb_id , void (*fp)(void) ) ;
3782    long (*ssl_ctx_callback_ctrl)(SSL_CTX *s , int cb_id , void (*fp)(void) ) ;   3782    long (*ssl_ctx_callback_ctrl)(SSL_CTX *s , int cb_id , void (*fp)(void) ) ;
3783 };   3783 };
3784 typedef struct ssl_method_st SSL_METHOD;   3784 typedef struct ssl_method_st SSL_METHOD;
3785 struct sess_cert_st;   3785 struct sess_cert_st;
3786 struct ssl_session_st {   3786 struct ssl_session_st {
3787    int ssl_version ;   3787    int ssl_version ;
3788    unsigned int key_arg_length ;   3788    unsigned int key_arg_length ;
3789    unsigned char key_arg[8] ;   3789    unsigned char key_arg[8] ;
3790    int master_key_length ;   3790    int master_key_length ;
3791    unsigned char master_key[48] ;   3791    unsigned char master_key[48] ;
3792    unsigned int session_id_length ;   3792    unsigned int session_id_length ;
3793    unsigned char session_id[32] ;   3793    unsigned char session_id[32] ;
3794    unsigned int sid_ctx_length ;   3794    unsigned int sid_ctx_length ;
3795    unsigned char sid_ctx[32] ;   3795    unsigned char sid_ctx[32] ;
3796    char *psk_identity_hint ;   3796    char *psk_identity_hint ;
3797    char *psk_identity ;   3797    char *psk_identity ;
3798    int not_resumable ;   3798    int not_resumable ;
3799    struct sess_cert_st *sess_cert ;   3799    struct sess_cert_st *sess_cert ;
3800    X509 *peer ;   3800    X509 *peer ;
3801    long verify_result ;   3801    long verify_result ;
3802    int references ;   3802    int references ;
3803    long timeout ;   3803    long timeout ;
3804    long time ;   3804    long time ;
3805    unsigned int compress_meth ;   3805    unsigned int compress_meth ;
3806    SSL_CIPHER const   *cipher ;   3806    SSL_CIPHER const   *cipher ;
3807    unsigned long cipher_id ;   3807    unsigned long cipher_id ;
3808    struct stack_st_SSL_CIPHER *ciphers ;   3808    struct stack_st_SSL_CIPHER *ciphers ;
3809    CRYPTO_EX_DATA ex_data ;   3809    CRYPTO_EX_DATA ex_data ;
3810    struct ssl_session_st *prev ;   3810    struct ssl_session_st *prev ;
3811    struct ssl_session_st *next ;   3811    struct ssl_session_st *next ;
3812    char *tlsext_hostname ;   3812    char *tlsext_hostname ;
3813    unsigned char *tlsext_tick ;   3813    unsigned char *tlsext_tick ;
3814    size_t tlsext_ticklen ;   3814    size_t tlsext_ticklen ;
3815    long tlsext_tick_lifetime_hint ;   3815    long tlsext_tick_lifetime_hint ;
3816 };   3816 };
3817 typedef struct ssl_session_st SSL_SESSION;   3817 typedef struct ssl_session_st SSL_SESSION;
3818 typedef int (*GEN_SESSION_CB)(SSL const   *ssl , unsigned char *id ,   3818 typedef int (*GEN_SESSION_CB)(SSL const   *ssl , unsigned char *id ,
3819                               unsigned int *id_len );   3819                               unsigned int *id_len );
3820 struct ssl_comp_st {   3820 struct ssl_comp_st {
3821    int id ;   3821    int id ;
3822    char const   *name ;   3822    char const   *name ;
3823    COMP_METHOD *method ;   3823    COMP_METHOD *method ;
3824 };   3824 };
3825 typedef struct ssl_comp_st SSL_COMP;   3825 typedef struct ssl_comp_st SSL_COMP;
3826 struct stack_st_SSL_COMP {   3826 struct stack_st_SSL_COMP {
3827    _STACK stack ;   3827    _STACK stack ;
3828 };   3828 };
3829 struct lhash_st_SSL_SESSION {   3829 struct lhash_st_SSL_SESSION {
3830    int dummy ;   3830    int dummy ;
3831 };   3831 };
3832 struct __anonstruct_stats_149 {   3832 struct __anonstruct_stats_149 {
3833    int sess_connect ;   3833    int sess_connect ;
3834    int sess_connect_renegotiate ;   3834    int sess_connect_renegotiate ;
3835    int sess_connect_good ;   3835    int sess_connect_good ;
3836    int sess_accept ;   3836    int sess_accept ;
3837    int sess_accept_renegotiate ;   3837    int sess_accept_renegotiate ;
3838    int sess_accept_good ;   3838    int sess_accept_good ;
3839    int sess_miss ;   3839    int sess_miss ;
3840    int sess_timeout ;   3840    int sess_timeout ;
3841    int sess_cache_full ;   3841    int sess_cache_full ;
3842    int sess_hit ;   3842    int sess_hit ;
3843    int sess_cb_hit ;   3843    int sess_cb_hit ;
3844 };   3844 };
3845 struct cert_st;   3845 struct cert_st;
3846 struct ssl3_buf_freelist_st;   3846 struct ssl3_buf_freelist_st;
3847 struct ssl_ctx_st {   3847 struct ssl_ctx_st {
3848    SSL_METHOD const   *method ;   3848    SSL_METHOD const   *method ;
3849    struct stack_st_SSL_CIPHER *cipher_list ;   3849    struct stack_st_SSL_CIPHER *cipher_list ;
3850    struct stack_st_SSL_CIPHER *cipher_list_by_id ;   3850    struct stack_st_SSL_CIPHER *cipher_list_by_id ;
3851    struct x509_store_st *cert_store ;   3851    struct x509_store_st *cert_store ;
3852    struct lhash_st_SSL_SESSION *sessions ;   3852    struct lhash_st_SSL_SESSION *sessions ;
3853    unsigned long session_cache_size ;   3853    unsigned long session_cache_size ;
3854    struct ssl_session_st *session_cache_head ;   3854    struct ssl_session_st *session_cache_head ;
3855    struct ssl_session_st *session_cache_tail ;   3855    struct ssl_session_st *session_cache_tail ;
3856    int session_cache_mode ;   3856    int session_cache_mode ;
3857    long session_timeout ;   3857    long session_timeout ;
3858    int (*new_session_cb)(struct ssl_st *ssl , SSL_SESSION *sess ) ;   3858    int (*new_session_cb)(struct ssl_st *ssl , SSL_SESSION *sess ) ;
3859    void (*remove_session_cb)(struct ssl_ctx_st *ctx , SSL_SESSION *sess ) ;   3859    void (*remove_session_cb)(struct ssl_ctx_st *ctx , SSL_SESSION *sess ) ;
3860    SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl , unsigned char *data ,   3860    SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl , unsigned char *data ,
3861                                   int len , int *copy ) ;   3861                                   int len , int *copy ) ;
3862    struct __anonstruct_stats_149 stats ;   3862    struct __anonstruct_stats_149 stats ;
3863    int references ;   3863    int references ;
3864    int (*app_verify_callback)(X509_STORE_CTX * , void * ) ;   3864    int (*app_verify_callback)(X509_STORE_CTX * , void * ) ;
3865    void *app_verify_arg ;   3865    void *app_verify_arg ;
3866    pem_password_cb *default_passwd_callback ;   3866    pem_password_cb *default_passwd_callback ;
3867    void *default_passwd_callback_userdata ;   3867    void *default_passwd_callback_userdata ;
3868    int (*client_cert_cb)(SSL *ssl , X509 **x509 , EVP_PKEY **pkey ) ;   3868    int (*client_cert_cb)(SSL *ssl , X509 **x509 , EVP_PKEY **pkey ) ;
3869    int (*app_gen_cookie_cb)(SSL *ssl , unsigned char *cookie ,   3869    int (*app_gen_cookie_cb)(SSL *ssl , unsigned char *cookie ,
3870                             unsigned int *cookie_len ) ;   3870                             unsigned int *cookie_len ) ;
3871    int (*app_verify_cookie_cb)(SSL *ssl , unsigned char *cookie ,   3871    int (*app_verify_cookie_cb)(SSL *ssl , unsigned char *cookie ,
3872                                unsigned int cookie_len ) ;   3872                                unsigned int cookie_len ) ;
3873    CRYPTO_EX_DATA ex_data ;   3873    CRYPTO_EX_DATA ex_data ;
3874    EVP_MD const   *rsa_md5 ;   3874    EVP_MD const   *rsa_md5 ;
3875    EVP_MD const   *md5 ;   3875    EVP_MD const   *md5 ;
3876    EVP_MD const   *sha1 ;   3876    EVP_MD const   *sha1 ;
3877    struct stack_st_X509 *extra_certs ;   3877    struct stack_st_X509 *extra_certs ;
3878    struct stack_st_SSL_COMP *comp_methods ;   3878    struct stack_st_SSL_COMP *comp_methods ;
3879    void (*info_callback)(SSL const   *ssl , int type , int val ) ;   3879    void (*info_callback)(SSL const   *ssl , int type , int val ) ;
3880    struct stack_st_X509_NAME *client_CA ;   3880    struct stack_st_X509_NAME *client_CA ;
3881    unsigned long options ;   3881    unsigned long options ;
3882    unsigned long mode ;   3882    unsigned long mode ;
3883    long max_cert_list ;   3883    long max_cert_list ;
3884    struct cert_st *cert ;   3884    struct cert_st *cert ;
3885    int read_ahead ;   3885    int read_ahead ;
3886    void (*msg_callback)(int write_p , int version , int content_type ,   3886    void (*msg_callback)(int write_p , int version , int content_type ,
3887                         void const   *buf , size_t len , SSL *ssl , void *arg ) ;   3887                         void const   *buf , size_t len , SSL *ssl , void *arg ) ;
3888    void *msg_callback_arg ;   3888    void *msg_callback_arg ;
3889    int verify_mode ;   3889    int verify_mode ;
3890    unsigned int sid_ctx_length ;   3890    unsigned int sid_ctx_length ;
3891    unsigned char sid_ctx[32] ;   3891    unsigned char sid_ctx[32] ;
3892    int (*default_verify_callback)(int ok , X509_STORE_CTX *ctx ) ;   3892    int (*default_verify_callback)(int ok , X509_STORE_CTX *ctx ) ;
3893    int (*generate_session_id)(SSL const   *ssl , unsigned char *id ,   3893    int (*generate_session_id)(SSL const   *ssl , unsigned char *id ,
3894                               unsigned int *id_len ) ;   3894                               unsigned int *id_len ) ;
3895    X509_VERIFY_PARAM *param ;   3895    X509_VERIFY_PARAM *param ;
3896    int quiet_shutdown ;   3896    int quiet_shutdown ;
3897    unsigned int max_send_fragment ;   3897    unsigned int max_send_fragment ;
3898    ENGINE *client_cert_engine ;   3898    ENGINE *client_cert_engine ;
3899    int (*tlsext_servername_callback)(SSL * , int * , void * ) ;   3899    int (*tlsext_servername_callback)(SSL * , int * , void * ) ;
3900    void *tlsext_servername_arg ;   3900    void *tlsext_servername_arg ;
3901    unsigned char tlsext_tick_key_name[16] ;   3901    unsigned char tlsext_tick_key_name[16] ;
3902    unsigned char tlsext_tick_hmac_key[16] ;   3902    unsigned char tlsext_tick_hmac_key[16] ;
3903    unsigned char tlsext_tick_aes_key[16] ;   3903    unsigned char tlsext_tick_aes_key[16] ;
3904    int (*tlsext_ticket_key_cb)(SSL *ssl , unsigned char *name ,   3904    int (*tlsext_ticket_key_cb)(SSL *ssl , unsigned char *name ,
3905                                unsigned char *iv , EVP_CIPHER_CTX *ectx ,   3905                                unsigned char *iv , EVP_CIPHER_CTX *ectx ,
3906                                HMAC_CTX *hctx , int enc ) ;   3906                                HMAC_CTX *hctx , int enc ) ;
3907    int (*tlsext_status_cb)(SSL *ssl , void *arg ) ;   3907    int (*tlsext_status_cb)(SSL *ssl , void *arg ) ;
3908    void *tlsext_status_arg ;   3908    void *tlsext_status_arg ;
3909    int (*tlsext_opaque_prf_input_callback)(SSL * , void *peerinput ,   3909    int (*tlsext_opaque_prf_input_callback)(SSL * , void *peerinput ,
3910                                            size_t len , void *arg ) ;   3910                                            size_t len , void *arg ) ;
3911    void *tlsext_opaque_prf_input_callback_arg ;   3911    void *tlsext_opaque_prf_input_callback_arg ;
3912    char *psk_identity_hint ;   3912    char *psk_identity_hint ;
3913    unsigned int (*psk_client_callback)(SSL *ssl , char const   *hint ,   3913    unsigned int (*psk_client_callback)(SSL *ssl , char const   *hint ,
3914                                        char *identity ,   3914                                        char *identity ,
3915                                        unsigned int max_identity_len ,   3915                                        unsigned int max_identity_len ,
3916                                        unsigned char *psk ,   3916                                        unsigned char *psk ,
3917                                        unsigned int max_psk_len ) ;   3917                                        unsigned int max_psk_len ) ;
3918    unsigned int (*psk_server_callback)(SSL *ssl , char const   *identity ,   3918    unsigned int (*psk_server_callback)(SSL *ssl , char const   *identity ,
3919                                        unsigned char *psk ,   3919                                        unsigned char *psk ,
3920                                        unsigned int max_psk_len ) ;   3920                                        unsigned int max_psk_len ) ;
3921    unsigned int freelist_max_len ;   3921    unsigned int freelist_max_len ;
3922    struct ssl3_buf_freelist_st *wbuf_freelist ;   3922    struct ssl3_buf_freelist_st *wbuf_freelist ;
3923    struct ssl3_buf_freelist_st *rbuf_freelist ;   3923    struct ssl3_buf_freelist_st *rbuf_freelist ;
3924 };   3924 };
3925 struct ssl2_state_st;   3925 struct ssl2_state_st;
3926 struct ssl3_state_st;   3926 struct ssl3_state_st;
3927 struct dtls1_state_st;   3927 struct dtls1_state_st;
3928 struct stack_st_OCSP_RESPID;   3928 struct stack_st_OCSP_RESPID;
3929 struct ssl_st {   3929 struct ssl_st {
3930    int version ;   3930    int version ;
3931    int type ;   3931    int type ;
3932    SSL_METHOD const   *method ;   3932    SSL_METHOD const   *method ;
3933    BIO *rbio ;   3933    BIO *rbio ;
3934    BIO *wbio ;   3934    BIO *wbio ;
3935    BIO *bbio ;   3935    BIO *bbio ;
3936    int rwstate ;   3936    int rwstate ;
3937    int in_handshake ;   3937    int in_handshake ;
3938    int (*handshake_func)(SSL * ) ;   3938    int (*handshake_func)(SSL * ) ;
3939    int server ;   3939    int server ;
3940    int new_session ;   3940    int new_session ;
3941    int quiet_shutdown ;   3941    int quiet_shutdown ;
3942    int shutdown ;   3942    int shutdown ;
3943    int state ;   3943    int state ;
3944    int rstate ;   3944    int rstate ;
3945    BUF_MEM *init_buf ;   3945    BUF_MEM *init_buf ;
3946    void *init_msg ;   3946    void *init_msg ;
3947    int init_num ;   3947    int init_num ;
3948    int init_off ;   3948    int init_off ;
3949    unsigned char *packet ;   3949    unsigned char *packet ;
3950    unsigned int packet_length ;   3950    unsigned int packet_length ;
3951    struct ssl2_state_st *s2 ;   3951    struct ssl2_state_st *s2 ;
3952    struct ssl3_state_st *s3 ;   3952    struct ssl3_state_st *s3 ;
3953    struct dtls1_state_st *d1 ;   3953    struct dtls1_state_st *d1 ;
3954    int read_ahead ;   3954    int read_ahead ;
3955    void (*msg_callback)(int write_p , int version , int content_type ,   3955    void (*msg_callback)(int write_p , int version , int content_type ,
3956                         void const   *buf , size_t len , SSL *ssl , void *arg ) ;   3956                         void const   *buf , size_t len , SSL *ssl , void *arg ) ;
3957    void *msg_callback_arg ;   3957    void *msg_callback_arg ;
3958    int hit ;   3958    int hit ;
3959    X509_VERIFY_PARAM *param ;   3959    X509_VERIFY_PARAM *param ;
3960    struct stack_st_SSL_CIPHER *cipher_list ;   3960    struct stack_st_SSL_CIPHER *cipher_list ;
3961    struct stack_st_SSL_CIPHER *cipher_list_by_id ;   3961    struct stack_st_SSL_CIPHER *cipher_list_by_id ;
3962    int mac_flags ;   3962    int mac_flags ;
3963    EVP_CIPHER_CTX *enc_read_ctx ;   3963    EVP_CIPHER_CTX *enc_read_ctx ;
3964    EVP_MD_CTX *read_hash ;   3964    EVP_MD_CTX *read_hash ;
3965    COMP_CTX *expand ;   3965    COMP_CTX *expand ;
3966    EVP_CIPHER_CTX *enc_write_ctx ;   3966    EVP_CIPHER_CTX *enc_write_ctx ;
3967    EVP_MD_CTX *write_hash ;   3967    EVP_MD_CTX *write_hash ;
3968    COMP_CTX *compress ;   3968    COMP_CTX *compress ;
3969    struct cert_st *cert ;   3969    struct cert_st *cert ;
3970    unsigned int sid_ctx_length ;   3970    unsigned int sid_ctx_length ;
3971    unsigned char sid_ctx[32] ;   3971    unsigned char sid_ctx[32] ;
3972    SSL_SESSION *session ;   3972    SSL_SESSION *session ;
3973    int (*generate_session_id)(SSL const   *ssl , unsigned char *id ,   3973    int (*generate_session_id)(SSL const   *ssl , unsigned char *id ,
3974                               unsigned int *id_len ) ;   3974                               unsigned int *id_len ) ;
3975    int verify_mode ;   3975    int verify_mode ;
3976    int (*verify_callback)(int ok , X509_STORE_CTX *ctx ) ;   3976    int (*verify_callback)(int ok , X509_STORE_CTX *ctx ) ;
3977    void (*info_callback)(SSL const   *ssl , int type , int val ) ;   3977    void (*info_callback)(SSL const   *ssl , int type , int val ) ;
3978    int error ;   3978    int error ;
3979    int error_code ;   3979    int error_code ;
3980    unsigned int (*psk_client_callback)(SSL *ssl , char const   *hint ,   3980    unsigned int (*psk_client_callback)(SSL *ssl , char const   *hint ,
3981                                        char *identity ,   3981                                        char *identity ,
3982                                        unsigned int max_identity_len ,   3982                                        unsigned int max_identity_len ,
3983                                        unsigned char *psk ,   3983                                        unsigned char *psk ,
3984                                        unsigned int max_psk_len ) ;   3984                                        unsigned int max_psk_len ) ;
3985    unsigned int (*psk_server_callback)(SSL *ssl , char const   *identity ,   3985    unsigned int (*psk_server_callback)(SSL *ssl , char const   *identity ,
3986                                        unsigned char *psk ,   3986                                        unsigned char *psk ,
3987                                        unsigned int max_psk_len ) ;   3987                                        unsigned int max_psk_len ) ;
3988    SSL_CTX *ctx ;   3988    SSL_CTX *ctx ;
3989    int debug ;   3989    int debug ;
3990    long verify_result ;   3990    long verify_result ;
3991    CRYPTO_EX_DATA ex_data ;   3991    CRYPTO_EX_DATA ex_data ;
3992    struct stack_st_X509_NAME *client_CA ;   3992    struct stack_st_X509_NAME *client_CA ;
3993    int references ;   3993    int references ;
3994    unsigned long options ;   3994    unsigned long options ;
3995    unsigned long mode ;   3995    unsigned long mode ;
3996    long max_cert_list ;   3996    long max_cert_list ;
3997    int first_packet ;   3997    int first_packet ;
3998    int client_version ;   3998    int client_version ;
3999    unsigned int max_send_fragment ;   3999    unsigned int max_send_fragment ;
4000    void (*tlsext_debug_cb)(SSL *s , int client_server , int type ,   4000    void (*tlsext_debug_cb)(SSL *s , int client_server , int type ,
4001                            unsigned char *data , int len , void *arg ) ;   4001                            unsigned char *data , int len , void *arg ) ;
4002    void *tlsext_debug_arg ;   4002    void *tlsext_debug_arg ;
4003    char *tlsext_hostname ;   4003    char *tlsext_hostname ;
4004    int servername_done ;   4004    int servername_done ;
4005    int tlsext_status_type ;   4005    int tlsext_status_type ;
4006    int tlsext_status_expected ;   4006    int tlsext_status_expected ;
4007    struct stack_st_OCSP_RESPID *tlsext_ocsp_ids ;   4007    struct stack_st_OCSP_RESPID *tlsext_ocsp_ids ;
4008    X509_EXTENSIONS *tlsext_ocsp_exts ;   4008    X509_EXTENSIONS *tlsext_ocsp_exts ;
4009    unsigned char *tlsext_ocsp_resp ;   4009    unsigned char *tlsext_ocsp_resp ;
4010    int tlsext_ocsp_resplen ;   4010    int tlsext_ocsp_resplen ;
4011    int tlsext_ticket_expected ;   4011    int tlsext_ticket_expected ;
4012    void *tlsext_opaque_prf_input ;   4012    void *tlsext_opaque_prf_input ;
4013    size_t tlsext_opaque_prf_input_len ;   4013    size_t tlsext_opaque_prf_input_len ;
4014    TLS_SESSION_TICKET_EXT *tlsext_session_ticket ;   4014    TLS_SESSION_TICKET_EXT *tlsext_session_ticket ;
4015    int (*tls_session_ticket_ext_cb)(SSL *s , unsigned char const   *data ,   4015    int (*tls_session_ticket_ext_cb)(SSL *s , unsigned char const   *data ,
4016                                     int len , void *arg ) ;   4016                                     int len , void *arg ) ;
4017    void *tls_session_ticket_ext_cb_arg ;   4017    void *tls_session_ticket_ext_cb_arg ;
4018    int (*tls_session_secret_cb)(SSL *s , void *secret , int *secret_len ,   4018    int (*tls_session_secret_cb)(SSL *s , void *secret , int *secret_len ,
4019                                 struct stack_st_SSL_CIPHER *peer_ciphers ,   4019                                 struct stack_st_SSL_CIPHER *peer_ciphers ,
4020                                 SSL_CIPHER **cipher , void *arg ) ;   4020                                 SSL_CIPHER **cipher , void *arg ) ;
4021    void *tls_session_secret_cb_arg ;   4021    void *tls_session_secret_cb_arg ;
4022    SSL_CTX *initial_ctx ;   4022    SSL_CTX *initial_ctx ;
4023 };   4023 };
4024 struct __anonstruct_tmp_150 {   4024 struct __anonstruct_tmp_150 {
4025    unsigned int conn_id_length ;   4025    unsigned int conn_id_length ;
4026    unsigned int cert_type ;   4026    unsigned int cert_type ;
4027    unsigned int cert_length ;   4027    unsigned int cert_length ;
4028    unsigned int csl ;   4028    unsigned int csl ;
4029    unsigned int clear ;   4029    unsigned int clear ;
4030    unsigned int enc ;   4030    unsigned int enc ;
4031    unsigned char ccl[32] ;   4031    unsigned char ccl[32] ;
4032    unsigned int cipher_spec_length ;   4032    unsigned int cipher_spec_length ;
4033    unsigned int session_id_length ;   4033    unsigned int session_id_length ;
4034    unsigned int clen ;   4034    unsigned int clen ;
4035    unsigned int rlen ;   4035    unsigned int rlen ;
4036 };   4036 };
4037 struct ssl2_state_st {   4037 struct ssl2_state_st {
4038    int three_byte_header ;   4038    int three_byte_header ;
4039    int clear_text ;   4039    int clear_text ;
4040    int escape ;   4040    int escape ;
4041    int ssl2_rollback ;   4041    int ssl2_rollback ;
4042    unsigned int wnum ;   4042    unsigned int wnum ;
4043    int wpend_tot ;   4043    int wpend_tot ;
4044    unsigned char const   *wpend_buf ;   4044    unsigned char const   *wpend_buf ;
4045    int wpend_off ;   4045    int wpend_off ;
4046    int wpend_len ;   4046    int wpend_len ;
4047    int wpend_ret ;   4047    int wpend_ret ;
4048    int rbuf_left ;   4048    int rbuf_left ;
4049    int rbuf_offs ;   4049    int rbuf_offs ;
4050    unsigned char *rbuf ;   4050    unsigned char *rbuf ;
4051    unsigned char *wbuf ;   4051    unsigned char *wbuf ;
4052    unsigned char *write_ptr ;   4052    unsigned char *write_ptr ;
4053    unsigned int padding ;   4053    unsigned int padding ;
4054    unsigned int rlength ;   4054    unsigned int rlength ;
4055    int ract_data_length ;   4055    int ract_data_length ;
4056    unsigned int wlength ;   4056    unsigned int wlength ;
4057    int wact_data_length ;   4057    int wact_data_length ;
4058    unsigned char *ract_data ;   4058    unsigned char *ract_data ;
4059    unsigned char *wact_data ;   4059    unsigned char *wact_data ;
4060    unsigned char *mac_data ;   4060    unsigned char *mac_data ;
4061    unsigned char *read_key ;   4061    unsigned char *read_key ;
4062    unsigned char *write_key ;   4062    unsigned char *write_key ;
4063    unsigned int challenge_length ;   4063    unsigned int challenge_length ;
4064    unsigned char challenge[32] ;   4064    unsigned char challenge[32] ;
4065    unsigned int conn_id_length ;   4065    unsigned int conn_id_length ;
4066    unsigned char conn_id[16] ;   4066    unsigned char conn_id[16] ;
4067    unsigned int key_material_length ;   4067    unsigned int key_material_length ;
4068    unsigned char key_material[48] ;   4068    unsigned char key_material[48] ;
4069    unsigned long read_sequence ;   4069    unsigned long read_sequence ;
4070    unsigned long write_sequence ;   4070    unsigned long write_sequence ;
4071    struct __anonstruct_tmp_150 tmp ;   4071    struct __anonstruct_tmp_150 tmp ;
4072 };   4072 };
4073 typedef struct ssl2_state_st SSL2_STATE;   4073 typedef struct ssl2_state_st SSL2_STATE;
4074 struct ssl3_record_st {   4074 struct ssl3_record_st {
4075    int type ;   4075    int type ;
4076    unsigned int length ;   4076    unsigned int length ;
4077    unsigned int off ;   4077    unsigned int off ;
4078    unsigned char *data ;   4078    unsigned char *data ;
4079    unsigned char *input ;   4079    unsigned char *input ;
4080    unsigned char *comp ;   4080    unsigned char *comp ;
4081    unsigned long epoch ;   4081    unsigned long epoch ;
4082    unsigned char seq_num[8] ;   4082    unsigned char seq_num[8] ;
4083 };   4083 };
4084 typedef struct ssl3_record_st SSL3_RECORD;   4084 typedef struct ssl3_record_st SSL3_RECORD;
4085 struct ssl3_buffer_st {   4085 struct ssl3_buffer_st {
4086    unsigned char *buf ;   4086    unsigned char *buf ;
4087    size_t len ;   4087    size_t len ;
4088    int offset ;   4088    int offset ;
4089    int left ;   4089    int left ;
4090 };   4090 };
4091 typedef struct ssl3_buffer_st SSL3_BUFFER;   4091 typedef struct ssl3_buffer_st SSL3_BUFFER;
4092 struct __anonstruct_tmp_151 {   4092 struct __anonstruct_tmp_151 {
4093    unsigned char cert_verify_md[128] ;   4093    unsigned char cert_verify_md[128] ;
4094    unsigned char finish_md[128] ;   4094    unsigned char finish_md[128] ;
4095    int finish_md_len ;   4095    int finish_md_len ;
4096    unsigned char peer_finish_md[128] ;   4096    unsigned char peer_finish_md[128] ;
4097    int peer_finish_md_len ;   4097    int peer_finish_md_len ;
4098    unsigned long message_size ;   4098    unsigned long message_size ;
4099    int message_type ;   4099    int message_type ;
4100    SSL_CIPHER const   *new_cipher ;   4100    SSL_CIPHER const   *new_cipher ;
4101    DH *dh ;   4101    DH *dh ;
4102    int next_state ;   4102    int next_state ;
4103    int reuse_message ;   4103    int reuse_message ;
4104    int cert_req ;   4104    int cert_req ;
4105    int ctype_num ;   4105    int ctype_num ;
4106    char ctype[9] ;   4106    char ctype[9] ;
4107    struct stack_st_X509_NAME *ca_names ;   4107    struct stack_st_X509_NAME *ca_names ;
4108    int use_rsa_tmp ;   4108    int use_rsa_tmp ;
4109    int key_block_length ;   4109    int key_block_length ;
4110    unsigned char *key_block ;   4110    unsigned char *key_block ;
4111    EVP_CIPHER const   *new_sym_enc ;   4111    EVP_CIPHER const   *new_sym_enc ;
4112    EVP_MD const   *new_hash ;   4112    EVP_MD const   *new_hash ;
4113    int new_mac_pkey_type ;   4113    int new_mac_pkey_type ;
4114    int new_mac_secret_size ;   4114    int new_mac_secret_size ;
4115    SSL_COMP const   *new_compression ;   4115    SSL_COMP const   *new_compression ;
4116    int cert_request ;   4116    int cert_request ;
4117 };   4117 };
4118 struct ssl3_state_st {   4118 struct ssl3_state_st {
4119    long flags ;   4119    long flags ;
4120    int delay_buf_pop_ret ;   4120    int delay_buf_pop_ret ;
4121    unsigned char read_sequence[8] ;   4121    unsigned char read_sequence[8] ;
4122    int read_mac_secret_size ;   4122    int read_mac_secret_size ;
4123    unsigned char read_mac_secret[64] ;   4123    unsigned char read_mac_secret[64] ;
4124    unsigned char write_sequence[8] ;   4124    unsigned char write_sequence[8] ;
4125    int write_mac_secret_size ;   4125    int write_mac_secret_size ;
4126    unsigned char write_mac_secret[64] ;   4126    unsigned char write_mac_secret[64] ;
4127    unsigned char server_random[32] ;   4127    unsigned char server_random[32] ;
4128    unsigned char client_random[32] ;   4128    unsigned char client_random[32] ;
4129    int need_empty_fragments ;   4129    int need_empty_fragments ;
4130    int empty_fragment_done ;   4130    int empty_fragment_done ;
4131    int init_extra ;   4131    int init_extra ;
4132    SSL3_BUFFER rbuf ;   4132    SSL3_BUFFER rbuf ;
4133    SSL3_BUFFER wbuf ;   4133    SSL3_BUFFER wbuf ;
4134    SSL3_RECORD rrec ;   4134    SSL3_RECORD rrec ;
4135    SSL3_RECORD wrec ;   4135    SSL3_RECORD wrec ;
4136    unsigned char alert_fragment[2] ;   4136    unsigned char alert_fragment[2] ;
4137    unsigned int alert_fragment_len ;   4137    unsigned int alert_fragment_len ;
4138    unsigned char handshake_fragment[4] ;   4138    unsigned char handshake_fragment[4] ;
4139    unsigned int handshake_fragment_len ;   4139    unsigned int handshake_fragment_len ;
4140    unsigned int wnum ;   4140    unsigned int wnum ;
4141    int wpend_tot ;   4141    int wpend_tot ;
4142    int wpend_type ;   4142    int wpend_type ;
4143    int wpend_ret ;   4143    int wpend_ret ;
4144    unsigned char const   *wpend_buf ;   4144    unsigned char const   *wpend_buf ;
4145    BIO *handshake_buffer ;   4145    BIO *handshake_buffer ;
4146    EVP_MD_CTX **handshake_dgst ;   4146    EVP_MD_CTX **handshake_dgst ;
4147    int change_cipher_spec ;   4147    int change_cipher_spec ;
4148    int warn_alert ;   4148    int warn_alert ;
4149    int fatal_alert ;   4149    int fatal_alert ;
4150    int alert_dispatch ;   4150    int alert_dispatch ;
4151    unsigned char send_alert[2] ;   4151    unsigned char send_alert[2] ;
4152    int renegotiate ;   4152    int renegotiate ;
4153    int total_renegotiations ;   4153    int total_renegotiations ;
4154    int num_renegotiations ;   4154    int num_renegotiations ;
4155    int in_read_app_data ;   4155    int in_read_app_data ;
4156    void *client_opaque_prf_input ;   4156    void *client_opaque_prf_input ;
4157    size_t client_opaque_prf_input_len ;   4157    size_t client_opaque_prf_input_len ;
4158    void *server_opaque_prf_input ;   4158    void *server_opaque_prf_input ;
4159    size_t server_opaque_prf_input_len ;   4159    size_t server_opaque_prf_input_len ;
4160    struct __anonstruct_tmp_151 tmp ;   4160    struct __anonstruct_tmp_151 tmp ;
4161    unsigned char previous_client_finished[64] ;   4161    unsigned char previous_client_finished[64] ;
4162    unsigned char previous_client_finished_len ;   4162    unsigned char previous_client_finished_len ;
4163    unsigned char previous_server_finished[64] ;   4163    unsigned char previous_server_finished[64] ;
4164    unsigned char previous_server_finished_len ;   4164    unsigned char previous_server_finished_len ;
4165    int send_connection_binding ;   4165    int send_connection_binding ;
4166 };   4166 };
4167 typedef struct ssl3_state_st SSL3_STATE;   4167 typedef struct ssl3_state_st SSL3_STATE;
4168 struct tls_session_ticket_ext_st {   4168 struct tls_session_ticket_ext_st {
4169    unsigned short length ;   4169    unsigned short length ;
4170    void *data ;   4170    void *data ;
4171 };   4171 };
4172 struct _pqueue;   4172 struct _pqueue;
4173 typedef struct _pqueue *pqueue;   4173 typedef struct _pqueue *pqueue;
4174 struct _pitem {   4174 struct _pitem {
4175    unsigned char priority[8] ;   4175    unsigned char priority[8] ;
4176    void *data ;   4176    void *data ;
4177    struct _pitem *next ;   4177    struct _pitem *next ;
4178 };   4178 };
4179 typedef struct _pitem pitem;   4179 typedef struct _pitem pitem;
4180 typedef struct _pitem *piterator;   4180 typedef struct _pitem *piterator;
4181 struct timezone {   4181 struct timezone {
4182    int tz_minuteswest ;   4182    int tz_minuteswest ;
4183    int tz_dsttime ;   4183    int tz_dsttime ;
4184 };   4184 };
4185 typedef struct timezone * __restrict  __timezone_ptr_t;   4185 typedef struct timezone * __restrict  __timezone_ptr_t;
4186 enum __itimer_which {   4186 enum __itimer_which {
4187     ITIMER_REAL = 0,   4187     ITIMER_REAL = 0,
4188     ITIMER_VIRTUAL = 1,   4188     ITIMER_VIRTUAL = 1,
4189     ITIMER_PROF = 2   4189     ITIMER_PROF = 2
4190 } ;   4190 } ;
4191 struct itimerval {   4191 struct itimerval {
4192    struct timeval it_interval ;   4192    struct timeval it_interval ;
4193    struct timeval it_value ;   4193    struct timeval it_value ;
4194 };   4194 };
4195 typedef int __itimer_which_t;   4195 typedef int __itimer_which_t;
4196 struct dtls1_bitmap_st {   4196 struct dtls1_bitmap_st {
4197    unsigned long map ;   4197    unsigned long map ;
4198    unsigned char max_seq_num[8] ;   4198    unsigned char max_seq_num[8] ;
4199 };   4199 };
4200 typedef struct dtls1_bitmap_st DTLS1_BITMAP;   4200 typedef struct dtls1_bitmap_st DTLS1_BITMAP;
4201 struct dtls1_retransmit_state {   4201 struct dtls1_retransmit_state {
4202    EVP_CIPHER_CTX *enc_write_ctx ;   4202    EVP_CIPHER_CTX *enc_write_ctx ;
4203    EVP_MD_CTX *write_hash ;   4203    EVP_MD_CTX *write_hash ;
4204    COMP_CTX *compress ;   4204    COMP_CTX *compress ;
4205    SSL_SESSION *session ;   4205    SSL_SESSION *session ;
4206    unsigned short epoch ;   4206    unsigned short epoch ;
4207 };   4207 };
4208 struct hm_header_st {   4208 struct hm_header_st {
4209    unsigned char type ;   4209    unsigned char type ;
4210    unsigned long msg_len ;   4210    unsigned long msg_len ;
4211    unsigned short seq ;   4211    unsigned short seq ;
4212    unsigned long frag_off ;   4212    unsigned long frag_off ;
4213    unsigned long frag_len ;   4213    unsigned long frag_len ;
4214    unsigned int is_ccs ;   4214    unsigned int is_ccs ;
4215    struct dtls1_retransmit_state saved_retransmit_state ;   4215    struct dtls1_retransmit_state saved_retransmit_state ;
4216 };   4216 };
4217 struct ccs_header_st {   4217 struct ccs_header_st {
4218    unsigned char type ;   4218    unsigned char type ;
4219    unsigned short seq ;   4219    unsigned short seq ;
4220 };   4220 };
4221 struct dtls1_timeout_st {   4221 struct dtls1_timeout_st {
4222    unsigned int read_timeouts ;   4222    unsigned int read_timeouts ;
4223    unsigned int write_timeouts ;   4223    unsigned int write_timeouts ;
4224    unsigned int num_alerts ;   4224    unsigned int num_alerts ;
4225 };   4225 };
4226 struct record_pqueue_st {   4226 struct record_pqueue_st {
4227    unsigned short epoch ;   4227    unsigned short epoch ;
4228    pqueue q ;   4228    pqueue q ;
4229 };   4229 };
4230 typedef struct record_pqueue_st record_pqueue;   4230 typedef struct record_pqueue_st record_pqueue;
4231 struct hm_fragment_st {   4231 struct hm_fragment_st {
4232    struct hm_header_st msg_header ;   4232    struct hm_header_st msg_header ;
4233    unsigned char *fragment ;   4233    unsigned char *fragment ;
4234    unsigned char *reassembly ;   4234    unsigned char *reassembly ;
4235 };   4235 };
4236 typedef struct hm_fragment_st hm_fragment;   4236 typedef struct hm_fragment_st hm_fragment;
4237 struct dtls1_state_st {   4237 struct dtls1_state_st {
4238    unsigned int send_cookie ;   4238    unsigned int send_cookie ;
4239    unsigned char cookie[256] ;   4239    unsigned char cookie[256] ;
4240    unsigned char rcvd_cookie[256] ;   4240    unsigned char rcvd_cookie[256] ;
4241    unsigned int cookie_len ;   4241    unsigned int cookie_len ;
4242    unsigned short r_epoch ;   4242    unsigned short r_epoch ;
4243    unsigned short w_epoch ;   4243    unsigned short w_epoch ;
4244    DTLS1_BITMAP bitmap ;   4244    DTLS1_BITMAP bitmap ;
4245    DTLS1_BITMAP next_bitmap ;   4245    DTLS1_BITMAP next_bitmap ;
4246    unsigned short handshake_write_seq ;   4246    unsigned short handshake_write_seq ;
4247    unsigned short next_handshake_write_seq ;   4247    unsigned short next_handshake_write_seq ;
4248    unsigned short handshake_read_seq ;   4248    unsigned short handshake_read_seq ;
4249    unsigned char last_write_sequence[8] ;   4249    unsigned char last_write_sequence[8] ;
4250    record_pqueue unprocessed_rcds ;   4250    record_pqueue unprocessed_rcds ;
4251    record_pqueue processed_rcds ;   4251    record_pqueue processed_rcds ;
4252    pqueue buffered_messages ;   4252    pqueue buffered_messages ;
4253    pqueue sent_messages ;   4253    pqueue sent_messages ;
4254    record_pqueue buffered_app_data ;   4254    record_pqueue buffered_app_data ;
4255    unsigned int mtu ;   4255    unsigned int mtu ;
4256    struct hm_header_st w_msg_hdr ;   4256    struct hm_header_st w_msg_hdr ;
4257    struct hm_header_st r_msg_hdr ;   4257    struct hm_header_st r_msg_hdr ;
4258    struct dtls1_timeout_st timeout ;   4258    struct dtls1_timeout_st timeout ;
4259    struct timeval next_timeout ;   4259    struct timeval next_timeout ;
4260    unsigned short timeout_duration ;   4260    unsigned short timeout_duration ;
4261    unsigned char alert_fragment[2] ;   4261    unsigned char alert_fragment[2] ;
4262    unsigned int alert_fragment_len ;   4262    unsigned int alert_fragment_len ;
4263    unsigned char handshake_fragment[12] ;   4263    unsigned char handshake_fragment[12] ;
4264    unsigned int handshake_fragment_len ;   4264    unsigned int handshake_fragment_len ;
4265    unsigned int retransmitting ;   4265    unsigned int retransmitting ;
4266    unsigned int change_cipher_spec_ok ;   4266    unsigned int change_cipher_spec_ok ;
4267    unsigned int listen ;   4267    unsigned int listen ;
4268 };   4268 };
4269 typedef struct dtls1_state_st DTLS1_STATE;   4269 typedef struct dtls1_state_st DTLS1_STATE;
4270 struct dtls1_record_data_st {   4270 struct dtls1_record_data_st {
4271    unsigned char *packet ;   4271    unsigned char *packet ;
4272    unsigned int packet_length ;   4272    unsigned int packet_length ;
4273    SSL3_BUFFER rbuf ;   4273    SSL3_BUFFER rbuf ;
4274    SSL3_RECORD rrec ;   4274    SSL3_RECORD rrec ;
4275 };   4275 };
4276 typedef struct dtls1_record_data_st DTLS1_RECORD_DATA;   4276 typedef struct dtls1_record_data_st DTLS1_RECORD_DATA;
4277 enum __anonenum_iosocket_t_152 {   4277 enum __anonenum_iosocket_t_152 {
4278     IOSOCKET_TYPE_UNSET = 0,   4278     IOSOCKET_TYPE_UNSET = 0,
4279     IOSOCKET_TYPE_SOCKET = 1,   4279     IOSOCKET_TYPE_SOCKET = 1,
4280     IOSOCKET_TYPE_PIPE = 2   4280     IOSOCKET_TYPE_PIPE = 2
4281 } ;   4281 } ;
4282 typedef enum __anonenum_iosocket_t_152 iosocket_t;   4282 typedef enum __anonenum_iosocket_t_152 iosocket_t;
4283 struct __anonstruct_iosocket_153 {   4283 struct __anonstruct_iosocket_153 {
4284    int fd ;   4284    int fd ;
4285    int fde_ndx ;   4285    int fde_ndx ;
4286    SSL *ssl ;   4286    SSL *ssl ;
4287    iosocket_t type ;   4287    iosocket_t type ;
4288 };   4288 };
4289 typedef struct __anonstruct_iosocket_153 iosocket;   4289 typedef struct __anonstruct_iosocket_153 iosocket;
4290 enum __anonenum_154 {   4290 enum __anonenum_154 {
4291     EPOLL_CLOEXEC = 524288,   4291     EPOLL_CLOEXEC = 524288,
4292     EPOLL_NONBLOCK = 2048   4292     EPOLL_NONBLOCK = 2048
4293 } ;   4293 } ;
4294 enum EPOLL_EVENTS {   4294 enum EPOLL_EVENTS {
4295     EPOLLIN = 1,   4295     EPOLLIN = 1,
4296     EPOLLPRI = 2,   4296     EPOLLPRI = 2,
4297     EPOLLOUT = 4,   4297     EPOLLOUT = 4,
4298     EPOLLRDNORM = 64,   4298     EPOLLRDNORM = 64,
4299     EPOLLRDBAND = 128,   4299     EPOLLRDBAND = 128,
4300     EPOLLWRNORM = 256,   4300     EPOLLWRNORM = 256,
4301     EPOLLWRBAND = 512,   4301     EPOLLWRBAND = 512,
4302     EPOLLMSG = 1024,   4302     EPOLLMSG = 1024,
4303     EPOLLERR = 8,   4303     EPOLLERR = 8,
4304     EPOLLHUP = 16,   4304     EPOLLHUP = 16,
4305     EPOLLRDHUP = 8192,   4305     EPOLLRDHUP = 8192,
4306     EPOLLONESHOT = 1073741824,   4306     EPOLLONESHOT = 1073741824,
4307     EPOLLET = (-0x7FFFFFFF-1)   4307     EPOLLET = (-0x7FFFFFFF-1)
4308 } ;   4308 } ;
4309 union epoll_data {   4309 union epoll_data {
4310    void *ptr ;   4310    void *ptr ;
4311    int fd ;   4311    int fd ;
4312    uint32_t u32 ;   4312    uint32_t u32 ;
4313    uint64_t u64 ;   4313    uint64_t u64 ;
4314 };   4314 };
4315 typedef union epoll_data epoll_data_t;   4315 typedef union epoll_data epoll_data_t;
4316 struct epoll_event {   4316 struct epoll_event {
4317    uint32_t events ;   4317    uint32_t events ;
4318    epoll_data_t data ;   4318    epoll_data_t data ;
4319 };   4319 };
4320 typedef unsigned long nfds_t;   4320 typedef unsigned long nfds_t;
4321 struct pollfd {   4321 struct pollfd {
4322    int fd ;   4322    int fd ;
4323    short events ;   4323    short events ;
4324    short revents ;   4324    short revents ;
4325 };   4325 };
4326 typedef handler_t (*fdevent_handler)(void *srv , void *ctx , int revents );   4326 typedef handler_t (*fdevent_handler)(void *srv , void *ctx , int revents );
4327 enum __anonenum_fd_event_t_155 {   4327 enum __anonenum_fd_event_t_155 {
4328     FD_EVENT_TYPE_UNSET = -1,   4328     FD_EVENT_TYPE_UNSET = -1,
4329     FD_EVENT_TYPE_CONNECTION = 0,   4329     FD_EVENT_TYPE_CONNECTION = 0,
4330     FD_EVENT_TYPE_FCGI_CONNECTION = 1,   4330     FD_EVENT_TYPE_FCGI_CONNECTION = 1,
4331     FD_EVENT_TYPE_DIRWATCH = 2,   4331     FD_EVENT_TYPE_DIRWATCH = 2,
4332     FD_EVENT_TYPE_CGI_CONNECTION = 3   4332     FD_EVENT_TYPE_CGI_CONNECTION = 3
4333 } ;   4333 } ;
4334 typedef enum __anonenum_fd_event_t_155 fd_event_t;   4334 typedef enum __anonenum_fd_event_t_155 fd_event_t;
4335 enum __anonenum_fdevent_handler_t_156 {   4335 enum __anonenum_fdevent_handler_t_156 {
4336     FDEVENT_HANDLER_UNSET = 0,   4336     FDEVENT_HANDLER_UNSET = 0,
4337     FDEVENT_HANDLER_SELECT = 1,   4337     FDEVENT_HANDLER_SELECT = 1,
4338     FDEVENT_HANDLER_POLL = 2,   4338     FDEVENT_HANDLER_POLL = 2,
4339     FDEVENT_HANDLER_LINUX_RTSIG = 3,   4339     FDEVENT_HANDLER_LINUX_RTSIG = 3,
4340     FDEVENT_HANDLER_LINUX_SYSEPOLL = 4,   4340     FDEVENT_HANDLER_LINUX_SYSEPOLL = 4,
4341     FDEVENT_HANDLER_SOLARIS_DEVPOLL = 5,   4341     FDEVENT_HANDLER_SOLARIS_DEVPOLL = 5,
4342     FDEVENT_HANDLER_FREEBSD_KQUEUE = 6,   4342     FDEVENT_HANDLER_FREEBSD_KQUEUE = 6,
4343     FDEVENT_HANDLER_SOLARIS_PORT = 7   4343     FDEVENT_HANDLER_SOLARIS_PORT = 7
4344 } ;   4344 } ;
4345 typedef enum __anonenum_fdevent_handler_t_156 fdevent_handler_t;   4345 typedef enum __anonenum_fdevent_handler_t_156 fdevent_handler_t;
4346 struct __anonstruct_fd_conn_157 {   4346 struct __anonstruct_fd_conn_157 {
4347    int fd ;   4347    int fd ;
4348    void *conn ;   4348    void *conn ;
4349    fd_event_t fd_type ;   4349    fd_event_t fd_type ;
4350    int events ;   4350    int events ;
4351    int revents ;   4351    int revents ;
4352 };   4352 };
4353 typedef struct __anonstruct_fd_conn_157 fd_conn;   4353 typedef struct __anonstruct_fd_conn_157 fd_conn;
4354 struct __anonstruct_fd_conn_buffer_158 {   4354 struct __anonstruct_fd_conn_buffer_158 {
4355    fd_conn **ptr ;   4355    fd_conn **ptr ;
4356    size_t used ;   4356    size_t used ;
4357    size_t size ;   4357    size_t size ;
4358 };   4358 };
4359 typedef struct __anonstruct_fd_conn_buffer_158 fd_conn_buffer;   4359 typedef struct __anonstruct_fd_conn_buffer_158 fd_conn_buffer;
4360 struct __anonstruct_fdevent_revent_159 {   4360 struct __anonstruct_fdevent_revent_159 {
4361    int fd ;   4361    int fd ;
4362    int revents ;   4362    int revents ;
4363    handler_t (*handler)(void *srv , void *ctx , int revents ) ;   4363    handler_t (*handler)(void *srv , void *ctx , int revents ) ;
4364    void *context ;   4364    void *context ;
4365 };   4365 };
4366 typedef struct __anonstruct_fdevent_revent_159 fdevent_revent;   4366 typedef struct __anonstruct_fdevent_revent_159 fdevent_revent;
4367 struct __anonstruct_fdevent_revents_160 {   4367 struct __anonstruct_fdevent_revents_160 {
4368    fdevent_revent **ptr ;   4368    fdevent_revent **ptr ;
4369    size_t used ;   4369    size_t used ;
4370    size_t size ;   4370    size_t size ;
4371 };   4371 };
4372 typedef struct __anonstruct_fdevent_revents_160 fdevent_revents;   4372 typedef struct __anonstruct_fdevent_revents_160 fdevent_revents;
4373 struct _fdnode {   4373 struct _fdnode {
4374    handler_t (*handler)(void *srv , void *ctx , int revents ) ;   4374    handler_t (*handler)(void *srv , void *ctx , int revents ) ;
4375    void *ctx ;   4375    void *ctx ;
4376    int fd ;   4376    int fd ;
4377    struct _fdnode *prev ;   4377    struct _fdnode *prev ;
4378    struct _fdnode *next ;   4378    struct _fdnode *next ;
4379 };   4379 };
4380 typedef struct _fdnode fdnode;   4380 typedef struct _fdnode fdnode;
4381 struct __anonstruct_buffer_int_161 {   4381 struct __anonstruct_buffer_int_161 {
4382    int *ptr ;   4382    int *ptr ;
4383    size_t used ;   4383    size_t used ;
4384    size_t size ;   4384    size_t size ;
4385 };   4385 };
4386 typedef struct __anonstruct_buffer_int_161 buffer_int;   4386 typedef struct __anonstruct_buffer_int_161 buffer_int;
4387 struct fdevents {   4387 struct fdevents {
4388    fdevent_handler_t type ;   4388    fdevent_handler_t type ;
4389    fdnode **fdarray ;   4389    fdnode **fdarray ;
4390    size_t maxfds ;   4390    size_t maxfds ;
4391    int in_sigio ;   4391    int in_sigio ;
4392    int signum ;   4392    int signum ;
4393    sigset_t sigset ;   4393    sigset_t sigset ;
4394    siginfo_t siginfo ;   4394    siginfo_t siginfo ;
4395    bitset *sigbset ;   4395    bitset *sigbset ;
4396    int epoll_fd ;   4396    int epoll_fd ;
4397    struct epoll_event *epoll_events ;   4397    struct epoll_event *epoll_events ;
4398    struct pollfd *pollfds ;   4398    struct pollfd *pollfds ;
4399    size_t size ;   4399    size_t size ;
4400    size_t used ;   4400    size_t used ;
4401    buffer_int unused ;   4401    buffer_int unused ;
4402    fd_set select_read ;   4402    fd_set select_read ;
4403    fd_set select_write ;   4403    fd_set select_write ;
4404    fd_set select_error ;   4404    fd_set select_error ;
4405    fd_set select_set_read ;   4405    fd_set select_set_read ;
4406    fd_set select_set_write ;   4406    fd_set select_set_write ;
4407    fd_set select_set_error ;   4407    fd_set select_set_error ;
4408    int select_max_fd ;   4408    int select_max_fd ;
4409    int (*reset)(struct fdevents *ev ) ;   4409    int (*reset)(struct fdevents *ev ) ;
4410    void (*free)(struct fdevents *ev ) ;   4410    void (*free)(struct fdevents *ev ) ;
4411    int (*event_add)(struct fdevents *ev , iosocket *sock , int events ) ;   4411    int (*event_add)(struct fdevents *ev , iosocket *sock , int events ) ;
4412    int (*event_del)(struct fdevents *ev , iosocket *sock ) ;   4412    int (*event_del)(struct fdevents *ev , iosocket *sock ) ;
4413    int (*get_revents)(struct fdevents *ev , size_t event_count ,   4413    int (*get_revents)(struct fdevents *ev , size_t event_count ,
4414                       fdevent_revents *revents ) ;   4414                       fdevent_revents *revents ) ;
4415    int (*poll)(struct fdevents *ev , int timeout_ms ) ;   4415    int (*poll)(struct fdevents *ev , int timeout_ms ) ;
4416    int (*fcntl_set)(struct fdevents *ev , int fd ) ;   4416    int (*fcntl_set)(struct fdevents *ev , int fd ) ;
4417 };   4417 };
4418 typedef struct fdevents fdevents;   4418 typedef struct fdevents fdevents;
4419 typedef __socklen_t socklen_t;   4419 typedef __socklen_t socklen_t;
4420 enum __socket_type {   4420 enum __socket_type {
4421     SOCK_STREAM = 1,   4421     SOCK_STREAM = 1,
4422     SOCK_DGRAM = 2,   4422     SOCK_DGRAM = 2,
4423     SOCK_RAW = 3,   4423     SOCK_RAW = 3,
4424     SOCK_RDM = 4,   4424     SOCK_RDM = 4,
4425     SOCK_SEQPACKET = 5,   4425     SOCK_SEQPACKET = 5,
4426     SOCK_DCCP = 6,   4426     SOCK_DCCP = 6,
4427     SOCK_PACKET = 10,   4427     SOCK_PACKET = 10,
4428     SOCK_CLOEXEC = 524288,   4428     SOCK_CLOEXEC = 524288,
4429     SOCK_NONBLOCK = 2048   4429     SOCK_NONBLOCK = 2048
4430 } ;   4430 } ;
4431 typedef unsigned short sa_family_t;   4431 typedef unsigned short sa_family_t;
4432 struct sockaddr {   4432 struct sockaddr {
4433    sa_family_t sa_family ;   4433    sa_family_t sa_family ;
4434    char sa_data[14] ;   4434    char sa_data[14] ;
4435 };   4435 };
4436 struct sockaddr_storage {   4436 struct sockaddr_storage {
4437    sa_family_t ss_family ;   4437    sa_family_t ss_family ;
4438    unsigned long __ss_align ;   4438    unsigned long __ss_align ;
4439    char __ss_padding[128U - 2U * sizeof(unsigned long )] ;   4439    char __ss_padding[128U - 2U * sizeof(unsigned long )] ;
4440 };   4440 };
4441 enum __anonenum_162 {   4441 enum __anonenum_162 {
4442     MSG_OOB = 1,   4442     MSG_OOB = 1,
4443     MSG_PEEK = 2,   4443     MSG_PEEK = 2,
4444     MSG_DONTROUTE = 4,   4444     MSG_DONTROUTE = 4,
4445     MSG_CTRUNC = 8,   4445     MSG_CTRUNC = 8,
4446     MSG_PROXY = 16,   4446     MSG_PROXY = 16,
4447     MSG_TRUNC = 32,   4447     MSG_TRUNC = 32,
4448     MSG_DONTWAIT = 64,   4448     MSG_DONTWAIT = 64,
4449     MSG_EOR = 128,   4449     MSG_EOR = 128,
4450     MSG_WAITALL = 256,   4450     MSG_WAITALL = 256,
4451     MSG_FIN = 512,   4451     MSG_FIN = 512,
4452     MSG_SYN = 1024,   4452     MSG_SYN = 1024,
4453     MSG_CONFIRM = 2048,   4453     MSG_CONFIRM = 2048,
4454     MSG_RST = 4096,   4454     MSG_RST = 4096,
4455     MSG_ERRQUEUE = 8192,   4455     MSG_ERRQUEUE = 8192,
4456     MSG_NOSIGNAL = 16384,   4456     MSG_NOSIGNAL = 16384,
4457     MSG_MORE = 32768,   4457     MSG_MORE = 32768,
4458     MSG_WAITFORONE = 65536,   4458     MSG_WAITFORONE = 65536,
4459     MSG_CMSG_CLOEXEC = 1073741824   4459     MSG_CMSG_CLOEXEC = 1073741824
4460 } ;   4460 } ;
4461 struct msghdr {   4461 struct msghdr {
4462    void *msg_name ;   4462    void *msg_name ;
4463    socklen_t msg_namelen ;   4463    socklen_t msg_namelen ;
4464    struct iovec *msg_iov ;   4464    struct iovec *msg_iov ;
4465    size_t msg_iovlen ;   4465    size_t msg_iovlen ;
4466    void *msg_control ;   4466    void *msg_control ;
4467    size_t msg_controllen ;   4467    size_t msg_controllen ;
4468    int msg_flags ;   4468    int msg_flags ;
4469 };   4469 };
4470 struct cmsghdr {   4470 struct cmsghdr {
4471    size_t cmsg_len ;   4471    size_t cmsg_len ;
4472    int cmsg_level ;   4472    int cmsg_level ;
4473    int cmsg_type ;   4473    int cmsg_type ;
4474    unsigned char __cmsg_data[] ;   4474    unsigned char __cmsg_data[] ;
4475 };   4475 };
4476 enum __anonenum_163 {   4476 enum __anonenum_163 {
4477     SCM_RIGHTS = 1   4477     SCM_RIGHTS = 1
4478 } ;   4478 } ;
4479 struct linger {   4479 struct linger {
4480    int l_onoff ;   4480    int l_onoff ;
4481    int l_linger ;   4481    int l_linger ;
4482 };   4482 };
4483 struct mmsghdr;   4483 struct mmsghdr;
4484 struct osockaddr {   4484 struct osockaddr {
4485    unsigned short sa_family ;   4485    unsigned short sa_family ;
4486    unsigned char sa_data[14] ;   4486    unsigned char sa_data[14] ;
4487 };   4487 };
4488 enum __anonenum_164 {   4488 enum __anonenum_164 {
4489     SHUT_RD = 0,   4489     SHUT_RD = 0,
4490     SHUT_WR = 1,   4490     SHUT_WR = 1,
4491     SHUT_RDWR = 2   4491     SHUT_RDWR = 2
4492 } ;   4492 } ;
4493 struct winsize {   4493 struct winsize {
4494    unsigned short ws_row ;   4494    unsigned short ws_row ;
4495    unsigned short ws_col ;   4495    unsigned short ws_col ;
4496    unsigned short ws_xpixel ;   4496    unsigned short ws_xpixel ;
4497    unsigned short ws_ypixel ;   4497    unsigned short ws_ypixel ;
4498 };   4498 };
4499 struct termio {   4499 struct termio {
4500    unsigned short c_iflag ;   4500    unsigned short c_iflag ;
4501    unsigned short c_oflag ;   4501    unsigned short c_oflag ;
4502    unsigned short c_cflag ;   4502    unsigned short c_cflag ;
4503    unsigned short c_lflag ;   4503    unsigned short c_lflag ;
4504    unsigned char c_line ;   4504    unsigned char c_line ;
4505    unsigned char c_cc[8] ;   4505    unsigned char c_cc[8] ;
4506 };   4506 };
4507 enum __anonenum_165 {   4507 enum __anonenum_165 {
4508     IPPROTO_IP = 0,   4508     IPPROTO_IP = 0,
4509     IPPROTO_HOPOPTS = 0,   4509     IPPROTO_HOPOPTS = 0,
4510     IPPROTO_ICMP = 1,   4510     IPPROTO_ICMP = 1,
4511     IPPROTO_IGMP = 2,   4511     IPPROTO_IGMP = 2,
4512     IPPROTO_IPIP = 4,   4512     IPPROTO_IPIP = 4,
4513     IPPROTO_TCP = 6,   4513     IPPROTO_TCP = 6,
4514     IPPROTO_EGP = 8,   4514     IPPROTO_EGP = 8,
4515     IPPROTO_PUP = 12,   4515     IPPROTO_PUP = 12,
4516     IPPROTO_UDP = 17,   4516     IPPROTO_UDP = 17,
4517     IPPROTO_IDP = 22,   4517     IPPROTO_IDP = 22,
4518     IPPROTO_TP = 29,   4518     IPPROTO_TP = 29,
4519     IPPROTO_DCCP = 33,   4519     IPPROTO_DCCP = 33,
4520     IPPROTO_IPV6 = 41,   4520     IPPROTO_IPV6 = 41,
4521     IPPROTO_ROUTING = 43,   4521     IPPROTO_ROUTING = 43,
4522     IPPROTO_FRAGMENT = 44,   4522     IPPROTO_FRAGMENT = 44,
4523     IPPROTO_RSVP = 46,   4523     IPPROTO_RSVP = 46,
4524     IPPROTO_GRE = 47,   4524     IPPROTO_GRE = 47,
4525     IPPROTO_ESP = 50,   4525     IPPROTO_ESP = 50,
4526     IPPROTO_AH = 51,   4526     IPPROTO_AH = 51,
4527     IPPROTO_ICMPV6 = 58,   4527     IPPROTO_ICMPV6 = 58,
4528     IPPROTO_NONE = 59,   4528     IPPROTO_NONE = 59,
4529     IPPROTO_DSTOPTS = 60,   4529     IPPROTO_DSTOPTS = 60,
4530     IPPROTO_MTP = 92,   4530     IPPROTO_MTP = 92,
4531     IPPROTO_ENCAP = 98,   4531     IPPROTO_ENCAP = 98,
4532     IPPROTO_PIM = 103,   4532     IPPROTO_PIM = 103,
4533     IPPROTO_COMP = 108,   4533     IPPROTO_COMP = 108,
4534     IPPROTO_SCTP = 132,   4534     IPPROTO_SCTP = 132,
4535     IPPROTO_UDPLITE = 136,   4535     IPPROTO_UDPLITE = 136,
4536     IPPROTO_RAW = 255,   4536     IPPROTO_RAW = 255,
4537     IPPROTO_MAX = 256   4537     IPPROTO_MAX = 256
4538 } ;   4538 } ;
4539 typedef uint16_t in_port_t;   4539 typedef uint16_t in_port_t;
4540 enum __anonenum_166 {   4540 enum __anonenum_166 {
4541     IPPORT_ECHO = 7,   4541     IPPORT_ECHO = 7,
4542     IPPORT_DISCARD = 9,   4542     IPPORT_DISCARD = 9,
4543     IPPORT_SYSTAT = 11,   4543     IPPORT_SYSTAT = 11,
4544     IPPORT_DAYTIME = 13,   4544     IPPORT_DAYTIME = 13,
4545     IPPORT_NETSTAT = 15,   4545     IPPORT_NETSTAT = 15,
4546     IPPORT_FTP = 21,   4546     IPPORT_FTP = 21,
4547     IPPORT_TELNET = 23,   4547     IPPORT_TELNET = 23,
4548     IPPORT_SMTP = 25,   4548     IPPORT_SMTP = 25,
4549     IPPORT_TIMESERVER = 37,   4549     IPPORT_TIMESERVER = 37,
4550     IPPORT_NAMESERVER = 42,   4550     IPPORT_NAMESERVER = 42,
4551     IPPORT_WHOIS = 43,   4551     IPPORT_WHOIS = 43,
4552     IPPORT_MTP = 57,   4552     IPPORT_MTP = 57,
4553     IPPORT_TFTP = 69,   4553     IPPORT_TFTP = 69,
4554     IPPORT_RJE = 77,   4554     IPPORT_RJE = 77,
4555     IPPORT_FINGER = 79,   4555     IPPORT_FINGER = 79,
4556     IPPORT_TTYLINK = 87,   4556     IPPORT_TTYLINK = 87,
4557     IPPORT_SUPDUP = 95,   4557     IPPORT_SUPDUP = 95,
4558     IPPORT_EXECSERVER = 512,   4558     IPPORT_EXECSERVER = 512,
4559     IPPORT_LOGINSERVER = 513,   4559     IPPORT_LOGINSERVER = 513,
4560     IPPORT_CMDSERVER = 514,   4560     IPPORT_CMDSERVER = 514,
4561     IPPORT_EFSSERVER = 520,   4561     IPPORT_EFSSERVER = 520,
4562     IPPORT_BIFFUDP = 512,   4562     IPPORT_BIFFUDP = 512,
4563     IPPORT_WHOSERVER = 513,   4563     IPPORT_WHOSERVER = 513,
4564     IPPORT_ROUTESERVER = 520,   4564     IPPORT_ROUTESERVER = 520,
4565     IPPORT_RESERVED = 1024,   4565     IPPORT_RESERVED = 1024,
4566     IPPORT_USERRESERVED = 5000   4566     IPPORT_USERRESERVED = 5000
4567 } ;   4567 } ;
4568 typedef uint32_t in_addr_t;   4568 typedef uint32_t in_addr_t;
4569 struct in_addr {   4569 struct in_addr {
4570    in_addr_t s_addr ;   4570    in_addr_t s_addr ;
4571 };   4571 };
4572 union __anonunion___in6_u_167 {   4572 union __anonunion___in6_u_167 {
4573    uint8_t __u6_addr8[16] ;   4573    uint8_t __u6_addr8[16] ;
4574    uint16_t __u6_addr16[8] ;   4574    uint16_t __u6_addr16[8] ;
4575    uint32_t __u6_addr32[4] ;   4575    uint32_t __u6_addr32[4] ;
4576 };   4576 };
4577 struct in6_addr {   4577 struct in6_addr {
4578    union __anonunion___in6_u_167 __in6_u ;   4578    union __anonunion___in6_u_167 __in6_u ;
4579 };   4579 };
4580 struct sockaddr_in {   4580 struct sockaddr_in {
4581    sa_family_t sin_family ;   4581    sa_family_t sin_family ;
4582    in_port_t sin_port ;   4582    in_port_t sin_port ;
4583    struct in_addr sin_addr ;   4583    struct in_addr sin_addr ;
4584    unsigned char sin_zero[((sizeof(struct sockaddr ) - sizeof(unsigned short )) - sizeof(in_port_t )) - sizeof(struct in_addr )] ;   4584    unsigned char sin_zero[((sizeof(struct sockaddr ) - sizeof(unsigned short )) - sizeof(in_port_t )) - sizeof(struct in_addr )] ;
4585 };   4585 };
4586 struct sockaddr_in6 {   4586 struct sockaddr_in6 {
4587    sa_family_t sin6_family ;   4587    sa_family_t sin6_family ;
4588    in_port_t sin6_port ;   4588    in_port_t sin6_port ;
4589    uint32_t sin6_flowinfo ;   4589    uint32_t sin6_flowinfo ;
4590    struct in6_addr sin6_addr ;   4590    struct in6_addr sin6_addr ;
4591    uint32_t sin6_scope_id ;   4591    uint32_t sin6_scope_id ;
4592 };   4592 };
4593 struct ip_mreq {   4593 struct ip_mreq {
4594    struct in_addr imr_multiaddr ;   4594    struct in_addr imr_multiaddr ;
4595    struct in_addr imr_interface ;   4595    struct in_addr imr_interface ;
4596 };   4596 };
4597 struct ip_mreq_source {   4597 struct ip_mreq_source {
4598    struct in_addr imr_multiaddr ;   4598    struct in_addr imr_multiaddr ;
4599    struct in_addr imr_interface ;   4599    struct in_addr imr_interface ;
4600    struct in_addr imr_sourceaddr ;   4600    struct in_addr imr_sourceaddr ;
4601 };   4601 };
4602 struct ipv6_mreq {   4602 struct ipv6_mreq {
4603    struct in6_addr ipv6mr_multiaddr ;   4603    struct in6_addr ipv6mr_multiaddr ;
4604    unsigned int ipv6mr_interface ;   4604    unsigned int ipv6mr_interface ;
4605 };   4605 };
4606 struct group_req {   4606 struct group_req {
4607    uint32_t gr_interface ;   4607    uint32_t gr_interface ;
4608    struct sockaddr_storage gr_group ;   4608    struct sockaddr_storage gr_group ;
4609 };   4609 };
4610 struct group_source_req {   4610 struct group_source_req {
4611    uint32_t gsr_interface ;   4611    uint32_t gsr_interface ;
4612    struct sockaddr_storage gsr_group ;   4612    struct sockaddr_storage gsr_group ;
4613    struct sockaddr_storage gsr_source ;   4613    struct sockaddr_storage gsr_source ;
4614 };   4614 };
4615 struct ip_msfilter {   4615 struct ip_msfilter {
4616    struct in_addr imsf_multiaddr ;   4616    struct in_addr imsf_multiaddr ;
4617    struct in_addr imsf_interface ;   4617    struct in_addr imsf_interface ;
4618    uint32_t imsf_fmode ;   4618    uint32_t imsf_fmode ;
4619    uint32_t imsf_numsrc ;   4619    uint32_t imsf_numsrc ;
4620    struct in_addr imsf_slist[1] ;   4620    struct in_addr imsf_slist[1] ;
4621 };   4621 };
4622 struct group_filter {   4622 struct group_filter {
4623    uint32_t gf_interface ;   4623    uint32_t gf_interface ;
4624    struct sockaddr_storage gf_group ;   4624    struct sockaddr_storage gf_group ;
4625    uint32_t gf_fmode ;   4625    uint32_t gf_fmode ;
4626    uint32_t gf_numsrc ;   4626    uint32_t gf_numsrc ;
4627    struct sockaddr_storage gf_slist[1] ;   4627    struct sockaddr_storage gf_slist[1] ;
4628 };   4628 };
4629 struct ip_opts {   4629 struct ip_opts {
4630    struct in_addr ip_dst ;   4630    struct in_addr ip_dst ;
4631    char ip_opts[40] ;   4631    char ip_opts[40] ;
4632 };   4632 };
4633 struct ip_mreqn {   4633 struct ip_mreqn {
4634    struct in_addr imr_multiaddr ;   4634    struct in_addr imr_multiaddr ;
4635    struct in_addr imr_address ;   4635    struct in_addr imr_address ;
4636    int imr_ifindex ;   4636    int imr_ifindex ;
4637 };   4637 };
4638 struct in_pktinfo {   4638 struct in_pktinfo {
4639    int ipi_ifindex ;   4639    int ipi_ifindex ;
4640    struct in_addr ipi_spec_dst ;   4640    struct in_addr ipi_spec_dst ;
4641    struct in_addr ipi_addr ;   4641    struct in_addr ipi_addr ;
4642 };   4642 };
4643 struct tcphdr {   4643 struct tcphdr {
4644    u_int16_t source ;   4644    u_int16_t source ;
4645    u_int16_t dest ;   4645    u_int16_t dest ;
4646    u_int32_t seq ;   4646    u_int32_t seq ;
4647    u_int32_t ack_seq ;   4647    u_int32_t ack_seq ;
4648    u_int16_t res1 : 4 ;   4648    u_int16_t res1 : 4 ;
4649    u_int16_t doff : 4 ;   4649    u_int16_t doff : 4 ;
4650    u_int16_t fin : 1 ;   4650    u_int16_t fin : 1 ;
4651    u_int16_t syn : 1 ;   4651    u_int16_t syn : 1 ;
4652    u_int16_t rst : 1 ;   4652    u_int16_t rst : 1 ;
4653    u_int16_t psh : 1 ;   4653    u_int16_t psh : 1 ;
4654    u_int16_t ack : 1 ;   4654    u_int16_t ack : 1 ;
4655    u_int16_t urg : 1 ;   4655    u_int16_t urg : 1 ;
4656    u_int16_t res2 : 2 ;   4656    u_int16_t res2 : 2 ;
4657    u_int16_t window ;   4657    u_int16_t window ;
4658    u_int16_t check ;   4658    u_int16_t check ;
4659    u_int16_t urg_ptr ;   4659    u_int16_t urg_ptr ;
4660 };   4660 };
4661 enum __anonenum_168 {   4661 enum __anonenum_168 {
4662     TCP_ESTABLISHED = 1,   4662     TCP_ESTABLISHED = 1,
4663     TCP_SYN_SENT = 2,   4663     TCP_SYN_SENT = 2,
4664     TCP_SYN_RECV = 3,   4664     TCP_SYN_RECV = 3,
4665     TCP_FIN_WAIT1 = 4,   4665     TCP_FIN_WAIT1 = 4,
4666     TCP_FIN_WAIT2 = 5,   4666     TCP_FIN_WAIT2 = 5,
4667     TCP_TIME_WAIT = 6,   4667     TCP_TIME_WAIT = 6,
4668     TCP_CLOSE = 7,   4668     TCP_CLOSE = 7,
4669     TCP_CLOSE_WAIT = 8,   4669     TCP_CLOSE_WAIT = 8,
4670     TCP_LAST_ACK = 9,   4670     TCP_LAST_ACK = 9,
4671     TCP_LISTEN = 10,   4671     TCP_LISTEN = 10,
4672     TCP_CLOSING = 11   4672     TCP_CLOSING = 11
4673 } ;   4673 } ;
4674 enum tcp_ca_state {   4674 enum tcp_ca_state {
4675     TCP_CA_Open = 0,   4675     TCP_CA_Open = 0,
4676     TCP_CA_Disorder = 1,   4676     TCP_CA_Disorder = 1,
4677     TCP_CA_CWR = 2,   4677     TCP_CA_CWR = 2,
4678     TCP_CA_Recovery = 3,   4678     TCP_CA_Recovery = 3,
4679     TCP_CA_Loss = 4   4679     TCP_CA_Loss = 4
4680 } ;   4680 } ;
4681 struct tcp_info {   4681 struct tcp_info {
4682    u_int8_t tcpi_state ;   4682    u_int8_t tcpi_state ;
4683    u_int8_t tcpi_ca_state ;   4683    u_int8_t tcpi_ca_state ;
4684    u_int8_t tcpi_retransmits ;   4684    u_int8_t tcpi_retransmits ;
4685    u_int8_t tcpi_probes ;   4685    u_int8_t tcpi_probes ;
4686    u_int8_t tcpi_backoff ;   4686    u_int8_t tcpi_backoff ;
4687    u_int8_t tcpi_options ;   4687    u_int8_t tcpi_options ;
4688    u_int8_t tcpi_snd_wscale : 4 ;   4688    u_int8_t tcpi_snd_wscale : 4 ;
4689    u_int8_t tcpi_rcv_wscale : 4 ;   4689    u_int8_t tcpi_rcv_wscale : 4 ;
4690    u_int32_t tcpi_rto ;   4690    u_int32_t tcpi_rto ;
4691    u_int32_t tcpi_ato ;   4691    u_int32_t tcpi_ato ;
4692    u_int32_t tcpi_snd_mss ;   4692    u_int32_t tcpi_snd_mss ;
4693    u_int32_t tcpi_rcv_mss ;   4693    u_int32_t tcpi_rcv_mss ;
4694    u_int32_t tcpi_unacked ;   4694    u_int32_t tcpi_unacked ;
4695    u_int32_t tcpi_sacked ;   4695    u_int32_t tcpi_sacked ;
4696    u_int32_t tcpi_lost ;   4696    u_int32_t tcpi_lost ;
4697    u_int32_t tcpi_retrans ;   4697    u_int32_t tcpi_retrans ;
4698    u_int32_t tcpi_fackets ;   4698    u_int32_t tcpi_fackets ;
4699    u_int32_t tcpi_last_data_sent ;   4699    u_int32_t tcpi_last_data_sent ;
4700    u_int32_t tcpi_last_ack_sent ;   4700    u_int32_t tcpi_last_ack_sent ;
4701    u_int32_t tcpi_last_data_recv ;   4701    u_int32_t tcpi_last_data_recv ;
4702    u_int32_t tcpi_last_ack_recv ;   4702    u_int32_t tcpi_last_ack_recv ;
4703    u_int32_t tcpi_pmtu ;   4703    u_int32_t tcpi_pmtu ;
4704    u_int32_t tcpi_rcv_ssthresh ;   4704    u_int32_t tcpi_rcv_ssthresh ;
4705    u_int32_t tcpi_rtt ;   4705    u_int32_t tcpi_rtt ;
4706    u_int32_t tcpi_rttvar ;   4706    u_int32_t tcpi_rttvar ;
4707    u_int32_t tcpi_snd_ssthresh ;   4707    u_int32_t tcpi_snd_ssthresh ;
4708    u_int32_t tcpi_snd_cwnd ;   4708    u_int32_t tcpi_snd_cwnd ;
4709    u_int32_t tcpi_advmss ;   4709    u_int32_t tcpi_advmss ;
4710    u_int32_t tcpi_reordering ;   4710    u_int32_t tcpi_reordering ;
4711    u_int32_t tcpi_rcv_rtt ;   4711    u_int32_t tcpi_rcv_rtt ;
4712    u_int32_t tcpi_rcv_space ;   4712    u_int32_t tcpi_rcv_space ;
4713    u_int32_t tcpi_total_retrans ;   4713    u_int32_t tcpi_total_retrans ;
4714 };   4714 };
4715 struct tcp_md5sig {   4715 struct tcp_md5sig {
4716    struct sockaddr_storage tcpm_addr ;   4716    struct sockaddr_storage tcpm_addr ;
4717    u_int16_t __tcpm_pad1 ;   4717    u_int16_t __tcpm_pad1 ;
4718    u_int16_t tcpm_keylen ;   4718    u_int16_t tcpm_keylen ;
4719    u_int32_t __tcpm_pad2 ;   4719    u_int32_t __tcpm_pad2 ;
4720    u_int8_t tcpm_key[80] ;   4720    u_int8_t tcpm_key[80] ;
4721 };   4721 };
4722 struct sockaddr_un {   4722 struct sockaddr_un {
4723    sa_family_t sun_family ;   4723    sa_family_t sun_family ;
4724    char sun_path[108] ;   4724    char sun_path[108] ;
4725 };   4725 };
4726 struct rpcent {   4726 struct rpcent {
4727    char *r_name ;   4727    char *r_name ;
4728    char **r_aliases ;   4728    char **r_aliases ;
4729    int r_number ;   4729    int r_number ;
4730 };   4730 };
4731 struct netent {   4731 struct netent {
4732    char *n_name ;   4732    char *n_name ;
4733    char **n_aliases ;   4733    char **n_aliases ;
4734    int n_addrtype ;   4734    int n_addrtype ;
4735    uint32_t n_net ;   4735    uint32_t n_net ;
4736 };   4736 };
4737 struct hostent {   4737 struct hostent {
4738    char *h_name ;   4738    char *h_name ;
4739    char **h_aliases ;   4739    char **h_aliases ;
4740    int h_addrtype ;   4740    int h_addrtype ;
4741    int h_length ;   4741    int h_length ;
4742    char **h_addr_list ;   4742    char **h_addr_list ;
4743 };   4743 };
4744 struct servent {   4744 struct servent {
4745    char *s_name ;   4745    char *s_name ;
4746    char **s_aliases ;   4746    char **s_aliases ;
4747    int s_port ;   4747    int s_port ;
4748    char *s_proto ;   4748    char *s_proto ;
4749 };   4749 };
4750 struct protoent {   4750 struct protoent {
4751    char *p_name ;   4751    char *p_name ;
4752    char **p_aliases ;   4752    char **p_aliases ;
4753    int p_proto ;   4753    int p_proto ;
4754 };   4754 };
4755 struct addrinfo {   4755 struct addrinfo {
4756    int ai_flags ;   4756    int ai_flags ;
4757    int ai_family ;   4757    int ai_family ;
4758    int ai_socktype ;   4758    int ai_socktype ;
4759    int ai_protocol ;   4759    int ai_protocol ;
4760    socklen_t ai_addrlen ;   4760    socklen_t ai_addrlen ;
4761    struct sockaddr *ai_addr ;   4761    struct sockaddr *ai_addr ;
4762    char *ai_canonname ;   4762    char *ai_canonname ;
4763    struct addrinfo *ai_next ;   4763    struct addrinfo *ai_next ;
4764 };   4764 };
4765 union __anonunion_sock_addr_169 {   4765 union __anonunion_sock_addr_169 {
4766    struct sockaddr_in6 ipv6 ;   4766    struct sockaddr_in6 ipv6 ;
4767    struct sockaddr_in ipv4 ;   4767    struct sockaddr_in ipv4 ;
4768    struct sockaddr_un un ;   4768    struct sockaddr_un un ;
4769    struct sockaddr plain ;   4769    struct sockaddr plain ;
4770 };   4770 };
4771 typedef union __anonunion_sock_addr_169 sock_addr;   4771 typedef union __anonunion_sock_addr_169 sock_addr;
4772 enum __anonenum_parse_status_t_170 {   4772 enum __anonenum_parse_status_t_170 {
4773     PARSE_UNSET = 0,   4773     PARSE_UNSET = 0,
4774     PARSE_SUCCESS = 1,   4774     PARSE_SUCCESS = 1,
4775     PARSE_ERROR = 2,   4775     PARSE_ERROR = 2,
4776     PARSE_NEED_MORE = 3   4776     PARSE_NEED_MORE = 3
4777 } ;   4777 } ;
4778 typedef enum __anonenum_parse_status_t_170 parse_status_t;   4778 typedef enum __anonenum_parse_status_t_170 parse_status_t;
4779 struct __anonstruct_http_req_171 {   4779 struct __anonstruct_http_req_171 {
4780    int protocol ;   4780    int protocol ;
4781    int method ;   4781    int method ;
4782    buffer *uri_raw ;   4782    buffer *uri_raw ;
4783    array *headers ;   4783    array *headers ;
4784 };   4784 };
4785 typedef struct __anonstruct_http_req_171 http_req;   4785 typedef struct __anonstruct_http_req_171 http_req;
4786 struct __anonstruct_http_req_ctx_t_172 {   4786 struct __anonstruct_http_req_ctx_t_172 {
4787    int ok ;   4787    int ok ;
4788    buffer *errmsg ;   4788    buffer *errmsg ;
4789    http_req *req ;   4789    http_req *req ;
4790    buffer_pool *unused_buffers ;   4790    buffer_pool *unused_buffers ;
4791 };   4791 };
4792 typedef struct __anonstruct_http_req_ctx_t_172 http_req_ctx_t;   4792 typedef struct __anonstruct_http_req_ctx_t_172 http_req_ctx_t;
4793 struct timespec;   4793 struct timespec;
4794 struct sockaddr;   4794 struct sockaddr;
4795 struct iovec;   4795 struct iovec;
4796 struct io_context;   4796 struct io_context;
4797 typedef struct io_context *io_context_t;   4797 typedef struct io_context *io_context_t;
4798 enum io_iocb_cmd {   4798 enum io_iocb_cmd {
4799     IO_CMD_PREAD = 0,   4799     IO_CMD_PREAD = 0,
4800     IO_CMD_PWRITE = 1,   4800     IO_CMD_PWRITE = 1,
4801     IO_CMD_FSYNC = 2,   4801     IO_CMD_FSYNC = 2,
4802     IO_CMD_FDSYNC = 3,   4802     IO_CMD_FDSYNC = 3,
4803     IO_CMD_POLL = 5,   4803     IO_CMD_POLL = 5,
4804     IO_CMD_NOOP = 6,   4804     IO_CMD_NOOP = 6,
4805     IO_CMD_PREADV = 7,   4805     IO_CMD_PREADV = 7,
4806     IO_CMD_PWRITEV = 8   4806     IO_CMD_PWRITEV = 8
4807 } ;   4807 } ;
4808 typedef enum io_iocb_cmd io_iocb_cmd_t;   4808 typedef enum io_iocb_cmd io_iocb_cmd_t;
4809 struct io_iocb_poll {   4809 struct io_iocb_poll {
4810    int events ;   4810    int events ;
4811    unsigned int __pad1 ;   4811    unsigned int __pad1 ;
4812 };   4812 };
4813 struct io_iocb_sockaddr {   4813 struct io_iocb_sockaddr {
4814    struct sockaddr *addr ;   4814    struct sockaddr *addr ;
4815    int len ;   4815    int len ;
4816 };   4816 };
4817 struct io_iocb_common {   4817 struct io_iocb_common {
4818    void *buf ;   4818    void *buf ;
4819    unsigned int __pad1 ;   4819    unsigned int __pad1 ;
4820    unsigned long nbytes ;   4820    unsigned long nbytes ;
4821    unsigned int __pad2 ;   4821    unsigned int __pad2 ;
4822    long long offset ;   4822    long long offset ;
4823    long long __pad3 ;   4823    long long __pad3 ;
4824    unsigned int flags ;   4824    unsigned int flags ;
4825    unsigned int resfd ;   4825    unsigned int resfd ;
4826 };   4826 };
4827 struct io_iocb_vector {   4827 struct io_iocb_vector {
4828    struct iovec  const  *vec ;   4828    struct iovec  const  *vec ;
4829    int nr ;   4829    int nr ;
4830    long long offset ;   4830    long long offset ;
4831 };   4831 };
4832 union __anonunion_u_173 {   4832 union __anonunion_u_173 {
4833    struct io_iocb_common c ;   4833    struct io_iocb_common c ;
4834    struct io_iocb_vector v ;   4834    struct io_iocb_vector v ;
4835    struct io_iocb_poll poll ;   4835    struct io_iocb_poll poll ;
4836    struct io_iocb_sockaddr saddr ;   4836    struct io_iocb_sockaddr saddr ;
4837 };   4837 };
4838 struct iocb {   4838 struct iocb {
4839    void *data ;   4839    void *data ;
4840    unsigned int __pad1 ;   4840    unsigned int __pad1 ;
4841    unsigned int key ;   4841    unsigned int key ;
4842    unsigned int __pad2 ;   4842    unsigned int __pad2 ;
4843    short aio_lio_opcode ;   4843    short aio_lio_opcode ;
4844    short aio_reqprio ;   4844    short aio_reqprio ;
4845    int aio_fildes ;   4845    int aio_fildes ;
4846    union __anonunion_u_173 u ;   4846    union __anonunion_u_173 u ;
4847 };   4847 };
4848 struct io_event {   4848 struct io_event {
4849    void *data ;   4849    void *data ;
4850    unsigned int __pad1 ;   4850    unsigned int __pad1 ;
4851    struct iocb *obj ;   4851    struct iocb *obj ;
4852    unsigned int __pad2 ;   4852    unsigned int __pad2 ;
4853    unsigned long res ;   4853    unsigned long res ;
4854    unsigned int __pad3 ;   4854    unsigned int __pad3 ;
4855    unsigned long res2 ;   4855    unsigned long res2 ;
4856    unsigned int __pad4 ;   4856    unsigned int __pad4 ;
4857 };   4857 };
4858 typedef void (*io_callback_t)(io_context_t ctx , struct iocb *iocb , long res ,   4858 typedef void (*io_callback_t)(io_context_t ctx , struct iocb *iocb , long res ,
4859                               long res2 );   4859                               long res2 );
4860 enum __anonenum_connection_time_field_t_174 {   4860 enum __anonenum_connection_time_field_t_174 {
4861     TIME_CONNECTION_ACCEPT = 0,   4861     TIME_CONNECTION_ACCEPT = 0,
4862     TIME_REQUEST_START = 1,   4862     TIME_REQUEST_START = 1,
4863     TIME_BACKEND_CONNECT = 2,   4863     TIME_BACKEND_CONNECT = 2,
4864     TIME_BACKEND_SEND_HEADER_START = 3,   4864     TIME_BACKEND_SEND_HEADER_START = 3,
4865     TIME_BACKEND_SEND_HEADER_END = 4,   4865     TIME_BACKEND_SEND_HEADER_END = 4,
4866     TIME_BACKEND_SEND_CONTENT_START = 5,   4866     TIME_BACKEND_SEND_CONTENT_START = 5,
4867     TIME_BACKEND_SEND_CONTENT_END = 6,   4867     TIME_BACKEND_SEND_CONTENT_END = 6,
4868     TIME_BACKEND_RECV_HEADER_START = 7,   4868     TIME_BACKEND_RECV_HEADER_START = 7,
4869     TIME_BACKEND_RECV_HEADER_END = 8,   4869     TIME_BACKEND_RECV_HEADER_END = 8,
4870     TIME_BACKEND_RECV_CONTENT_START = 9,   4870     TIME_BACKEND_RECV_CONTENT_START = 9,
4871     TIME_BACKEND_RECV_CONTENT_END = 10,   4871     TIME_BACKEND_RECV_CONTENT_END = 10,
4872     TIME_BACKEND_DISCONNECT = 11,   4872     TIME_BACKEND_DISCONNECT = 11,
4873     TIME_SEND_HEADER_START = 12,   4873     TIME_SEND_HEADER_START = 12,
4874     TIME_SEND_HEADER_END = 13,   4874     TIME_SEND_HEADER_END = 13,
4875     TIME_SEND_CONTENT_START = 14,   4875     TIME_SEND_CONTENT_START = 14,
4876     TIME_SEND_ASYNC_READ_QUEUED = 15,   4876     TIME_SEND_ASYNC_READ_QUEUED = 15,
4877     TIME_SEND_ASYNC_READ_START = 16,   4877     TIME_SEND_ASYNC_READ_START = 16,
4878     TIME_SEND_ASYNC_READ_END = 17,   4878     TIME_SEND_ASYNC_READ_END = 17,
4879     TIME_SEND_ASYNC_READ_END_QUEUED = 18,   4879     TIME_SEND_ASYNC_READ_END_QUEUED = 18,
4880     TIME_SEND_WRITE_START = 19,   4880     TIME_SEND_WRITE_START = 19,
4881     TIME_SEND_WRITE_END = 20,   4881     TIME_SEND_WRITE_END = 20,
4882     TIME_SEND_CONTENT_END = 21,   4882     TIME_SEND_CONTENT_END = 21,
4883     TIME_REQUEST_END = 22,   4883     TIME_REQUEST_END = 22,
4884     TIME_CONNECTION_CLOSE = 23,   4884     TIME_CONNECTION_CLOSE = 23,
4885     TIME_LAST_ELEMENT = 24   4885     TIME_LAST_ELEMENT = 24
4886 } ;   4886 } ;
4887 typedef enum __anonenum_connection_time_field_t_174 connection_time_field_t;   4887 typedef enum __anonenum_connection_time_field_t_174 connection_time_field_t;
4888 enum __anonenum_config_values_type_t_175 {   4888 enum __anonenum_config_values_type_t_175 {
4889     T_CONFIG_UNSET = 0,   4889     T_CONFIG_UNSET = 0,
4890     T_CONFIG_STRING = 1,   4890     T_CONFIG_STRING = 1,
4891     T_CONFIG_SHORT = 2,   4891     T_CONFIG_SHORT = 2,
4892     T_CONFIG_INT = 3,   4892     T_CONFIG_INT = 3,
4893     T_CONFIG_BOOLEAN = 4,   4893     T_CONFIG_BOOLEAN = 4,
4894     T_CONFIG_ARRAY = 5,   4894     T_CONFIG_ARRAY = 5,
4895     T_CONFIG_LOCAL = 6,   4895     T_CONFIG_LOCAL = 6,
4896     T_CONFIG_DEPRECATED = 7,   4896     T_CONFIG_DEPRECATED = 7,
4897     T_CONFIG_UNSUPPORTED = 8   4897     T_CONFIG_UNSUPPORTED = 8
4898 } ;   4898 } ;
4899 typedef enum __anonenum_config_values_type_t_175 config_values_type_t;   4899 typedef enum __anonenum_config_values_type_t_175 config_values_type_t;
4900 enum __anonenum_config_scope_type_t_176 {   4900 enum __anonenum_config_scope_type_t_176 {
4901     T_CONFIG_SCOPE_UNSET = 0,   4901     T_CONFIG_SCOPE_UNSET = 0,
4902     T_CONFIG_SCOPE_SERVER = 1,   4902     T_CONFIG_SCOPE_SERVER = 1,
4903     T_CONFIG_SCOPE_CONNECTION = 2   4903     T_CONFIG_SCOPE_CONNECTION = 2
4904 } ;   4904 } ;
4905 typedef enum __anonenum_config_scope_type_t_176 config_scope_type_t;   4905 typedef enum __anonenum_config_scope_type_t_176 config_scope_type_t;
4906 struct __anonstruct_config_values_t_177 {   4906 struct __anonstruct_config_values_t_177 {
4907    char const   *key ;   4907    char const   *key ;
4908    void *destination ;   4908    void *destination ;
4909    config_values_type_t type ;   4909    config_values_type_t type ;
4910    config_scope_type_t scope ;   4910    config_scope_type_t scope ;
4911 };   4911 };
4912 typedef struct __anonstruct_config_values_t_177 config_values_t;   4912 typedef struct __anonstruct_config_values_t_177 config_values_t;
4913 enum __anonenum_connection_type_178 {   4913 enum __anonenum_connection_type_178 {
4914     DIRECT = 0,   4914     DIRECT = 0,
4915     EXTERNAL = 1   4915     EXTERNAL = 1
4916 } ;   4916 } ;
4917 typedef enum __anonenum_connection_type_178 connection_type;   4917 typedef enum __anonenum_connection_type_178 connection_type;
4918 struct __anonstruct_request_handler_179 {   4918 struct __anonstruct_request_handler_179 {
4919    char *key ;   4919    char *key ;
4920    connection_type type ;   4920    connection_type type ;
4921    char *value ;   4921    char *value ;
4922 };   4922 };
4923 typedef struct __anonstruct_request_handler_179 request_handler;   4923 typedef struct __anonstruct_request_handler_179 request_handler;
4924 struct __anonstruct_fcgi_connections_180 {   4924 struct __anonstruct_fcgi_connections_180 {
4925    char *key ;   4925    char *key ;
4926    char *host ;   4926    char *host ;
4927    unsigned short port ;   4927    unsigned short port ;
4928    int used ;   4928    int used ;
4929    short factor ;   4929    short factor ;
4930 };   4930 };
4931 typedef struct __anonstruct_fcgi_connections_180 fcgi_connections;   4931 typedef struct __anonstruct_fcgi_connections_180 fcgi_connections;
4932 struct __anonstruct_request_181 {   4932 struct __anonstruct_request_181 {
4933    buffer *request ;   4933    buffer *request ;
4934    buffer *uri ;   4934    buffer *uri ;
4935    buffer *orig_uri ;   4935    buffer *orig_uri ;
4936    http_method_t http_method ;   4936    http_method_t http_method ;
4937    http_version_t http_version ;   4937    http_version_t http_version ;
4938    buffer *http_host ;   4938    buffer *http_host ;
4939    array *headers ;   4939    array *headers ;
4940    off_t content_length ;   4940    off_t content_length ;
4941    int accept_encoding ;   4941    int accept_encoding ;
4942    buffer *pathinfo ;   4942    buffer *pathinfo ;
4943 };   4943 };
4944 typedef struct __anonstruct_request_181 request;   4944 typedef struct __anonstruct_request_181 request;
4945 enum __anonenum_transfer_encoding_183 {   4945 enum __anonenum_transfer_encoding_183 {
4946     HTTP_TRANSFER_ENCODING_IDENTITY = 0,   4946     HTTP_TRANSFER_ENCODING_IDENTITY = 0,
4947     HTTP_TRANSFER_ENCODING_CHUNKED = 1   4947     HTTP_TRANSFER_ENCODING_CHUNKED = 1
4948 } ;   4948 } ;
4949 struct __anonstruct_response_182 {   4949 struct __anonstruct_response_182 {
4950    off_t content_length ;   4950    off_t content_length ;
4951    int keep_alive ;   4951    int keep_alive ;
4952    array *headers ;   4952    array *headers ;
4953    enum __anonenum_transfer_encoding_183 transfer_encoding ;   4953    enum __anonenum_transfer_encoding_183 transfer_encoding ;
4954 };   4954 };
4955 typedef struct __anonstruct_response_182 response;   4955 typedef struct __anonstruct_response_182 response;
4956 struct __anonstruct_request_uri_184 {   4956 struct __anonstruct_request_uri_184 {
4957    buffer *scheme ;   4957    buffer *scheme ;
4958    buffer *authority ;   4958    buffer *authority ;
4959    buffer *path ;   4959    buffer *path ;
4960    buffer *path_raw ;   4960    buffer *path_raw ;
4961    buffer *query ;   4961    buffer *query ;
4962 };   4962 };
4963 typedef struct __anonstruct_request_uri_184 request_uri;   4963 typedef struct __anonstruct_request_uri_184 request_uri;
4964 struct __anonstruct_physical_185 {   4964 struct __anonstruct_physical_185 {
4965    buffer *path ;   4965    buffer *path ;
4966    buffer *basedir ;   4966    buffer *basedir ;
4967    buffer *doc_root ;   4967    buffer *doc_root ;
4968    buffer *rel_path ;   4968    buffer *rel_path ;
4969    buffer *etag ;   4969    buffer *etag ;
4970 };   4970 };
4971 typedef struct __anonstruct_physical_185 physical;   4971 typedef struct __anonstruct_physical_185 physical;
4972 enum __anonenum_state_187 {   4972 enum __anonenum_state_187 {
4973     STAT_CACHE_ENTRY_UNSET = 0,   4973     STAT_CACHE_ENTRY_UNSET = 0,
4974     STAT_CACHE_ENTRY_ASYNC_STAT = 1,   4974     STAT_CACHE_ENTRY_ASYNC_STAT = 1,
4975     STAT_CACHE_ENTRY_STAT_FINISHED = 2   4975     STAT_CACHE_ENTRY_STAT_FINISHED = 2
4976 } ;   4976 } ;
4977 struct __anonstruct_stat_cache_entry_186 {   4977 struct __anonstruct_stat_cache_entry_186 {
4978    buffer *name ;   4978    buffer *name ;
4979    buffer *etag ;   4979    buffer *etag ;
4980    struct stat st ;   4980    struct stat st ;
4981    time_t stat_ts ;   4981    time_t stat_ts ;
4982    enum __anonenum_state_187 state ;   4982    enum __anonenum_state_187 state ;
4983    char is_symlink ;   4983    char is_symlink ;
4984    buffer *content_type ;   4984    buffer *content_type ;
4985 };   4985 };
4986 typedef struct __anonstruct_stat_cache_entry_186 stat_cache_entry;   4986 typedef struct __anonstruct_stat_cache_entry_186 stat_cache_entry;
4987 struct __anonstruct_stat_cache_188 {   4987 struct __anonstruct_stat_cache_188 {
4988    GHashTable *files ;   4988    GHashTable *files ;
4989    GHashTable *dirs ;   4989    GHashTable *dirs ;
4990    buffer *dir_name ;   4990    buffer *dir_name ;
4991    buffer *hash_key ;   4991    buffer *hash_key ;
4992 };   4992 };
4993 typedef struct __anonstruct_stat_cache_188 stat_cache;   4993 typedef struct __anonstruct_stat_cache_188 stat_cache;
4994 struct __anonstruct_specific_config_189 {   4994 struct __anonstruct_specific_config_189 {
4995    array *mimetypes ;   4995    array *mimetypes ;
4996    buffer *document_root ;   4996    buffer *document_root ;
4997    buffer *server_name ;   4997    buffer *server_name ;
4998    buffer *error_handler ;   4998    buffer *error_handler ;
4999    buffer *server_tag ;   4999    buffer *server_tag ;
5000    buffer *dirlist_encoding ;   5000    buffer *dirlist_encoding ;
5001    buffer *errorfile_prefix ;   5001    buffer *errorfile_prefix ;
5002    unsigned short max_keep_alive_requests ;   5002    unsigned short max_keep_alive_requests ;
5003    unsigned short max_keep_alive_idle ;   5003    unsigned short max_keep_alive_idle ;
5004    unsigned short max_read_idle ;   5004    unsigned short max_read_idle ;
5005    unsigned short max_write_idle ;   5005    unsigned short max_write_idle ;
5006    unsigned short max_connection_idle ;   5006    unsigned short max_connection_idle ;
5007    unsigned short use_xattr ;   5007    unsigned short use_xattr ;
5008    unsigned short follow_symlink ;   5008    unsigned short follow_symlink ;
5009    unsigned short range_requests ;   5009    unsigned short range_requests ;
5010    unsigned short log_file_not_found ;   5010    unsigned short log_file_not_found ;
5011    unsigned short log_request_header ;   5011    unsigned short log_request_header ;
5012    unsigned short log_request_handling ;   5012    unsigned short log_request_handling ;
5013    unsigned short log_response_header ;   5013    unsigned short log_response_header ;
5014    unsigned short log_condition_handling ;   5014    unsigned short log_condition_handling ;
5015    unsigned short log_condition_cache_handling ;   5015    unsigned short log_condition_cache_handling ;
5016    buffer *ssl_pemfile ;   5016    buffer *ssl_pemfile ;
5017    buffer *ssl_ca_file ;   5017    buffer *ssl_ca_file ;
5018    unsigned short use_ipv6 ;   5018    unsigned short use_ipv6 ;
5019    unsigned short is_ssl ;   5019    unsigned short is_ssl ;
5020    unsigned short allow_http11 ;   5020    unsigned short allow_http11 ;
5021    unsigned short force_lowercase_filenames ;   5021    unsigned short force_lowercase_filenames ;
5022    unsigned int max_request_size ;   5022    unsigned int max_request_size ;
5023    unsigned short kbytes_per_second ;   5023    unsigned short kbytes_per_second ;
5024    unsigned short global_kbytes_per_second ;   5024    unsigned short global_kbytes_per_second ;
5025    off_t global_bytes_per_second_cnt ;   5025    off_t global_bytes_per_second_cnt ;
5026    off_t *global_bytes_per_second_cnt_ptr ;   5026    off_t *global_bytes_per_second_cnt_ptr ;
5027    SSL_CTX *ssl_ctx ;   5027    SSL_CTX *ssl_ctx ;
5028 };   5028 };
5029 typedef struct __anonstruct_specific_config_189 specific_config;   5029 typedef struct __anonstruct_specific_config_189 specific_config;
5030 enum __anonenum_connection_state_t_190 {   5030 enum __anonenum_connection_state_t_190 {
5031     CON_STATE_CONNECT = 0,   5031     CON_STATE_CONNECT = 0,
5032     CON_STATE_REQUEST_START = 1,   5032     CON_STATE_REQUEST_START = 1,
5033     CON_STATE_READ_REQUEST_HEADER = 2,   5033     CON_STATE_READ_REQUEST_HEADER = 2,
5034     CON_STATE_VALIDATE_REQUEST_HEADER = 3,   5034     CON_STATE_VALIDATE_REQUEST_HEADER = 3,
5035     CON_STATE_HANDLE_REQUEST_HEADER = 4,   5035     CON_STATE_HANDLE_REQUEST_HEADER = 4,
5036     CON_STATE_READ_REQUEST_CONTENT = 5,   5036     CON_STATE_READ_REQUEST_CONTENT = 5,
5037     CON_STATE_HANDLE_RESPONSE_HEADER = 6,   5037     CON_STATE_HANDLE_RESPONSE_HEADER = 6,
5038     CON_STATE_WRITE_RESPONSE_HEADER = 7,   5038     CON_STATE_WRITE_RESPONSE_HEADER = 7,
5039     CON_STATE_WRITE_RESPONSE_CONTENT = 8,   5039     CON_STATE_WRITE_RESPONSE_CONTENT = 8,
5040     CON_STATE_RESPONSE_END = 9,   5040     CON_STATE_RESPONSE_END = 9,
5041     CON_STATE_ERROR = 10,   5041     CON_STATE_ERROR = 10,
5042     CON_STATE_CLOSE = 11   5042     CON_STATE_CLOSE = 11
5043 } ;   5043 } ;
5044 typedef enum __anonenum_connection_state_t_190 connection_state_t;   5044 typedef enum __anonenum_connection_state_t_190 connection_state_t;
5045 enum __anonenum_cond_result_t_191 {   5045 enum __anonenum_cond_result_t_191 {
5046     COND_RESULT_UNSET = 0,   5046     COND_RESULT_UNSET = 0,
5047     COND_RESULT_FALSE = 1,   5047     COND_RESULT_FALSE = 1,
5048     COND_RESULT_TRUE = 2   5048     COND_RESULT_TRUE = 2
5049 } ;   5049 } ;
5050 typedef enum __anonenum_cond_result_t_191 cond_result_t;   5050 typedef enum __anonenum_cond_result_t_191 cond_result_t;
5051 struct __anonstruct_cond_cache_t_192 {   5051 struct __anonstruct_cond_cache_t_192 {
5052    cond_result_t result ;   5052    cond_result_t result ;
5053    int patterncount ;   5053    int patterncount ;
5054    int matches[30] ;   5054    int matches[30] ;
5055    buffer *comp_value ;   5055    buffer *comp_value ;
5056 };   5056 };
5057 typedef struct __anonstruct_cond_cache_t_192 cond_cache_t;   5057 typedef struct __anonstruct_cond_cache_t_192 cond_cache_t;
5058 struct __anonstruct_connection_193 {   5058 struct __anonstruct_connection_193 {
5059    connection_state_t state ;   5059    connection_state_t state ;
5060    time_t read_idle_ts ;   5060    time_t read_idle_ts ;
5061    time_t close_timeout_ts ;   5061    time_t close_timeout_ts ;
5062    time_t write_request_ts ;   5062    time_t write_request_ts ;
5063    time_t connection_start ;   5063    time_t connection_start ;
5064    time_t request_start ;   5064    time_t request_start ;
5065    struct timeval start_tv ;   5065    struct timeval start_tv ;
5066    size_t request_count ;   5066    size_t request_count ;
5067    size_t loops_per_request ;   5067    size_t loops_per_request ;
5068    iosocket *sock ;   5068    iosocket *sock ;
5069    int ndx ;   5069    int ndx ;
5070    int is_readable ;   5070    int is_readable ;
5071    int is_writable ;   5071    int is_writable ;
5072    int keep_alive ;   5072    int keep_alive ;
5073    int file_started ;   5073    int file_started ;
5074    chunkqueue *send ;   5074    chunkqueue *send ;
5075    chunkqueue *recv ;   5075    chunkqueue *recv ;
5076    filter_chain *send_filters ;   5076    filter_chain *send_filters ;
5077    chunkqueue *send_raw ;   5077    chunkqueue *send_raw ;
5078    chunkqueue *recv_raw ;   5078    chunkqueue *recv_raw ;
5079    int traffic_limit_reached ;   5079    int traffic_limit_reached ;
5080    off_t bytes_written ;   5080    off_t bytes_written ;
5081    off_t bytes_written_cur_second ;   5081    off_t bytes_written_cur_second ;
5082    off_t bytes_read ;   5082    off_t bytes_read ;
5083    off_t bytes_header ;   5083    off_t bytes_header ;
5084    int http_status ;   5084    int http_status ;
5085    sock_addr dst_addr ;   5085    sock_addr dst_addr ;
5086    buffer *dst_addr_buf ;   5086    buffer *dst_addr_buf ;
5087    buffer *parse_request ;   5087    buffer *parse_request ;
5088    http_req *http_req ;   5088    http_req *http_req ;
5089    request request ;   5089    request request ;
5090    request_uri uri ;   5090    request_uri uri ;
5091    physical physical ;   5091    physical physical ;
5092    response response ;   5092    response response ;
5093    size_t header_len ;   5093    size_t header_len ;
5094    buffer *authed_user ;   5094    buffer *authed_user ;
5095    array *environment ;   5095    array *environment ;
5096    int got_response ;   5096    int got_response ;
5097    int in_joblist ;   5097    int in_joblist ;
5098    connection_type mode ;   5098    connection_type mode ;
5099    void **plugin_ctx ;   5099    void **plugin_ctx ;
5100    specific_config conf ;   5100    specific_config conf ;
5101    cond_cache_t *cond_cache ;   5101    cond_cache_t *cond_cache ;
5102    buffer *server_name ;   5102    buffer *server_name ;
5103    buffer *error_handler ;   5103    buffer *error_handler ;
5104    int error_handler_saved_status ;   5104    int error_handler_saved_status ;
5105    int in_error_handler ;   5105    int in_error_handler ;
5106    void *srv_socket ;   5106    void *srv_socket ;
5107    GTimeVal timestamps[24] ;   5107    GTimeVal timestamps[24] ;
5108    int conditional_is_valid[11] ;   5108    int conditional_is_valid[11] ;
5109 };   5109 };
5110 typedef struct __anonstruct_connection_193 connection;   5110 typedef struct __anonstruct_connection_193 connection;
5111 struct __anonstruct_connections_194 {   5111 struct __anonstruct_connections_194 {
5112    connection **ptr ;   5112    connection **ptr ;
5113    size_t size ;   5113    size_t size ;
5114    size_t used ;   5114    size_t used ;
5115 };   5115 };
5116 typedef struct __anonstruct_connections_194 connections;   5116 typedef struct __anonstruct_connections_194 connections;
5117 union __anonunion_addr_196 {   5117 union __anonunion_addr_196 {
5118    struct in6_addr ipv6 ;   5118    struct in6_addr ipv6 ;
5119    struct in_addr ipv4 ;   5119    struct in_addr ipv4 ;
5120 };   5120 };
5121 struct __anonstruct_inet_ntop_cache_type_195 {   5121 struct __anonstruct_inet_ntop_cache_type_195 {
5122    int family ;   5122    int family ;
5123    union __anonunion_addr_196 addr ;   5123    union __anonunion_addr_196 addr ;
5124    char b2[47] ;   5124    char b2[47] ;
5125    time_t ts ;   5125    time_t ts ;
5126 };   5126 };
5127 typedef struct __anonstruct_inet_ntop_cache_type_195 inet_ntop_cache_type;   5127 typedef struct __anonstruct_inet_ntop_cache_type_195 inet_ntop_cache_type;
5128 struct __anonstruct_realpath_cache_type_197 {   5128 struct __anonstruct_realpath_cache_type_197 {
5129    buffer *uri ;   5129    buffer *uri ;
5130    time_t mtime ;   5130    time_t mtime ;
5131    int http_status ;   5131    int http_status ;
5132 };   5132 };
5133 typedef struct __anonstruct_realpath_cache_type_197 realpath_cache_type;   5133 typedef struct __anonstruct_realpath_cache_type_197 realpath_cache_type;
5134 struct __anonstruct_mtime_cache_type_198 {   5134 struct __anonstruct_mtime_cache_type_198 {
5135    time_t mtime ;   5135    time_t mtime ;
5136    buffer *str ;   5136    buffer *str ;
5137 };   5137 };
5138 typedef struct __anonstruct_mtime_cache_type_198 mtime_cache_type;   5138 typedef struct __anonstruct_mtime_cache_type_198 mtime_cache_type;
5139 struct __anonstruct_buffer_plugin_199 {   5139 struct __anonstruct_buffer_plugin_199 {
5140    void *ptr ;   5140    void *ptr ;
5141    size_t used ;   5141    size_t used ;
5142    size_t size ;   5142    size_t size ;
5143 };   5143 };
5144 typedef struct __anonstruct_buffer_plugin_199 buffer_plugin;   5144 typedef struct __anonstruct_buffer_plugin_199 buffer_plugin;
5145 enum __anonenum_network_status_t_200 {   5145 enum __anonenum_network_status_t_200 {
5146     NETWORK_STATUS_UNSET = 0,   5146     NETWORK_STATUS_UNSET = 0,
5147     NETWORK_STATUS_SUCCESS = 1,   5147     NETWORK_STATUS_SUCCESS = 1,
5148     NETWORK_STATUS_FATAL_ERROR = 2,   5148     NETWORK_STATUS_FATAL_ERROR = 2,
5149     NETWORK_STATUS_CONNECTION_CLOSE = 3,   5149     NETWORK_STATUS_CONNECTION_CLOSE = 3,
5150     NETWORK_STATUS_WAIT_FOR_EVENT = 4,   5150     NETWORK_STATUS_WAIT_FOR_EVENT = 4,
5151     NETWORK_STATUS_WAIT_FOR_AIO_EVENT = 5,   5151     NETWORK_STATUS_WAIT_FOR_AIO_EVENT = 5,
5152     NETWORK_STATUS_WAIT_FOR_FD = 6,   5152     NETWORK_STATUS_WAIT_FOR_FD = 6,
5153     NETWORK_STATUS_INTERRUPTED = 7   5153     NETWORK_STATUS_INTERRUPTED = 7
5154 } ;   5154 } ;
5155 typedef enum __anonenum_network_status_t_200 network_status_t;   5155 typedef enum __anonenum_network_status_t_200 network_status_t;
5156 enum __anonenum_stat_cache_engine_202 {   5156 enum __anonenum_stat_cache_engine_202 {
5157     STAT_CACHE_ENGINE_UNSET = 0,   5157     STAT_CACHE_ENGINE_UNSET = 0,
5158     STAT_CACHE_ENGINE_NONE = 1,   5158     STAT_CACHE_ENGINE_NONE = 1,
5159     STAT_CACHE_ENGINE_SIMPLE = 2,   5159     STAT_CACHE_ENGINE_SIMPLE = 2,
5160     STAT_CACHE_ENGINE_FAM = 3,   5160     STAT_CACHE_ENGINE_FAM = 3,
5161     STAT_CACHE_ENGINE_INOTIFY = 4   5161     STAT_CACHE_ENGINE_INOTIFY = 4
5162 } ;   5162 } ;
5163 struct __anonstruct_server_config_201 {   5163 struct __anonstruct_server_config_201 {
5164    unsigned short port ;   5164    unsigned short port ;
5165    buffer *bindhost ;   5165    buffer *bindhost ;
5166    unsigned short dont_daemonize ;   5166    unsigned short dont_daemonize ;
5167    unsigned short daemonize_on_shutdown ;   5167    unsigned short daemonize_on_shutdown ;
5168    buffer *changeroot ;   5168    buffer *changeroot ;
5169    buffer *username ;   5169    buffer *username ;
5170    buffer *groupname ;   5170    buffer *groupname ;
5171    buffer *pid_file ;   5171    buffer *pid_file ;
5172    buffer *event_handler ;   5172    buffer *event_handler ;
5173    buffer *modules_dir ;   5173    buffer *modules_dir ;
5174    buffer *network_backend ;   5174    buffer *network_backend ;
5175    array *modules ;   5175    array *modules ;
5176    array *upload_tempdirs ;   5176    array *upload_tempdirs ;
5177    unsigned short use_noatime ;   5177    unsigned short use_noatime ;
5178    unsigned short max_worker ;   5178    unsigned short max_worker ;
5179    unsigned short max_fds ;   5179    unsigned short max_fds ;
5180    unsigned short max_conns ;   5180    unsigned short max_conns ;
5181    unsigned int max_request_size ;   5181    unsigned int max_request_size ;
5182    unsigned short log_request_header_on_error ;   5182    unsigned short log_request_header_on_error ;
5183    unsigned short log_state_handling ;   5183    unsigned short log_state_handling ;
5184    unsigned short log_timing ;   5184    unsigned short log_timing ;
5185    enum __anonenum_stat_cache_engine_202 stat_cache_engine ;   5185    enum __anonenum_stat_cache_engine_202 stat_cache_engine ;
5186    unsigned short enable_cores ;   5186    unsigned short enable_cores ;
5187    buffer *errorlog_file ;   5187    buffer *errorlog_file ;
5188    unsigned short errorlog_use_syslog ;   5188    unsigned short errorlog_use_syslog ;
5189    unsigned short max_stat_threads ;   5189    unsigned short max_stat_threads ;
5190    unsigned short max_read_threads ;   5190    unsigned short max_read_threads ;
5191 };   5191 };
5192 typedef struct __anonstruct_server_config_201 server_config;   5192 typedef struct __anonstruct_server_config_201 server_config;
5193 enum __anonenum_network_backend_t_203 {   5193 enum __anonenum_network_backend_t_203 {
5194     NETWORK_BACKEND_UNSET = 0,   5194     NETWORK_BACKEND_UNSET = 0,
5195     NETWORK_BACKEND_WRITE = 1,   5195     NETWORK_BACKEND_WRITE = 1,
5196     NETWORK_BACKEND_WRITEV = 2,   5196     NETWORK_BACKEND_WRITEV = 2,
5197     NETWORK_BACKEND_LINUX_SENDFILE = 3,   5197     NETWORK_BACKEND_LINUX_SENDFILE = 3,
5198     NETWORK_BACKEND_LINUX_AIO_SENDFILE = 4,   5198     NETWORK_BACKEND_LINUX_AIO_SENDFILE = 4,
5199     NETWORK_BACKEND_POSIX_AIO = 5,   5199     NETWORK_BACKEND_POSIX_AIO = 5,
5200     NETWORK_BACKEND_GTHREAD_AIO = 6,   5200     NETWORK_BACKEND_GTHREAD_AIO = 6,
5201     NETWORK_BACKEND_GTHREAD_SENDFILE = 7,   5201     NETWORK_BACKEND_GTHREAD_SENDFILE = 7,
5202     NETWORK_BACKEND_FREEBSD_SENDFILE = 8,   5202     NETWORK_BACKEND_FREEBSD_SENDFILE = 8,
5203     NETWORK_BACKEND_SOLARIS_SENDFILEV = 9,   5203     NETWORK_BACKEND_SOLARIS_SENDFILEV = 9,
5204     NETWORK_BACKEND_WIN32_SEND = 10,   5204     NETWORK_BACKEND_WIN32_SEND = 10,
5205     NETWORK_BACKEND_WIN32_TRANSMITFILE = 11   5205     NETWORK_BACKEND_WIN32_TRANSMITFILE = 11
5206 } ;   5206 } ;
5207 typedef enum __anonenum_network_backend_t_203 network_backend_t;   5207 typedef enum __anonenum_network_backend_t_203 network_backend_t;
5208 struct __anonstruct_server_socket_204 {   5208 struct __anonstruct_server_socket_204 {
5209    sock_addr addr ;   5209    sock_addr addr ;
5210    iosocket *sock ;   5210    iosocket *sock ;
5211    buffer *ssl_pemfile ;   5211    buffer *ssl_pemfile ;
5212    buffer *ssl_ca_file ;   5212    buffer *ssl_ca_file ;
5213    unsigned short use_ipv6 ;   5213    unsigned short use_ipv6 ;
5214    unsigned short is_ssl ;   5214    unsigned short is_ssl ;
5215    buffer *srv_token ;   5215    buffer *srv_token ;
5216    SSL_CTX *ssl_ctx ;   5216    SSL_CTX *ssl_ctx ;
5217 };   5217 };
5218 typedef struct __anonstruct_server_socket_204 server_socket;   5218 typedef struct __anonstruct_server_socket_204 server_socket;
5219 struct __anonstruct_server_socket_array_205 {   5219 struct __anonstruct_server_socket_array_205 {
5220    server_socket **ptr ;   5220    server_socket **ptr ;
5221    size_t size ;   5221    size_t size ;
5222    size_t used ;   5222    size_t used ;
5223 };   5223 };
5224 typedef struct __anonstruct_server_socket_array_205 server_socket_array;   5224 typedef struct __anonstruct_server_socket_array_205 server_socket_array;
5225 struct server {   5225 struct server {
5226    server_socket_array srv_sockets ;   5226    server_socket_array srv_sockets ;
5227    fdevents *ev ;   5227    fdevents *ev ;
5228    fdevents *ev_ins ;   5228    fdevents *ev_ins ;
5229    buffer_plugin plugins ;   5229    buffer_plugin plugins ;
5230    void *plugin_slots ;   5230    void *plugin_slots ;
5231    int con_opened ;   5231    int con_opened ;
5232    int con_read ;   5232    int con_read ;
5233    int con_written ;   5233    int con_written ;
5234    int con_closed ;   5234    int con_closed ;
5235    int ssl_is_init ;   5235    int ssl_is_init ;
5236    int max_fds ;   5236    int max_fds ;
5237    int sockets_disabled ;   5237    int sockets_disabled ;
5238    size_t max_conns ;   5238    size_t max_conns ;
5239    buffer *parse_full_path ;   5239    buffer *parse_full_path ;
5240    buffer *response_header ;   5240    buffer *response_header ;
5241    buffer *response_range ;   5241    buffer *response_range ;
5242    buffer *tmp_buf ;   5242    buffer *tmp_buf ;
5243    buffer *tmp_chunk_len ;   5243    buffer *tmp_chunk_len ;
5244    buffer *empty_string ;   5244    buffer *empty_string ;
5245    buffer *cond_check_buf ;   5245    buffer *cond_check_buf ;
5246    inet_ntop_cache_type inet_ntop_cache[4] ;   5246    inet_ntop_cache_type inet_ntop_cache[4] ;
5247    mtime_cache_type mtime_cache[16] ;   5247    mtime_cache_type mtime_cache[16] ;
5248    array *split_vals ;   5248    array *split_vals ;
5249    time_t cur_ts ;   5249    time_t cur_ts ;
5250    time_t last_generated_date_ts ;   5250    time_t last_generated_date_ts ;
5251    time_t last_generated_debug_ts ;   5251    time_t last_generated_debug_ts ;
5252    time_t startup_ts ;   5252    time_t startup_ts ;
5253    buffer *ts_debug_str ;   5253    buffer *ts_debug_str ;
5254    buffer *ts_date_str ;   5254    buffer *ts_date_str ;
5255    array *config ;   5255    array *config ;
5256    array *config_touched ;   5256    array *config_touched ;
5257    array *config_context ;   5257    array *config_context ;
5258    specific_config **config_storage ;   5258    specific_config **config_storage ;
5259    server_config srvconf ;   5259    server_config srvconf ;
5260    unsigned short config_deprecated ;   5260    unsigned short config_deprecated ;
5261    unsigned short config_unsupported ;   5261    unsigned short config_unsupported ;
5262    connections *conns ;   5262    connections *conns ;
5263    connections *joblist ;   5263    connections *joblist ;
5264    connections *joblist_prev ;   5264    connections *joblist_prev ;
5265    connections *fdwaitqueue ;   5265    connections *fdwaitqueue ;
5266    stat_cache *stat_cache ;   5266    stat_cache *stat_cache ;
5267    fdevent_handler_t event_handler ;   5267    fdevent_handler_t event_handler ;
5268    network_status_t (*network_backend_write)(struct server *srv ,   5268    network_status_t (*network_backend_write)(struct server *srv ,
5269                                              connection *con , iosocket *sock ,   5269                                              connection *con , iosocket *sock ,
5270                                              chunkqueue *cq ) ;   5270                                              chunkqueue *cq ) ;
5271    network_status_t (*network_backend_read)(struct server *srv ,   5271    network_status_t (*network_backend_read)(struct server *srv ,
5272                                             connection *con , iosocket *sock ,   5272                                             connection *con , iosocket *sock ,
5273                                             chunkqueue *cq ) ;   5273                                             chunkqueue *cq ) ;
5274    network_status_t (*network_ssl_backend_write)(struct server *srv ,   5274    network_status_t (*network_ssl_backend_write)(struct server *srv ,
5275                                                  connection *con ,   5275                                                  connection *con ,
5276                                                  iosocket *sock ,   5276                                                  iosocket *sock ,
5277                                                  chunkqueue *cq ) ;   5277                                                  chunkqueue *cq ) ;
5278    network_status_t (*network_ssl_backend_read)(struct server *srv ,   5278    network_status_t (*network_ssl_backend_read)(struct server *srv ,
5279                                                 connection *con ,   5279                                                 connection *con ,
5280                                                 iosocket *sock , chunkqueue *cq ) ;   5280                                                 iosocket *sock , chunkqueue *cq ) ;
5281    uid_t uid ;   5281    uid_t uid ;
5282    gid_t gid ;   5282    gid_t gid ;
5283    io_context_t linux_io_ctx ;   5283    io_context_t linux_io_ctx ;
5284    struct iocb *linux_io_iocbs ;   5284    struct iocb *linux_io_iocbs ;
5285    GAsyncQueue *stat_queue ;   5285    GAsyncQueue *stat_queue ;
5286    GAsyncQueue *joblist_queue ;   5286    GAsyncQueue *joblist_queue ;
5287    GAsyncQueue *aio_write_queue ;   5287    GAsyncQueue *aio_write_queue ;
5288    network_backend_t network_backend ;   5288    network_backend_t network_backend ;
5289    int is_shutdown ;   5289    int is_shutdown ;
5290 };   5290 };
5291 typedef struct server server;   5291 typedef struct server server;
5292 enum __anonenum_config_var_t_206 {   5292 enum __anonenum_config_var_t_206 {
5293     CONFIG_UNSET = 0,   5293     CONFIG_UNSET = 0,
5294     CONFIG_DOCUMENT_ROOT = 1   5294     CONFIG_DOCUMENT_ROOT = 1
5295 } ;   5295 } ;
5296 typedef enum __anonenum_config_var_t_206 config_var_t;   5296 typedef enum __anonenum_config_var_t_206 config_var_t;
5297 struct __anonstruct_plugin_207 {   5297 struct __anonstruct_plugin_207 {
5298    size_t version ;   5298    size_t version ;
5299    buffer *name ;   5299    buffer *name ;
5300    void *(*init)(server *srv ) ;   5300    void *(*init)(server *srv ) ;
5301    handler_t (*set_defaults)(server *srv , void *p_d ) ;   5301    handler_t (*set_defaults)(server *srv , void *p_d ) ;
5302    handler_t (*cleanup)(server *srv , void *p_d ) ;   5302    handler_t (*cleanup)(server *srv , void *p_d ) ;
5303    handler_t (*handle_trigger)(server *srv , void *p_d ) ;   5303    handler_t (*handle_trigger)(server *srv , void *p_d ) ;
5304    handler_t (*handle_sighup)(server *srv , void *p_d ) ;   5304    handler_t (*handle_sighup)(server *srv , void *p_d ) ;
5305    handler_t (*handle_uri_raw)(server *srv , connection *con , void *p_d ) ;   5305    handler_t (*handle_uri_raw)(server *srv , connection *con , void *p_d ) ;
5306    handler_t (*handle_uri_clean)(server *srv , connection *con , void *p_d ) ;   5306    handler_t (*handle_uri_clean)(server *srv , connection *con , void *p_d ) ;
5307    handler_t (*handle_docroot)(server *srv , connection *con , void *p_d ) ;   5307    handler_t (*handle_docroot)(server *srv , connection *con , void *p_d ) ;
5308    handler_t (*handle_physical)(server *srv , connection *con , void *p_d ) ;   5308    handler_t (*handle_physical)(server *srv , connection *con , void *p_d ) ;
5309    handler_t (*handle_start_backend)(server *srv , connection *con , void *p_d ) ;   5309    handler_t (*handle_start_backend)(server *srv , connection *con , void *p_d ) ;
5310    handler_t (*handle_send_request_content)(server *srv , connection *con ,   5310    handler_t (*handle_send_request_content)(server *srv , connection *con ,
5311                                             void *p_d ) ;   5311                                             void *p_d ) ;
5312    handler_t (*handle_response_header)(server *srv , connection *con ,   5312    handler_t (*handle_response_header)(server *srv , connection *con ,
5313                                        void *p_d ) ;   5313                                        void *p_d ) ;
5314    handler_t (*handle_read_response_content)(server *srv , connection *con ,   5314    handler_t (*handle_read_response_content)(server *srv , connection *con ,
5315                                              void *p_d ) ;   5315                                              void *p_d ) ;
5316    handler_t (*handle_filter_response_content)(server *srv , connection *con ,   5316    handler_t (*handle_filter_response_content)(server *srv , connection *con ,
5317                                                void *p_d ) ;   5317                                                void *p_d ) ;
5318    handler_t (*handle_response_done)(server *srv , connection *con , void *p_d ) ;   5318    handler_t (*handle_response_done)(server *srv , connection *con , void *p_d ) ;
5319    handler_t (*connection_reset)(server *srv , connection *con , void *p_d ) ;   5319    handler_t (*connection_reset)(server *srv , connection *con , void *p_d ) ;
5320    handler_t (*handle_connection_close)(server *srv , connection *con ,   5320    handler_t (*handle_connection_close)(server *srv , connection *con ,
5321                                         void *p_d ) ;   5321                                         void *p_d ) ;
5322    handler_t (*handle_joblist)(server *srv , connection *con , void *p_d ) ;   5322    handler_t (*handle_joblist)(server *srv , connection *con , void *p_d ) ;
5323    void *data ;   5323    void *data ;
5324    void *lib ;   5324    void *lib ;
5325    array *required_plugins ;   5325    array *required_plugins ;
5326 };   5326 };
5327 typedef struct __anonstruct_plugin_207 plugin;   5327 typedef struct __anonstruct_plugin_207 plugin;
5328 typedef __useconds_t useconds_t;   5328 typedef __useconds_t useconds_t;
5329 enum __anonenum_208 {   5329 enum __anonenum_208 {
5330     _PC_LINK_MAX = 0,   5330     _PC_LINK_MAX = 0,
5331     _PC_MAX_CANON = 1,   5331     _PC_MAX_CANON = 1,
5332     _PC_MAX_INPUT = 2,   5332     _PC_MAX_INPUT = 2,
5333     _PC_NAME_MAX = 3,   5333     _PC_NAME_MAX = 3,
5334     _PC_PATH_MAX = 4,   5334     _PC_PATH_MAX = 4,
5335     _PC_PIPE_BUF = 5,   5335     _PC_PIPE_BUF = 5,
5336     _PC_CHOWN_RESTRICTED = 6,   5336     _PC_CHOWN_RESTRICTED = 6,
5337     _PC_NO_TRUNC = 7,   5337     _PC_NO_TRUNC = 7,
5338     _PC_VDISABLE = 8,   5338     _PC_VDISABLE = 8,
5339     _PC_SYNC_IO = 9,   5339     _PC_SYNC_IO = 9,
5340     _PC_ASYNC_IO = 10,   5340     _PC_ASYNC_IO = 10,
5341     _PC_PRIO_IO = 11,   5341     _PC_PRIO_IO = 11,
5342     _PC_SOCK_MAXBUF = 12,   5342     _PC_SOCK_MAXBUF = 12,
5343     _PC_FILESIZEBITS = 13,   5343     _PC_FILESIZEBITS = 13,
5344     _PC_REC_INCR_XFER_SIZE = 14,   5344     _PC_REC_INCR_XFER_SIZE = 14,
5345     _PC_REC_MAX_XFER_SIZE = 15,   5345     _PC_REC_MAX_XFER_SIZE = 15,
5346     _PC_REC_MIN_XFER_SIZE = 16,   5346     _PC_REC_MIN_XFER_SIZE = 16,
5347     _PC_REC_XFER_ALIGN = 17,   5347     _PC_REC_XFER_ALIGN = 17,
5348     _PC_ALLOC_SIZE_MIN = 18,   5348     _PC_ALLOC_SIZE_MIN = 18,
5349     _PC_SYMLINK_MAX = 19,   5349     _PC_SYMLINK_MAX = 19,
5350     _PC_2_SYMLINKS = 20   5350     _PC_2_SYMLINKS = 20
5351 } ;   5351 } ;
5352 enum __anonenum_209 {   5352 enum __anonenum_209 {
5353     _SC_ARG_MAX = 0,   5353     _SC_ARG_MAX = 0,
5354     _SC_CHILD_MAX = 1,   5354     _SC_CHILD_MAX = 1,
5355     _SC_CLK_TCK = 2,   5355     _SC_CLK_TCK = 2,
5356     _SC_NGROUPS_MAX = 3,   5356     _SC_NGROUPS_MAX = 3,
5357     _SC_OPEN_MAX = 4,   5357     _SC_OPEN_MAX = 4,
5358     _SC_STREAM_MAX = 5,   5358     _SC_STREAM_MAX = 5,
5359     _SC_TZNAME_MAX = 6,   5359     _SC_TZNAME_MAX = 6,
5360     _SC_JOB_CONTROL = 7,   5360     _SC_JOB_CONTROL = 7,
5361     _SC_SAVED_IDS = 8,   5361     _SC_SAVED_IDS = 8,
5362     _SC_REALTIME_SIGNALS = 9,   5362     _SC_REALTIME_SIGNALS = 9,
5363     _SC_PRIORITY_SCHEDULING = 10,   5363     _SC_PRIORITY_SCHEDULING = 10,
5364     _SC_TIMERS = 11,   5364     _SC_TIMERS = 11,
5365     _SC_ASYNCHRONOUS_IO = 12,   5365     _SC_ASYNCHRONOUS_IO = 12,
5366     _SC_PRIORITIZED_IO = 13,   5366     _SC_PRIORITIZED_IO = 13,
5367     _SC_SYNCHRONIZED_IO = 14,   5367     _SC_SYNCHRONIZED_IO = 14,
5368     _SC_FSYNC = 15,   5368     _SC_FSYNC = 15,
5369     _SC_MAPPED_FILES = 16,   5369     _SC_MAPPED_FILES = 16,
5370     _SC_MEMLOCK = 17,   5370     _SC_MEMLOCK = 17,
5371     _SC_MEMLOCK_RANGE = 18,   5371     _SC_MEMLOCK_RANGE = 18,
5372     _SC_MEMORY_PROTECTION = 19,   5372     _SC_MEMORY_PROTECTION = 19,
5373     _SC_MESSAGE_PASSING = 20,   5373     _SC_MESSAGE_PASSING = 20,
5374     _SC_SEMAPHORES = 21,   5374     _SC_SEMAPHORES = 21,
5375     _SC_SHARED_MEMORY_OBJECTS = 22,   5375     _SC_SHARED_MEMORY_OBJECTS = 22,
5376     _SC_AIO_LISTIO_MAX = 23,   5376     _SC_AIO_LISTIO_MAX = 23,
5377     _SC_AIO_MAX = 24,   5377     _SC_AIO_MAX = 24,
5378     _SC_AIO_PRIO_DELTA_MAX = 25,   5378     _SC_AIO_PRIO_DELTA_MAX = 25,
5379     _SC_DELAYTIMER_MAX = 26,   5379     _SC_DELAYTIMER_MAX = 26,
5380     _SC_MQ_OPEN_MAX = 27,   5380     _SC_MQ_OPEN_MAX = 27,
5381     _SC_MQ_PRIO_MAX = 28,   5381     _SC_MQ_PRIO_MAX = 28,
5382     _SC_VERSION = 29,   5382     _SC_VERSION = 29,
5383     _SC_PAGESIZE = 30,   5383     _SC_PAGESIZE = 30,
5384     _SC_RTSIG_MAX = 31,   5384     _SC_RTSIG_MAX = 31,
5385     _SC_SEM_NSEMS_MAX = 32,   5385     _SC_SEM_NSEMS_MAX = 32,
5386     _SC_SEM_VALUE_MAX = 33,   5386     _SC_SEM_VALUE_MAX = 33,
5387     _SC_SIGQUEUE_MAX = 34,   5387     _SC_SIGQUEUE_MAX = 34,
5388     _SC_TIMER_MAX = 35,   5388     _SC_TIMER_MAX = 35,
5389     _SC_BC_BASE_MAX = 36,   5389     _SC_BC_BASE_MAX = 36,
5390     _SC_BC_DIM_MAX = 37,   5390     _SC_BC_DIM_MAX = 37,
5391     _SC_BC_SCALE_MAX = 38,   5391     _SC_BC_SCALE_MAX = 38,
5392     _SC_BC_STRING_MAX = 39,   5392     _SC_BC_STRING_MAX = 39,
5393     _SC_COLL_WEIGHTS_MAX = 40,   5393     _SC_COLL_WEIGHTS_MAX = 40,
5394     _SC_EQUIV_CLASS_MAX = 41,   5394     _SC_EQUIV_CLASS_MAX = 41,
5395     _SC_EXPR_NEST_MAX = 42,   5395     _SC_EXPR_NEST_MAX = 42,
5396     _SC_LINE_MAX = 43,   5396     _SC_LINE_MAX = 43,
5397     _SC_RE_DUP_MAX = 44,   5397     _SC_RE_DUP_MAX = 44,
5398     _SC_CHARCLASS_NAME_MAX = 45,   5398     _SC_CHARCLASS_NAME_MAX = 45,
5399     _SC_2_VERSION = 46,   5399     _SC_2_VERSION = 46,
5400     _SC_2_C_BIND = 47,   5400     _SC_2_C_BIND = 47,
5401     _SC_2_C_DEV = 48,   5401     _SC_2_C_DEV = 48,
5402     _SC_2_FORT_DEV = 49,   5402     _SC_2_FORT_DEV = 49,
5403     _SC_2_FORT_RUN = 50,   5403     _SC_2_FORT_RUN = 50,
5404     _SC_2_SW_DEV = 51,   5404     _SC_2_SW_DEV = 51,
5405     _SC_2_LOCALEDEF = 52,   5405     _SC_2_LOCALEDEF = 52,
5406     _SC_PII = 53,   5406     _SC_PII = 53,
5407     _SC_PII_XTI = 54,   5407     _SC_PII_XTI = 54,
5408     _SC_PII_SOCKET = 55,   5408     _SC_PII_SOCKET = 55,
5409     _SC_PII_INTERNET = 56,   5409     _SC_PII_INTERNET = 56,
5410     _SC_PII_OSI = 57,   5410     _SC_PII_OSI = 57,
5411     _SC_POLL = 58,   5411     _SC_POLL = 58,
5412     _SC_SELECT = 59,   5412     _SC_SELECT = 59,
5413     _SC_UIO_MAXIOV = 60,   5413     _SC_UIO_MAXIOV = 60,
5414     _SC_IOV_MAX = 60,   5414     _SC_IOV_MAX = 60,
5415     _SC_PII_INTERNET_STREAM = 61,   5415     _SC_PII_INTERNET_STREAM = 61,
5416     _SC_PII_INTERNET_DGRAM = 62,   5416     _SC_PII_INTERNET_DGRAM = 62,
5417     _SC_PII_OSI_COTS = 63,   5417     _SC_PII_OSI_COTS = 63,
5418     _SC_PII_OSI_CLTS = 64,   5418     _SC_PII_OSI_CLTS = 64,
5419     _SC_PII_OSI_M = 65,   5419     _SC_PII_OSI_M = 65,
5420     _SC_T_IOV_MAX = 66,   5420     _SC_T_IOV_MAX = 66,
5421     _SC_THREADS = 67,   5421     _SC_THREADS = 67,
5422     _SC_THREAD_SAFE_FUNCTIONS = 68,   5422     _SC_THREAD_SAFE_FUNCTIONS = 68,
5423     _SC_GETGR_R_SIZE_MAX = 69,   5423     _SC_GETGR_R_SIZE_MAX = 69,
5424     _SC_GETPW_R_SIZE_MAX = 70,   5424     _SC_GETPW_R_SIZE_MAX = 70,
5425     _SC_LOGIN_NAME_MAX = 71,   5425     _SC_LOGIN_NAME_MAX = 71,
5426     _SC_TTY_NAME_MAX = 72,   5426     _SC_TTY_NAME_MAX = 72,
5427     _SC_THREAD_DESTRUCTOR_ITERATIONS = 73,   5427     _SC_THREAD_DESTRUCTOR_ITERATIONS = 73,
5428     _SC_THREAD_KEYS_MAX = 74,   5428     _SC_THREAD_KEYS_MAX = 74,
5429     _SC_THREAD_STACK_MIN = 75,   5429     _SC_THREAD_STACK_MIN = 75,
5430     _SC_THREAD_THREADS_MAX = 76,   5430     _SC_THREAD_THREADS_MAX = 76,
5431     _SC_THREAD_ATTR_STACKADDR = 77,   5431     _SC_THREAD_ATTR_STACKADDR = 77,
5432     _SC_THREAD_ATTR_STACKSIZE = 78,   5432     _SC_THREAD_ATTR_STACKSIZE = 78,
5433     _SC_THREAD_PRIORITY_SCHEDULING = 79,   5433     _SC_THREAD_PRIORITY_SCHEDULING = 79,
5434     _SC_THREAD_PRIO_INHERIT = 80,   5434     _SC_THREAD_PRIO_INHERIT = 80,
5435     _SC_THREAD_PRIO_PROTECT = 81,   5435     _SC_THREAD_PRIO_PROTECT = 81,
5436     _SC_THREAD_PROCESS_SHARED = 82,   5436     _SC_THREAD_PROCESS_SHARED = 82,
5437     _SC_NPROCESSORS_CONF = 83,   5437     _SC_NPROCESSORS_CONF = 83,
5438     _SC_NPROCESSORS_ONLN = 84,   5438     _SC_NPROCESSORS_ONLN = 84,
5439     _SC_PHYS_PAGES = 85,   5439     _SC_PHYS_PAGES = 85,
5440     _SC_AVPHYS_PAGES = 86,   5440     _SC_AVPHYS_PAGES = 86,
5441     _SC_ATEXIT_MAX = 87,   5441     _SC_ATEXIT_MAX = 87,
5442     _SC_PASS_MAX = 88,   5442     _SC_PASS_MAX = 88,
5443     _SC_XOPEN_VERSION = 89,   5443     _SC_XOPEN_VERSION = 89,
5444     _SC_XOPEN_XCU_VERSION = 90,   5444     _SC_XOPEN_XCU_VERSION = 90,
5445     _SC_XOPEN_UNIX = 91,   5445     _SC_XOPEN_UNIX = 91,
5446     _SC_XOPEN_CRYPT = 92,   5446     _SC_XOPEN_CRYPT = 92,
5447     _SC_XOPEN_ENH_I18N = 93,   5447     _SC_XOPEN_ENH_I18N = 93,
5448     _SC_XOPEN_SHM = 94,   5448     _SC_XOPEN_SHM = 94,
5449     _SC_2_CHAR_TERM = 95,   5449     _SC_2_CHAR_TERM = 95,
5450     _SC_2_C_VERSION = 96,   5450     _SC_2_C_VERSION = 96,
5451     _SC_2_UPE = 97,   5451     _SC_2_UPE = 97,
5452     _SC_XOPEN_XPG2 = 98,   5452     _SC_XOPEN_XPG2 = 98,
5453     _SC_XOPEN_XPG3 = 99,   5453     _SC_XOPEN_XPG3 = 99,
5454     _SC_XOPEN_XPG4 = 100,   5454     _SC_XOPEN_XPG4 = 100,
5455     _SC_CHAR_BIT = 101,   5455     _SC_CHAR_BIT = 101,
5456     _SC_CHAR_MAX = 102,   5456     _SC_CHAR_MAX = 102,
5457     _SC_CHAR_MIN = 103,   5457     _SC_CHAR_MIN = 103,
5458     _SC_INT_MAX = 104,   5458     _SC_INT_MAX = 104,
5459     _SC_INT_MIN = 105,   5459     _SC_INT_MIN = 105,
5460     _SC_LONG_BIT = 106,   5460     _SC_LONG_BIT = 106,
5461     _SC_WORD_BIT = 107,   5461     _SC_WORD_BIT = 107,
5462     _SC_MB_LEN_MAX = 108,   5462     _SC_MB_LEN_MAX = 108,
5463     _SC_NZERO = 109,   5463     _SC_NZERO = 109,
5464     _SC_SSIZE_MAX = 110,   5464     _SC_SSIZE_MAX = 110,
5465     _SC_SCHAR_MAX = 111,   5465     _SC_SCHAR_MAX = 111,
5466     _SC_SCHAR_MIN = 112,   5466     _SC_SCHAR_MIN = 112,
5467     _SC_SHRT_MAX = 113,   5467     _SC_SHRT_MAX = 113,
5468     _SC_SHRT_MIN = 114,   5468     _SC_SHRT_MIN = 114,
5469     _SC_UCHAR_MAX = 115,   5469     _SC_UCHAR_MAX = 115,
5470     _SC_UINT_MAX = 116,   5470     _SC_UINT_MAX = 116,
5471     _SC_ULONG_MAX = 117,   5471     _SC_ULONG_MAX = 117,
5472     _SC_USHRT_MAX = 118,   5472     _SC_USHRT_MAX = 118,
5473     _SC_NL_ARGMAX = 119,   5473     _SC_NL_ARGMAX = 119,
5474     _SC_NL_LANGMAX = 120,   5474     _SC_NL_LANGMAX = 120,
5475     _SC_NL_MSGMAX = 121,   5475     _SC_NL_MSGMAX = 121,
5476     _SC_NL_NMAX = 122,   5476     _SC_NL_NMAX = 122,
5477     _SC_NL_SETMAX = 123,   5477     _SC_NL_SETMAX = 123,
5478     _SC_NL_TEXTMAX = 124,   5478     _SC_NL_TEXTMAX = 124,
5479     _SC_XBS5_ILP32_OFF32 = 125,   5479     _SC_XBS5_ILP32_OFF32 = 125,
5480     _SC_XBS5_ILP32_OFFBIG = 126,   5480     _SC_XBS5_ILP32_OFFBIG = 126,
5481     _SC_XBS5_LP64_OFF64 = 127,   5481     _SC_XBS5_LP64_OFF64 = 127,
5482     _SC_XBS5_LPBIG_OFFBIG = 128,   5482     _SC_XBS5_LPBIG_OFFBIG = 128,
5483     _SC_XOPEN_LEGACY = 129,   5483     _SC_XOPEN_LEGACY = 129,
5484     _SC_XOPEN_REALTIME = 130,   5484     _SC_XOPEN_REALTIME = 130,
5485     _SC_XOPEN_REALTIME_THREADS = 131,   5485     _SC_XOPEN_REALTIME_THREADS = 131,
5486     _SC_ADVISORY_INFO = 132,   5486     _SC_ADVISORY_INFO = 132,
5487     _SC_BARRIERS = 133,   5487     _SC_BARRIERS = 133,
5488     _SC_BASE = 134,   5488     _SC_BASE = 134,
5489     _SC_C_LANG_SUPPORT = 135,   5489     _SC_C_LANG_SUPPORT = 135,
5490     _SC_C_LANG_SUPPORT_R = 136,   5490     _SC_C_LANG_SUPPORT_R = 136,
5491     _SC_CLOCK_SELECTION = 137,   5491     _SC_CLOCK_SELECTION = 137,
5492     _SC_CPUTIME = 138,   5492     _SC_CPUTIME = 138,
5493     _SC_THREAD_CPUTIME = 139,   5493     _SC_THREAD_CPUTIME = 139,
5494     _SC_DEVICE_IO = 140,   5494     _SC_DEVICE_IO = 140,
5495     _SC_DEVICE_SPECIFIC = 141,   5495     _SC_DEVICE_SPECIFIC = 141,
5496     _SC_DEVICE_SPECIFIC_R = 142,   5496     _SC_DEVICE_SPECIFIC_R = 142,
5497     _SC_FD_MGMT = 143,   5497     _SC_FD_MGMT = 143,
5498     _SC_FIFO = 144,   5498     _SC_FIFO = 144,
5499     _SC_PIPE = 145,   5499     _SC_PIPE = 145,
5500     _SC_FILE_ATTRIBUTES = 146,   5500     _SC_FILE_ATTRIBUTES = 146,
5501     _SC_FILE_LOCKING = 147,   5501     _SC_FILE_LOCKING = 147,
5502     _SC_FILE_SYSTEM = 148,   5502     _SC_FILE_SYSTEM = 148,
5503     _SC_MONOTONIC_CLOCK = 149,   5503     _SC_MONOTONIC_CLOCK = 149,
5504     _SC_MULTI_PROCESS = 150,   5504     _SC_MULTI_PROCESS = 150,
5505     _SC_SINGLE_PROCESS = 151,   5505     _SC_SINGLE_PROCESS = 151,
5506     _SC_NETWORKING = 152,   5506     _SC_NETWORKING = 152,
5507     _SC_READER_WRITER_LOCKS = 153,   5507     _SC_READER_WRITER_LOCKS = 153,
5508     _SC_SPIN_LOCKS = 154,   5508     _SC_SPIN_LOCKS = 154,
5509     _SC_REGEXP = 155,   5509     _SC_REGEXP = 155,
5510     _SC_REGEX_VERSION = 156,   5510     _SC_REGEX_VERSION = 156,
5511     _SC_SHELL = 157,   5511     _SC_SHELL = 157,
5512     _SC_SIGNALS = 158,   5512     _SC_SIGNALS = 158,
5513     _SC_SPAWN = 159,   5513     _SC_SPAWN = 159,
5514     _SC_SPORADIC_SERVER = 160,   5514     _SC_SPORADIC_SERVER = 160,
5515     _SC_THREAD_SPORADIC_SERVER = 161,   5515     _SC_THREAD_SPORADIC_SERVER = 161,
5516     _SC_SYSTEM_DATABASE = 162,   5516     _SC_SYSTEM_DATABASE = 162,
5517     _SC_SYSTEM_DATABASE_R = 163,   5517     _SC_SYSTEM_DATABASE_R = 163,
5518     _SC_TIMEOUTS = 164,   5518     _SC_TIMEOUTS = 164,
5519     _SC_TYPED_MEMORY_OBJECTS = 165,   5519     _SC_TYPED_MEMORY_OBJECTS = 165,
5520     _SC_USER_GROUPS = 166,   5520     _SC_USER_GROUPS = 166,
5521     _SC_USER_GROUPS_R = 167,   5521     _SC_USER_GROUPS_R = 167,
5522     _SC_2_PBS = 168,   5522     _SC_2_PBS = 168,
5523     _SC_2_PBS_ACCOUNTING = 169,   5523     _SC_2_PBS_ACCOUNTING = 169,
5524     _SC_2_PBS_LOCATE = 170,   5524     _SC_2_PBS_LOCATE = 170,
5525     _SC_2_PBS_MESSAGE = 171,   5525     _SC_2_PBS_MESSAGE = 171,
5526     _SC_2_PBS_TRACK = 172,   5526     _SC_2_PBS_TRACK = 172,
5527     _SC_SYMLOOP_MAX = 173,   5527     _SC_SYMLOOP_MAX = 173,
5528     _SC_STREAMS = 174,   5528     _SC_STREAMS = 174,
5529     _SC_2_PBS_CHECKPOINT = 175,   5529     _SC_2_PBS_CHECKPOINT = 175,
5530     _SC_V6_ILP32_OFF32 = 176,   5530     _SC_V6_ILP32_OFF32 = 176,
5531     _SC_V6_ILP32_OFFBIG = 177,   5531     _SC_V6_ILP32_OFFBIG = 177,
5532     _SC_V6_LP64_OFF64 = 178,   5532     _SC_V6_LP64_OFF64 = 178,
5533     _SC_V6_LPBIG_OFFBIG = 179,   5533     _SC_V6_LPBIG_OFFBIG = 179,
5534     _SC_HOST_NAME_MAX = 180,   5534     _SC_HOST_NAME_MAX = 180,
5535     _SC_TRACE = 181,   5535     _SC_TRACE = 181,
5536     _SC_TRACE_EVENT_FILTER = 182,   5536     _SC_TRACE_EVENT_FILTER = 182,
5537     _SC_TRACE_INHERIT = 183,   5537     _SC_TRACE_INHERIT = 183,
5538     _SC_TRACE_LOG = 184,   5538     _SC_TRACE_LOG = 184,
5539     _SC_LEVEL1_ICACHE_SIZE = 185,   5539     _SC_LEVEL1_ICACHE_SIZE = 185,
5540     _SC_LEVEL1_ICACHE_ASSOC = 186,   5540     _SC_LEVEL1_ICACHE_ASSOC = 186,
5541     _SC_LEVEL1_ICACHE_LINESIZE = 187,   5541     _SC_LEVEL1_ICACHE_LINESIZE = 187,
5542     _SC_LEVEL1_DCACHE_SIZE = 188,   5542     _SC_LEVEL1_DCACHE_SIZE = 188,
5543     _SC_LEVEL1_DCACHE_ASSOC = 189,   5543     _SC_LEVEL1_DCACHE_ASSOC = 189,
5544     _SC_LEVEL1_DCACHE_LINESIZE = 190,   5544     _SC_LEVEL1_DCACHE_LINESIZE = 190,
5545     _SC_LEVEL2_CACHE_SIZE = 191,   5545     _SC_LEVEL2_CACHE_SIZE = 191,
5546     _SC_LEVEL2_CACHE_ASSOC = 192,   5546     _SC_LEVEL2_CACHE_ASSOC = 192,
5547     _SC_LEVEL2_CACHE_LINESIZE = 193,   5547     _SC_LEVEL2_CACHE_LINESIZE = 193,
5548     _SC_LEVEL3_CACHE_SIZE = 194,   5548     _SC_LEVEL3_CACHE_SIZE = 194,
5549     _SC_LEVEL3_CACHE_ASSOC = 195,   5549     _SC_LEVEL3_CACHE_ASSOC = 195,
5550     _SC_LEVEL3_CACHE_LINESIZE = 196,   5550     _SC_LEVEL3_CACHE_LINESIZE = 196,
5551     _SC_LEVEL4_CACHE_SIZE = 197,   5551     _SC_LEVEL4_CACHE_SIZE = 197,
5552     _SC_LEVEL4_CACHE_ASSOC = 198,   5552     _SC_LEVEL4_CACHE_ASSOC = 198,
5553     _SC_LEVEL4_CACHE_LINESIZE = 199,   5553     _SC_LEVEL4_CACHE_LINESIZE = 199,
5554     _SC_IPV6 = 235,   5554     _SC_IPV6 = 235,
5555     _SC_RAW_SOCKETS = 236,   5555     _SC_RAW_SOCKETS = 236,
5556     _SC_V7_ILP32_OFF32 = 237,   5556     _SC_V7_ILP32_OFF32 = 237,
5557     _SC_V7_ILP32_OFFBIG = 238,   5557     _SC_V7_ILP32_OFFBIG = 238,
5558     _SC_V7_LP64_OFF64 = 239,   5558     _SC_V7_LP64_OFF64 = 239,
5559     _SC_V7_LPBIG_OFFBIG = 240,   5559     _SC_V7_LPBIG_OFFBIG = 240,
5560     _SC_SS_REPL_MAX = 241,   5560     _SC_SS_REPL_MAX = 241,
5561     _SC_TRACE_EVENT_NAME_MAX = 242,   5561     _SC_TRACE_EVENT_NAME_MAX = 242,
5562     _SC_TRACE_NAME_MAX = 243,   5562     _SC_TRACE_NAME_MAX = 243,
5563     _SC_TRACE_SYS_MAX = 244,   5563     _SC_TRACE_SYS_MAX = 244,
5564     _SC_TRACE_USER_EVENT_MAX = 245,   5564     _SC_TRACE_USER_EVENT_MAX = 245,
5565     _SC_XOPEN_STREAMS = 246,   5565     _SC_XOPEN_STREAMS = 246,
5566     _SC_THREAD_ROBUST_PRIO_INHERIT = 247,   5566     _SC_THREAD_ROBUST_PRIO_INHERIT = 247,
5567     _SC_THREAD_ROBUST_PRIO_PROTECT = 248   5567     _SC_THREAD_ROBUST_PRIO_PROTECT = 248
5568 } ;   5568 } ;
5569 enum __anonenum_210 {   5569 enum __anonenum_210 {
5570     _CS_PATH = 0,   5570     _CS_PATH = 0,
5571     _CS_V6_WIDTH_RESTRICTED_ENVS = 1,   5571     _CS_V6_WIDTH_RESTRICTED_ENVS = 1,
5572     _CS_GNU_LIBC_VERSION = 2,   5572     _CS_GNU_LIBC_VERSION = 2,
5573     _CS_GNU_LIBPTHREAD_VERSION = 3,   5573     _CS_GNU_LIBPTHREAD_VERSION = 3,
5574     _CS_V5_WIDTH_RESTRICTED_ENVS = 4,   5574     _CS_V5_WIDTH_RESTRICTED_ENVS = 4,
5575     _CS_V7_WIDTH_RESTRICTED_ENVS = 5,   5575     _CS_V7_WIDTH_RESTRICTED_ENVS = 5,
5576     _CS_LFS_CFLAGS = 1000,   5576     _CS_LFS_CFLAGS = 1000,
5577     _CS_LFS_LDFLAGS = 1001,   5577     _CS_LFS_LDFLAGS = 1001,
5578     _CS_LFS_LIBS = 1002,   5578     _CS_LFS_LIBS = 1002,
5579     _CS_LFS_LINTFLAGS = 1003,   5579     _CS_LFS_LINTFLAGS = 1003,
5580     _CS_LFS64_CFLAGS = 1004,   5580     _CS_LFS64_CFLAGS = 1004,
5581     _CS_LFS64_LDFLAGS = 1005,   5581     _CS_LFS64_LDFLAGS = 1005,
5582     _CS_LFS64_LIBS = 1006,   5582     _CS_LFS64_LIBS = 1006,
5583     _CS_LFS64_LINTFLAGS = 1007,   5583     _CS_LFS64_LINTFLAGS = 1007,
5584     _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,   5584     _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
5585     _CS_XBS5_ILP32_OFF32_LDFLAGS = 1101,   5585     _CS_XBS5_ILP32_OFF32_LDFLAGS = 1101,
5586     _CS_XBS5_ILP32_OFF32_LIBS = 1102,   5586     _CS_XBS5_ILP32_OFF32_LIBS = 1102,
5587     _CS_XBS5_ILP32_OFF32_LINTFLAGS = 1103,   5587     _CS_XBS5_ILP32_OFF32_LINTFLAGS = 1103,
5588     _CS_XBS5_ILP32_OFFBIG_CFLAGS = 1104,   5588     _CS_XBS5_ILP32_OFFBIG_CFLAGS = 1104,
5589     _CS_XBS5_ILP32_OFFBIG_LDFLAGS = 1105,   5589     _CS_XBS5_ILP32_OFFBIG_LDFLAGS = 1105,
5590     _CS_XBS5_ILP32_OFFBIG_LIBS = 1106,   5590     _CS_XBS5_ILP32_OFFBIG_LIBS = 1106,
5591     _CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 1107,   5591     _CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 1107,
5592     _CS_XBS5_LP64_OFF64_CFLAGS = 1108,   5592     _CS_XBS5_LP64_OFF64_CFLAGS = 1108,
5593     _CS_XBS5_LP64_OFF64_LDFLAGS = 1109,   5593     _CS_XBS5_LP64_OFF64_LDFLAGS = 1109,
5594     _CS_XBS5_LP64_OFF64_LIBS = 1110,   5594     _CS_XBS5_LP64_OFF64_LIBS = 1110,
5595     _CS_XBS5_LP64_OFF64_LINTFLAGS = 1111,   5595     _CS_XBS5_LP64_OFF64_LINTFLAGS = 1111,
5596     _CS_XBS5_LPBIG_OFFBIG_CFLAGS = 1112,   5596     _CS_XBS5_LPBIG_OFFBIG_CFLAGS = 1112,
5597     _CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 1113,   5597     _CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 1113,
5598     _CS_XBS5_LPBIG_OFFBIG_LIBS = 1114,   5598     _CS_XBS5_LPBIG_OFFBIG_LIBS = 1114,
5599     _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 1115,   5599     _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 1115,
5600     _CS_POSIX_V6_ILP32_OFF32_CFLAGS = 1116,   5600     _CS_POSIX_V6_ILP32_OFF32_CFLAGS = 1116,
5601     _CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 1117,   5601     _CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 1117,
5602     _CS_POSIX_V6_ILP32_OFF32_LIBS = 1118,   5602     _CS_POSIX_V6_ILP32_OFF32_LIBS = 1118,
5603     _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS = 1119,   5603     _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS = 1119,
5604     _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 1120,   5604     _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 1120,
5605     _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 1121,   5605     _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 1121,
5606     _CS_POSIX_V6_ILP32_OFFBIG_LIBS = 1122,   5606     _CS_POSIX_V6_ILP32_OFFBIG_LIBS = 1122,
5607     _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123,   5607     _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123,
5608     _CS_POSIX_V6_LP64_OFF64_CFLAGS = 1124,   5608     _CS_POSIX_V6_LP64_OFF64_CFLAGS = 1124,
5609     _CS_POSIX_V6_LP64_OFF64_LDFLAGS = 1125,   5609     _CS_POSIX_V6_LP64_OFF64_LDFLAGS = 1125,
5610     _CS_POSIX_V6_LP64_OFF64_LIBS = 1126,   5610     _CS_POSIX_V6_LP64_OFF64_LIBS = 1126,
5611     _CS_POSIX_V6_LP64_OFF64_LINTFLAGS = 1127,   5611     _CS_POSIX_V6_LP64_OFF64_LINTFLAGS = 1127,
5612     _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 1128,   5612     _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 1128,
5613     _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 1129,   5613     _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 1129,
5614     _CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 1130,   5614     _CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 1130,
5615     _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131,   5615     _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131,
5616     _CS_POSIX_V7_ILP32_OFF32_CFLAGS = 1132,   5616     _CS_POSIX_V7_ILP32_OFF32_CFLAGS = 1132,
5617     _CS_POSIX_V7_ILP32_OFF32_LDFLAGS = 1133,   5617     _CS_POSIX_V7_ILP32_OFF32_LDFLAGS = 1133,
5618     _CS_POSIX_V7_ILP32_OFF32_LIBS = 1134,   5618     _CS_POSIX_V7_ILP32_OFF32_LIBS = 1134,
5619     _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS = 1135,   5619     _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS = 1135,
5620     _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS = 1136,   5620     _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS = 1136,
5621     _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS = 1137,   5621     _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS = 1137,
5622     _CS_POSIX_V7_ILP32_OFFBIG_LIBS = 1138,   5622     _CS_POSIX_V7_ILP32_OFFBIG_LIBS = 1138,
5623     _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139,   5623     _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139,
5624     _CS_POSIX_V7_LP64_OFF64_CFLAGS = 1140,   5624     _CS_POSIX_V7_LP64_OFF64_CFLAGS = 1140,
5625     _CS_POSIX_V7_LP64_OFF64_LDFLAGS = 1141,   5625     _CS_POSIX_V7_LP64_OFF64_LDFLAGS = 1141,
5626     _CS_POSIX_V7_LP64_OFF64_LIBS = 1142,   5626     _CS_POSIX_V7_LP64_OFF64_LIBS = 1142,
5627     _CS_POSIX_V7_LP64_OFF64_LINTFLAGS = 1143,   5627     _CS_POSIX_V7_LP64_OFF64_LINTFLAGS = 1143,
5628     _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS = 1144,   5628     _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS = 1144,
5629     _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS = 1145,   5629     _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS = 1145,
5630     _CS_POSIX_V7_LPBIG_OFFBIG_LIBS = 1146,   5630     _CS_POSIX_V7_LPBIG_OFFBIG_LIBS = 1146,
5631     _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147,   5631     _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147,
5632     _CS_V6_ENV = 1148,   5632     _CS_V6_ENV = 1148,
5633     _CS_V7_ENV = 1149   5633     _CS_V7_ENV = 1149
5634 } ;   5634 } ;
5635 struct dirent {   5635 struct dirent {
5636    __ino64_t d_ino ;   5636    __ino64_t d_ino ;
5637    __off64_t d_off ;   5637    __off64_t d_off ;
5638    unsigned short d_reclen ;   5638    unsigned short d_reclen ;
5639    unsigned char d_type ;   5639    unsigned char d_type ;
5640    char d_name[256] ;   5640    char d_name[256] ;
5641 };   5641 };
5642 enum __anonenum_211 {   5642 enum __anonenum_211 {
5643     DT_UNKNOWN = 0,   5643     DT_UNKNOWN = 0,
5644     DT_FIFO = 1,   5644     DT_FIFO = 1,
5645     DT_CHR = 2,   5645     DT_CHR = 2,
5646     DT_DIR = 4,   5646     DT_DIR = 4,
5647     DT_BLK = 6,   5647     DT_BLK = 6,
5648     DT_REG = 8,   5648     DT_REG = 8,
5649     DT_LNK = 10,   5649     DT_LNK = 10,
5650     DT_SOCK = 12,   5650     DT_SOCK = 12,
5651     DT_WHT = 14   5651     DT_WHT = 14
5652 } ;   5652 } ;
5653 struct __dirstream;   5653 struct __dirstream;
5654 typedef struct __dirstream DIR;   5654 typedef struct __dirstream DIR;
5655 extern int select(int __nfds , fd_set * __restrict  __readfds ,   5655 extern int select(int __nfds , fd_set * __restrict  __readfds ,
5656                   fd_set * __restrict  __writefds ,   5656                   fd_set * __restrict  __writefds ,
5657                   fd_set * __restrict  __exceptfds ,   5657                   fd_set * __restrict  __exceptfds ,
5658                   struct timeval * __restrict  __timeout ) ;   5658                   struct timeval * __restrict  __timeout ) ;
5659 extern int pselect(int __nfds , fd_set * __restrict  __readfds ,   5659 extern int pselect(int __nfds , fd_set * __restrict  __readfds ,
5660                    fd_set * __restrict  __writefds ,   5660                    fd_set * __restrict  __writefds ,
5661                    fd_set * __restrict  __exceptfds ,   5661                    fd_set * __restrict  __exceptfds ,
5662                    struct timespec  const  * __restrict  __timeout ,   5662                    struct timespec  const  * __restrict  __timeout ,
5663                    __sigset_t const   * __restrict  __sigmask ) ;   5663                    __sigset_t const   * __restrict  __sigmask ) ;
5664 __inline extern  __attribute__((__nothrow__)) unsigned int __attribute__((__gnu_inline__))  gnu_dev_major(unsigned long long __dev ) ;   5664 __inline extern  __attribute__((__nothrow__)) unsigned int __attribute__((__gnu_inline__))  gnu_dev_major(unsigned long long __dev ) ;
5665 __inline extern  __attribute__((__nothrow__)) unsigned int __attribute__((__gnu_inline__))  gnu_dev_minor(unsigned long long __dev ) ;   5665 __inline extern  __attribute__((__nothrow__)) unsigned int __attribute__((__gnu_inline__))  gnu_dev_minor(unsigned long long __dev ) ;
5666 __inline extern  __attribute__((__nothrow__)) unsigned long long __attribute__((__gnu_inline__))  gnu_dev_makedev(unsigned int __major ,   5666 __inline extern  __attribute__((__nothrow__)) unsigned long long __attribute__((__gnu_inline__))  gnu_dev_makedev(unsigned int __major ,
5667                                                                                                                   unsigned int __minor ) ;   5667                                                                                                                   unsigned int __minor ) ;
5668 __inline extern  __attribute__((__nothrow__)) unsigned int __attribute__((__gnu_inline__))  gnu_dev_major(unsigned long long __dev ) ;   5668 __inline extern  __attribute__((__nothrow__)) unsigned int __attribute__((__gnu_inline__))  gnu_dev_major(unsigned long long __dev ) ;
5669 __inline extern unsigned int __attribute__((__gnu_inline__))  gnu_dev_major(unsigned long long __dev )   5669 __inline extern unsigned int __attribute__((__gnu_inline__))  gnu_dev_major(unsigned long long __dev )
5670 {   5670 {
5671     5671  
5672     5672  
5673   {   5673   {
5674   return ((unsigned int __attribute__((__gnu_inline__))  )(((__dev >> 8) & 4095ULL) | (unsigned long long )((unsigned int )(__dev >> 32) & 4294963200U)));   5674   return ((unsigned int __attribute__((__gnu_inline__))  )(((__dev >> 8) & 4095ULL) | (unsigned long long )((unsigned int )(__dev >> 32) & 4294963200U)));
5675 }   5675 }
5676 }   5676 }
5677 __inline extern  __attribute__((__nothrow__)) unsigned int __attribute__((__gnu_inline__))  gnu_dev_minor(unsigned long long __dev ) ;   5677 __inline extern  __attribute__((__nothrow__)) unsigned int __attribute__((__gnu_inline__))  gnu_dev_minor(unsigned long long __dev ) ;
5678 __inline extern unsigned int __attribute__((__gnu_inline__))  gnu_dev_minor(unsigned long long __dev )   5678 __inline extern unsigned int __attribute__((__gnu_inline__))  gnu_dev_minor(unsigned long long __dev )
5679 {   5679 {
5680     5680  
5681     5681  
5682   {   5682   {
5683   return ((unsigned int __attribute__((__gnu_inline__))  )((__dev & 255ULL) | (unsigned long long )((unsigned int )(__dev >> 12) & 4294967040U)));   5683   return ((unsigned int __attribute__((__gnu_inline__))  )((__dev & 255ULL) | (unsigned long long )((unsigned int )(__dev >> 12) & 4294967040U)));
5684 }   5684 }
5685 }   5685 }
5686 __inline extern  __attribute__((__nothrow__)) unsigned long long __attribute__((__gnu_inline__))  gnu_dev_makedev(unsigned int __major ,   5686 __inline extern  __attribute__((__nothrow__)) unsigned long long __attribute__((__gnu_inline__))  gnu_dev_makedev(unsigned int __major ,
5687                                                                                                                   unsigned int __minor ) ;   5687                                                                                                                   unsigned int __minor ) ;
5688 __inline extern unsigned long long __attribute__((__gnu_inline__))  gnu_dev_makedev(unsigned int __major ,   5688 __inline extern unsigned long long __attribute__((__gnu_inline__))  gnu_dev_makedev(unsigned int __major ,
5689                                                                                     unsigned int __minor )   5689                                                                                     unsigned int __minor )
5690 {   5690 {
5691     5691  
5692     5692  
5693   {   5693   {
5694   return ((unsigned long long __attribute__((__gnu_inline__))  )(((unsigned long long )((__minor & 255U) | ((__major & 4095U) << 8)) | ((unsigned long long )(__minor & 4294967040U) << 12)) | ((unsigned long long )(__major & 4294963200U) << 32)));   5694   return ((unsigned long long __attribute__((__gnu_inline__))  )(((unsigned long long )((__minor & 255U) | ((__major & 4095U) << 8)) | ((unsigned long long )(__minor & 4294967040U) << 12)) | ((unsigned long long )(__major & 4294963200U) << 32)));
5695 }   5695 }
5696 }   5696 }
5697 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,   5697 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,
5698                                                                                                                              struct stat * __restrict  __statbuf )  __asm__("stat64")  ;   5698                                                                                                                              struct stat * __restrict  __statbuf )  __asm__("stat64")  ;
5699 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2))) fstat)(int __fd ,   5699 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2))) fstat)(int __fd ,
5700                                                                                                                             struct stat *__statbuf )  __asm__("fstat64")  ;   5700                                                                                                                             struct stat *__statbuf )  __asm__("fstat64")  ;
5701 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,   5701 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,
5702                                                                                                                                 char const   * __restrict  __filename ,   5702                                                                                                                                 char const   * __restrict  __filename ,
5703                                                                                                                                 struct stat * __restrict  __statbuf ,   5703                                                                                                                                 struct stat * __restrict  __statbuf ,
5704                                                                                                                                 int __flag )  __asm__("fstatat64")  ;   5704                                                                                                                                 int __flag )  __asm__("fstatat64")  ;
5705 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,   5705 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,
5706                                                                                                                               struct stat * __restrict  __statbuf )  __asm__("lstat64")  ;   5706                                                                                                                               struct stat * __restrict  __statbuf )  __asm__("lstat64")  ;
5707 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chmod)(char const   *__file ,   5707 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chmod)(char const   *__file ,
5708                                                                                   __mode_t __mode ) ;   5708                                                                                   __mode_t __mode ) ;
5709 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchmod)(char const   *__file ,   5709 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchmod)(char const   *__file ,
5710                                                                                    __mode_t __mode ) ;   5710                                                                                    __mode_t __mode ) ;
5711 extern  __attribute__((__nothrow__)) int fchmod(int __fd , __mode_t __mode ) ;   5711 extern  __attribute__((__nothrow__)) int fchmod(int __fd , __mode_t __mode ) ;
5712 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchmodat)(int __fd ,   5712 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchmodat)(int __fd ,
5713                                                                                      char const   *__file ,   5713                                                                                      char const   *__file ,
5714                                                                                      __mode_t __mode ,   5714                                                                                      __mode_t __mode ,
5715                                                                                      int __flag ) ;   5715                                                                                      int __flag ) ;
5716 extern  __attribute__((__nothrow__)) __mode_t umask(__mode_t __mask ) ;   5716 extern  __attribute__((__nothrow__)) __mode_t umask(__mode_t __mask ) ;
5717 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkdir)(char const   *__path ,   5717 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkdir)(char const   *__path ,
5718                                                                                   __mode_t __mode ) ;   5718                                                                                   __mode_t __mode ) ;
5719 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkdirat)(int __fd ,   5719 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkdirat)(int __fd ,
5720                                                                                     char const   *__path ,   5720                                                                                     char const   *__path ,
5721                                                                                     __mode_t __mode ) ;   5721                                                                                     __mode_t __mode ) ;
5722 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,   5722 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,
5723                                                                                                                             __mode_t __mode ,   5723                                                                                                                             __mode_t __mode ,
5724                                                                                                                             __dev_t __dev ) ;   5724                                                                                                                             __dev_t __dev ) ;
5725 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,   5725 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,
5726                                                                                                                               char const   *__path ,   5726                                                                                                                               char const   *__path ,
5727                                                                                                                               __mode_t __mode ,   5727                                                                                                                               __mode_t __mode ,
5728                                                                                                                               __dev_t __dev ) ;   5728                                                                                                                               __dev_t __dev ) ;
5729 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkfifo)(char const   *__path ,   5729 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkfifo)(char const   *__path ,
5730                                                                                    __mode_t __mode ) ;   5730                                                                                    __mode_t __mode ) ;
5731 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkfifoat)(int __fd ,   5731 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkfifoat)(int __fd ,
5732                                                                                      char const   *__path ,   5732                                                                                      char const   *__path ,
5733                                                                                      __mode_t __mode ) ;   5733                                                                                      __mode_t __mode ) ;
5734 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) utimensat)(int __fd ,   5734 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) utimensat)(int __fd ,
5735                                                                                       char const   *__path ,   5735                                                                                       char const   *__path ,
5736                                                                                       struct timespec  const  *__times ,   5736                                                                                       struct timespec  const  *__times ,
5737                                                                                       int __flags ) ;   5737                                                                                       int __flags ) ;
5738 extern  __attribute__((__nothrow__)) int futimens(int __fd ,   5738 extern  __attribute__((__nothrow__)) int futimens(int __fd ,
5739                                                   struct timespec  const  *__times ) ;   5739                                                   struct timespec  const  *__times ) ;
5740 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3))) __fxstat)(int __ver ,   5740 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3))) __fxstat)(int __ver ,
5741                                                                                      int __fildes ,   5741                                                                                      int __fildes ,
5742                                                                                      struct stat *__stat_buf )  __asm__("__fxstat64")  ;   5742                                                                                      struct stat *__stat_buf )  __asm__("__fxstat64")  ;
5743 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __xstat)(int __ver ,   5743 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __xstat)(int __ver ,
5744                                                                                       char const   *__filename ,   5744                                                                                       char const   *__filename ,
5745                                                                                       struct stat *__stat_buf )  __asm__("__xstat64")  ;   5745                                                                                       struct stat *__stat_buf )  __asm__("__xstat64")  ;
5746 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __lxstat)(int __ver ,   5746 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __lxstat)(int __ver ,
5747                                                                                        char const   *__filename ,   5747                                                                                        char const   *__filename ,
5748                                                                                        struct stat *__stat_buf )  __asm__("__lxstat64")  ;   5748                                                                                        struct stat *__stat_buf )  __asm__("__lxstat64")  ;
5749 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4))) __fxstatat)(int __ver ,   5749 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4))) __fxstatat)(int __ver ,
5750                                                                                          int __fildes ,   5750                                                                                          int __fildes ,
5751                                                                                          char const   *__filename ,   5751                                                                                          char const   *__filename ,
5752                                                                                          struct stat *__stat_buf ,   5752                                                                                          struct stat *__stat_buf ,
5753                                                                                          int __flag )  __asm__("__fxstatat64")  ;   5753                                                                                          int __flag )  __asm__("__fxstatat64")  ;
5754 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) __xmknod)(int __ver ,   5754 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) __xmknod)(int __ver ,
5755                                                                                        char const   *__path ,   5755                                                                                        char const   *__path ,
5756                                                                                        __mode_t __mode ,   5756                                                                                        __mode_t __mode ,
5757                                                                                        __dev_t *__dev ) ;   5757                                                                                        __dev_t *__dev ) ;
5758 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,5))) __xmknodat)(int __ver ,   5758 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,5))) __xmknodat)(int __ver ,
5759                                                                                          int __fd ,   5759                                                                                          int __fd ,
5760                                                                                          char const   *__path ,   5760                                                                                          char const   *__path ,
5761                                                                                          __mode_t __mode ,   5761                                                                                          __mode_t __mode ,
5762                                                                                          __dev_t *__dev ) ;   5762                                                                                          __dev_t *__dev ) ;
5763 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,   5763 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,
5764                                                                                                                              struct stat * __restrict  __statbuf )  __asm__("stat64")  ;   5764                                                                                                                              struct stat * __restrict  __statbuf )  __asm__("stat64")  ;
5765 __inline extern int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,   5765 __inline extern int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,
5766                                                                                                struct stat * __restrict  __statbuf )   5766                                                                                                struct stat * __restrict  __statbuf )
5767 {   5767 {
5768   int tmp ;   5768   int tmp ;
5769     5769  
5770   {   5770   {
5771   tmp = __xstat(3, (char const   *)__path, (struct stat *)__statbuf);   5771   tmp = __xstat(3, (char const   *)__path, (struct stat *)__statbuf);
5772   return ((int __attribute__((__gnu_inline__))  )tmp);   5772   return ((int __attribute__((__gnu_inline__))  )tmp);
5773 }   5773 }
5774 }   5774 }
5775 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,   5775 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,
5776                                                                                                                               struct stat * __restrict  __statbuf )  __asm__("lstat64")  ;   5776                                                                                                                               struct stat * __restrict  __statbuf )  __asm__("lstat64")  ;
5777 __inline extern int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,   5777 __inline extern int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,
5778                                                                                                 struct stat * __restrict  __statbuf )   5778                                                                                                 struct stat * __restrict  __statbuf )
5779 {   5779 {
5780   int tmp ;   5780   int tmp ;
5781     5781  
5782   {   5782   {
5783   tmp = __lxstat(3, (char const   *)__path, (struct stat *)__statbuf);   5783   tmp = __lxstat(3, (char const   *)__path, (struct stat *)__statbuf);
5784   return ((int __attribute__((__gnu_inline__))  )tmp);   5784   return ((int __attribute__((__gnu_inline__))  )tmp);
5785 }   5785 }
5786 }   5786 }
5787 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2))) fstat)(int __fd ,   5787 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2))) fstat)(int __fd ,
5788                                                                                                                             struct stat *__statbuf )  __asm__("fstat64")  ;   5788                                                                                                                             struct stat *__statbuf )  __asm__("fstat64")  ;
5789 __inline extern int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2))) fstat)(int __fd ,   5789 __inline extern int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2))) fstat)(int __fd ,
5790                                                                                               struct stat *__statbuf )   5790                                                                                               struct stat *__statbuf )
5791 {   5791 {
5792   int tmp ;   5792   int tmp ;
5793     5793  
5794   {   5794   {
5795   tmp = __fxstat(3, __fd, __statbuf);   5795   tmp = __fxstat(3, __fd, __statbuf);
5796   return ((int __attribute__((__gnu_inline__))  )tmp);   5796   return ((int __attribute__((__gnu_inline__))  )tmp);
5797 }   5797 }
5798 }   5798 }
5799 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,   5799 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,
5800                                                                                                                                 char const   * __restrict  __filename ,   5800                                                                                                                                 char const   * __restrict  __filename ,
5801                                                                                                                                 struct stat * __restrict  __statbuf ,   5801                                                                                                                                 struct stat * __restrict  __statbuf ,
5802                                                                                                                                 int __flag )  __asm__("fstatat64")  ;   5802                                                                                                                                 int __flag )  __asm__("fstatat64")  ;
5803 __inline extern int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,   5803 __inline extern int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,
5804                                                                                                   char const   * __restrict  __filename ,   5804                                                                                                   char const   * __restrict  __filename ,
5805                                                                                                   struct stat * __restrict  __statbuf ,   5805                                                                                                   struct stat * __restrict  __statbuf ,
5806                                                                                                   int __flag )   5806                                                                                                   int __flag )
5807 {   5807 {
5808   int tmp ;   5808   int tmp ;
5809     5809  
5810   {   5810   {
5811   tmp = __fxstatat(3, __fd, (char const   *)__filename,   5811   tmp = __fxstatat(3, __fd, (char const   *)__filename,
5812                    (struct stat *)__statbuf, __flag);   5812                    (struct stat *)__statbuf, __flag);
5813   return ((int __attribute__((__gnu_inline__))  )tmp);   5813   return ((int __attribute__((__gnu_inline__))  )tmp);
5814 }   5814 }
5815 }   5815 }
5816 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,   5816 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,
5817                                                                                                                             __mode_t __mode ,   5817                                                                                                                             __mode_t __mode ,
5818                                                                                                                             __dev_t __dev ) ;   5818                                                                                                                             __dev_t __dev ) ;
5819 __inline extern int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,   5819 __inline extern int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,
5820                                                                                               __mode_t __mode ,   5820                                                                                               __mode_t __mode ,
5821                                                                                               __dev_t __dev )   5821                                                                                               __dev_t __dev )
5822 {   5822 {
5823   int tmp ;   5823   int tmp ;
5824     5824  
5825   {   5825   {
5826   tmp = __xmknod(1, __path, __mode, & __dev);   5826   tmp = __xmknod(1, __path, __mode, & __dev);
5827   return ((int __attribute__((__gnu_inline__))  )tmp);   5827   return ((int __attribute__((__gnu_inline__))  )tmp);
5828 }   5828 }
5829 }   5829 }
5830 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,   5830 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,
5831                                                                                                                               char const   *__path ,   5831                                                                                                                               char const   *__path ,
5832                                                                                                                               __mode_t __mode ,   5832                                                                                                                               __mode_t __mode ,
5833                                                                                                                               __dev_t __dev ) ;   5833                                                                                                                               __dev_t __dev ) ;
5834 __inline extern int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,   5834 __inline extern int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,
5835                                                                                                 char const   *__path ,   5835                                                                                                 char const   *__path ,
5836                                                                                                 __mode_t __mode ,   5836                                                                                                 __mode_t __mode ,
5837                                                                                                 __dev_t __dev )   5837                                                                                                 __dev_t __dev )
5838 {   5838 {
5839   int tmp ;   5839   int tmp ;
5840     5840  
5841   {   5841   {
5842   tmp = __xmknodat(1, __fd, __path, __mode, & __dev);   5842   tmp = __xmknodat(1, __fd, __path, __mode, & __dev);
5843   return ((int __attribute__((__gnu_inline__))  )tmp);   5843   return ((int __attribute__((__gnu_inline__))  )tmp);
5844 }   5844 }
5845 }   5845 }
5846 extern  __attribute__((__nothrow__)) int *__errno_location(void)  __attribute__((__const__)) ;   5846 extern  __attribute__((__nothrow__)) int *__errno_location(void)  __attribute__((__const__)) ;
5847 extern int fcntl(int __fd , int __cmd  , ...) ;   5847 extern int fcntl(int __fd , int __cmd  , ...) ;
5848 extern int ( __attribute__((__nonnull__(1))) open)(char const   *__file ,   5848 extern int ( __attribute__((__nonnull__(1))) open)(char const   *__file ,
5849                                                    int __oflag  , ...)  __asm__("open64")  ;   5849                                                    int __oflag  , ...)  __asm__("open64")  ;
5850 extern int ( __attribute__((__nonnull__(2))) openat)(int __fd ,   5850 extern int ( __attribute__((__nonnull__(2))) openat)(int __fd ,
5851                                                      char const   *__file ,   5851                                                      char const   *__file ,
5852                                                      int __oflag  , ...)  __asm__("openat64")  ;   5852                                                      int __oflag  , ...)  __asm__("openat64")  ;
5853 extern int ( __attribute__((__nonnull__(1))) creat)(char const   *__file ,   5853 extern int ( __attribute__((__nonnull__(1))) creat)(char const   *__file ,
5854                                                     __mode_t __mode )  __asm__("creat64")  ;   5854                                                     __mode_t __mode )  __asm__("creat64")  ;
5855 extern int lockf(int __fd , int __cmd , __off64_t __len )  __asm__("lockf64")  ;   5855 extern int lockf(int __fd , int __cmd , __off64_t __len )  __asm__("lockf64")  ;
5856 extern  __attribute__((__nothrow__)) int posix_fadvise(int __fd ,   5856 extern  __attribute__((__nothrow__)) int posix_fadvise(int __fd ,
5857                                                        __off64_t __offset ,   5857                                                        __off64_t __offset ,
5858                                                        __off64_t __len ,   5858                                                        __off64_t __len ,
5859                                                        int __advise )  __asm__("posix_fadvise64")  ;   5859                                                        int __advise )  __asm__("posix_fadvise64")  ;
5860 extern int posix_fallocate(int __fd , __off64_t __offset , __off64_t __len )  __asm__("posix_fallocate64")  ;   5860 extern int posix_fallocate(int __fd , __off64_t __offset , __off64_t __len )  __asm__("posix_fallocate64")  ;
5861 extern  __attribute__((__nothrow__)) size_t __ctype_get_mb_cur_max(void) ;   5861 extern  __attribute__((__nothrow__)) size_t __ctype_get_mb_cur_max(void) ;
5862 __inline extern  __attribute__((__nothrow__)) double __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;   5862 __inline extern  __attribute__((__nothrow__)) double __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;
5863 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;   5863 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;
5864 __inline extern  __attribute__((__nothrow__)) long __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;   5864 __inline extern  __attribute__((__nothrow__)) long __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;
5865 __inline extern  __attribute__((__nothrow__)) long long __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;   5865 __inline extern  __attribute__((__nothrow__)) long long __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;
5866 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) strtod)(char const   * __restrict  __nptr ,   5866 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) strtod)(char const   * __restrict  __nptr ,
5867                                                                                       char ** __restrict  __endptr ) ;   5867                                                                                       char ** __restrict  __endptr ) ;
5868 extern  __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1))) strtof)(char const   * __restrict  __nptr ,   5868 extern  __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1))) strtof)(char const   * __restrict  __nptr ,
5869                                                                                      char ** __restrict  __endptr ) ;   5869                                                                                      char ** __restrict  __endptr ) ;
5870 extern  __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1))) strtold)(char const   * __restrict  __nptr ,   5870 extern  __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1))) strtold)(char const   * __restrict  __nptr ,
5871                                                                                             char ** __restrict  __endptr ) ;   5871                                                                                             char ** __restrict  __endptr ) ;
5872 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) strtol)(char const   * __restrict  __nptr ,   5872 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) strtol)(char const   * __restrict  __nptr ,
5873                                                                                     char ** __restrict  __endptr ,   5873                                                                                     char ** __restrict  __endptr ,
5874                                                                                     int __base ) ;   5874                                                                                     int __base ) ;
5875 extern  __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1))) strtoul)(char const   * __restrict  __nptr ,   5875 extern  __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1))) strtoul)(char const   * __restrict  __nptr ,
5876                                                                                               char ** __restrict  __endptr ,   5876                                                                                               char ** __restrict  __endptr ,
5877                                                                                               int __base ) ;   5877                                                                                               int __base ) ;
5878 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoq)(char const   * __restrict  __nptr ,   5878 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoq)(char const   * __restrict  __nptr ,
5879                                                                                          char ** __restrict  __endptr ,   5879                                                                                          char ** __restrict  __endptr ,
5880                                                                                          int __base ) ;   5880                                                                                          int __base ) ;
5881 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtouq)(char const   * __restrict  __nptr ,   5881 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtouq)(char const   * __restrict  __nptr ,
5882                                                                                                    char ** __restrict  __endptr ,   5882                                                                                                    char ** __restrict  __endptr ,
5883                                                                                                    int __base ) ;   5883                                                                                                    int __base ) ;
5884 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoll)(char const   * __restrict  __nptr ,   5884 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoll)(char const   * __restrict  __nptr ,
5885                                                                                           char ** __restrict  __endptr ,   5885                                                                                           char ** __restrict  __endptr ,
5886                                                                                           int __base ) ;   5886                                                                                           int __base ) ;
5887 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtoull)(char const   * __restrict  __nptr ,   5887 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtoull)(char const   * __restrict  __nptr ,
5888                                                                                                     char ** __restrict  __endptr ,   5888                                                                                                     char ** __restrict  __endptr ,
5889                                                                                                     int __base ) ;   5889                                                                                                     int __base ) ;
5890 __inline extern  __attribute__((__nothrow__)) double __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;   5890 __inline extern  __attribute__((__nothrow__)) double __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;
5891 __inline extern double __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )   5891 __inline extern double __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )
5892 {   5892 {
5893   double tmp ;   5893   double tmp ;
5894     5894  
5895   {   5895   {
5896   tmp = strtod((char const   */* __restrict  */)__nptr,   5896   tmp = strtod((char const   */* __restrict  */)__nptr,
5897                (char **/* __restrict  */)((char **)((void *)0)));   5897                (char **/* __restrict  */)((char **)((void *)0)));
5898   return ((double __attribute__((__gnu_inline__))  )tmp);   5898   return ((double __attribute__((__gnu_inline__))  )tmp);
5899 }   5899 }
5900 }   5900 }
5901 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;   5901 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;
5902 __inline extern int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )   5902 __inline extern int __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )
5903 {   5903 {
5904   long tmp ;   5904   long tmp ;
5905     5905  
5906   {   5906   {
5907   tmp = strtol((char const   */* __restrict  */)__nptr,   5907   tmp = strtol((char const   */* __restrict  */)__nptr,
5908                (char **/* __restrict  */)((char **)((void *)0)), 10);   5908                (char **/* __restrict  */)((char **)((void *)0)), 10);
5909   return ((int __attribute__((__gnu_inline__))  )((int )tmp));   5909   return ((int __attribute__((__gnu_inline__))  )((int )tmp));
5910 }   5910 }
5911 }   5911 }
5912 __inline extern  __attribute__((__nothrow__)) long __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;   5912 __inline extern  __attribute__((__nothrow__)) long __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;
5913 __inline extern long __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )   5913 __inline extern long __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )
5914 {   5914 {
5915   long tmp ;   5915   long tmp ;
5916     5916  
5917   {   5917   {
5918   tmp = strtol((char const   */* __restrict  */)__nptr,   5918   tmp = strtol((char const   */* __restrict  */)__nptr,
5919                (char **/* __restrict  */)((char **)((void *)0)), 10);   5919                (char **/* __restrict  */)((char **)((void *)0)), 10);
5920   return ((long __attribute__((__gnu_inline__))  )tmp);   5920   return ((long __attribute__((__gnu_inline__))  )tmp);
5921 }   5921 }
5922 }   5922 }
5923 __inline extern  __attribute__((__nothrow__)) long long __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;   5923 __inline extern  __attribute__((__nothrow__)) long long __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;
5924 __inline extern long long __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )   5924 __inline extern long long __attribute__((__gnu_inline__))  ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )
5925 {   5925 {
5926   long long tmp ;   5926   long long tmp ;
5927     5927  
5928   {   5928   {
5929   tmp = strtoll((char const   */* __restrict  */)__nptr,   5929   tmp = strtoll((char const   */* __restrict  */)__nptr,
5930                 (char **/* __restrict  */)((char **)((void *)0)), 10);   5930                 (char **/* __restrict  */)((char **)((void *)0)), 10);
5931   return ((long long __attribute__((__gnu_inline__))  )tmp);   5931   return ((long long __attribute__((__gnu_inline__))  )tmp);
5932 }   5932 }
5933 }   5933 }
5934 extern  __attribute__((__nothrow__)) char *l64a(long __n ) ;   5934 extern  __attribute__((__nothrow__)) char *l64a(long __n ) ;
5935 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) a64l)(char const   *__s )  __attribute__((__pure__)) ;   5935 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) a64l)(char const   *__s )  __attribute__((__pure__)) ;
5936 extern  __attribute__((__nothrow__)) long random(void) ;   5936 extern  __attribute__((__nothrow__)) long random(void) ;
5937 extern  __attribute__((__nothrow__)) void srandom(unsigned int __seed ) ;   5937 extern  __attribute__((__nothrow__)) void srandom(unsigned int __seed ) ;
5938 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) initstate)(unsigned int __seed ,   5938 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) initstate)(unsigned int __seed ,
5939                                                                                         char *__statebuf ,   5939                                                                                         char *__statebuf ,
5940                                                                                         size_t __statelen ) ;   5940                                                                                         size_t __statelen ) ;
5941 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) setstate)(char *__statebuf ) ;   5941 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) setstate)(char *__statebuf ) ;
5942 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) random_r)(struct random_data * __restrict  __buf ,   5942 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) random_r)(struct random_data * __restrict  __buf ,
5943                                                                                        int32_t * __restrict  __result ) ;   5943                                                                                        int32_t * __restrict  __result ) ;
5944 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srandom_r)(unsigned int __seed ,   5944 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srandom_r)(unsigned int __seed ,
5945                                                                                       struct random_data *__buf ) ;   5945                                                                                       struct random_data *__buf ) ;
5946 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) initstate_r)(unsigned int __seed ,   5946 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) initstate_r)(unsigned int __seed ,
5947                                                                                           char * __restrict  __statebuf ,   5947                                                                                           char * __restrict  __statebuf ,
5948                                                                                           size_t __statelen ,   5948                                                                                           size_t __statelen ,
5949                                                                                           struct random_data * __restrict  __buf ) ;   5949                                                                                           struct random_data * __restrict  __buf ) ;
5950 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) setstate_r)(char * __restrict  __statebuf ,   5950 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) setstate_r)(char * __restrict  __statebuf ,
5951                                                                                          struct random_data * __restrict  __buf ) ;   5951                                                                                          struct random_data * __restrict  __buf ) ;
5952 extern  __attribute__((__nothrow__)) int rand(void) ;   5952 extern  __attribute__((__nothrow__)) int rand(void) ;
5953 extern  __attribute__((__nothrow__)) void srand(unsigned int __seed ) ;   5953 extern  __attribute__((__nothrow__)) void srand(unsigned int __seed ) ;
5954 extern  __attribute__((__nothrow__)) int rand_r(unsigned int *__seed ) ;   5954 extern  __attribute__((__nothrow__)) int rand_r(unsigned int *__seed ) ;
5955 extern  __attribute__((__nothrow__)) double drand48(void) ;   5955 extern  __attribute__((__nothrow__)) double drand48(void) ;
5956 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) erand48)(unsigned short *__xsubi ) ;   5956 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) erand48)(unsigned short *__xsubi ) ;
5957 extern  __attribute__((__nothrow__)) long lrand48(void) ;   5957 extern  __attribute__((__nothrow__)) long lrand48(void) ;
5958 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) nrand48)(unsigned short *__xsubi ) ;   5958 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) nrand48)(unsigned short *__xsubi ) ;
5959 extern  __attribute__((__nothrow__)) long mrand48(void) ;   5959 extern  __attribute__((__nothrow__)) long mrand48(void) ;
5960 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) jrand48)(unsigned short *__xsubi ) ;   5960 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) jrand48)(unsigned short *__xsubi ) ;
5961 extern  __attribute__((__nothrow__)) void srand48(long __seedval ) ;   5961 extern  __attribute__((__nothrow__)) void srand48(long __seedval ) ;
5962 extern  __attribute__((__nothrow__)) unsigned short *( __attribute__((__nonnull__(1))) seed48)(unsigned short *__seed16v ) ;   5962 extern  __attribute__((__nothrow__)) unsigned short *( __attribute__((__nonnull__(1))) seed48)(unsigned short *__seed16v ) ;
5963 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) lcong48)(unsigned short *__param ) ;   5963 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) lcong48)(unsigned short *__param ) ;
5964 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) drand48_r)(struct drand48_data * __restrict  __buffer ,   5964 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) drand48_r)(struct drand48_data * __restrict  __buffer ,
5965                                                                                         double * __restrict  __result ) ;   5965                                                                                         double * __restrict  __result ) ;
5966 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) erand48_r)(unsigned short *__xsubi ,   5966 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) erand48_r)(unsigned short *__xsubi ,
5967                                                                                         struct drand48_data * __restrict  __buffer ,   5967                                                                                         struct drand48_data * __restrict  __buffer ,
5968                                                                                         double * __restrict  __result ) ;   5968                                                                                         double * __restrict  __result ) ;
5969 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lrand48_r)(struct drand48_data * __restrict  __buffer ,   5969 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lrand48_r)(struct drand48_data * __restrict  __buffer ,
5970                                                                                         long * __restrict  __result ) ;   5970                                                                                         long * __restrict  __result ) ;
5971 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) nrand48_r)(unsigned short *__xsubi ,   5971 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) nrand48_r)(unsigned short *__xsubi ,
5972                                                                                         struct drand48_data * __restrict  __buffer ,   5972                                                                                         struct drand48_data * __restrict  __buffer ,
5973                                                                                         long * __restrict  __result ) ;   5973                                                                                         long * __restrict  __result ) ;
5974 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) mrand48_r)(struct drand48_data * __restrict  __buffer ,   5974 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) mrand48_r)(struct drand48_data * __restrict  __buffer ,
5975                                                                                         long * __restrict  __result ) ;   5975                                                                                         long * __restrict  __result ) ;
5976 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) jrand48_r)(unsigned short *__xsubi ,   5976 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) jrand48_r)(unsigned short *__xsubi ,
5977                                                                                         struct drand48_data * __restrict  __buffer ,   5977                                                                                         struct drand48_data * __restrict  __buffer ,
5978                                                                                         long * __restrict  __result ) ;   5978                                                                                         long * __restrict  __result ) ;
5979 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srand48_r)(long __seedval ,   5979 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srand48_r)(long __seedval ,
5980                                                                                       struct drand48_data *__buffer ) ;   5980                                                                                       struct drand48_data *__buffer ) ;
5981 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) seed48_r)(unsigned short *__seed16v ,   5981 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) seed48_r)(unsigned short *__seed16v ,
5982                                                                                        struct drand48_data *__buffer ) ;   5982                                                                                        struct drand48_data *__buffer ) ;
5983 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lcong48_r)(unsigned short *__param ,   5983 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lcong48_r)(unsigned short *__param ,
5984                                                                                         struct drand48_data *__buffer ) ;   5984                                                                                         struct drand48_data *__buffer ) ;
5985 extern  __attribute__((__nothrow__)) void *malloc(size_t __size )  __attribute__((__malloc__)) ;   5985 extern  __attribute__((__nothrow__)) void *malloc(size_t __size )  __attribute__((__malloc__)) ;
5986 extern  __attribute__((__nothrow__)) void *calloc(size_t __nmemb ,   5986 extern  __attribute__((__nothrow__)) void *calloc(size_t __nmemb ,
5987                                                   size_t __size )  __attribute__((__malloc__)) ;   5987                                                   size_t __size )  __attribute__((__malloc__)) ;
5988 extern  __attribute__((__nothrow__)) void *( __attribute__((__warn_unused_result__)) realloc)(void *__ptr ,   5988 extern  __attribute__((__nothrow__)) void *( __attribute__((__warn_unused_result__)) realloc)(void *__ptr ,
5989                                                                                               size_t __size ) ;   5989                                                                                               size_t __size ) ;
5990 extern  __attribute__((__nothrow__)) void free(void *__ptr ) ;   5990 extern  __attribute__((__nothrow__)) void free(void *__ptr ) ;
5991 extern  __attribute__((__nothrow__)) void cfree(void *__ptr ) ;   5991 extern  __attribute__((__nothrow__)) void cfree(void *__ptr ) ;
5992 extern  __attribute__((__nothrow__)) void *alloca(size_t __size ) ;   5992 extern  __attribute__((__nothrow__)) void *alloca(size_t __size ) ;
5993 extern  __attribute__((__nothrow__)) void *valloc(size_t __size )  __attribute__((__malloc__)) ;   5993 extern  __attribute__((__nothrow__)) void *valloc(size_t __size )  __attribute__((__malloc__)) ;
5994 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) posix_memalign)(void **__memptr ,   5994 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) posix_memalign)(void **__memptr ,
5995                                                                                            size_t __alignment ,   5995                                                                                            size_t __alignment ,
5996                                                                                            size_t __size ) ;   5996                                                                                            size_t __size ) ;
5997 extern  __attribute__((__nothrow__, __noreturn__)) void abort(void) ;   5997 extern  __attribute__((__nothrow__, __noreturn__)) void abort(void) ;
5998 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atexit)(void (*__func)(void) ) ;   5998 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atexit)(void (*__func)(void) ) ;
5999 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) on_exit)(void (*__func)(int __status ,   5999 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) on_exit)(void (*__func)(int __status ,
6000                                                                                                    void *__arg ) ,   6000                                                                                                    void *__arg ) ,
6001                                                                                     void *__arg ) ;   6001                                                                                     void *__arg ) ;
6002 extern  __attribute__((__nothrow__, __noreturn__)) void exit(int __status ) ;   6002 extern  __attribute__((__nothrow__, __noreturn__)) void exit(int __status ) ;
6003 extern  __attribute__((__nothrow__, __noreturn__)) void _Exit(int __status ) ;   6003 extern  __attribute__((__nothrow__, __noreturn__)) void _Exit(int __status ) ;
6004 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getenv)(char const   *__name ) ;   6004 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getenv)(char const   *__name ) ;
6005 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) __secure_getenv)(char const   *__name ) ;   6005 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) __secure_getenv)(char const   *__name ) ;
6006 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) putenv)(char *__string ) ;   6006 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) putenv)(char *__string ) ;
6007 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) setenv)(char const   *__name ,   6007 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) setenv)(char const   *__name ,
6008                                                                                    char const   *__value ,   6008                                                                                    char const   *__value ,
6009                                                                                    int __replace ) ;   6009                                                                                    int __replace ) ;
6010 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unsetenv)(char const   *__name ) ;   6010 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unsetenv)(char const   *__name ) ;
6011 extern  __attribute__((__nothrow__)) int clearenv(void) ;   6011 extern  __attribute__((__nothrow__)) int clearenv(void) ;
6012 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mktemp)(char *__template ) ;   6012 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mktemp)(char *__template ) ;
6013 extern int ( __attribute__((__nonnull__(1))) mkstemp)(char *__template )  __asm__("mkstemp64")  ;   6013 extern int ( __attribute__((__nonnull__(1))) mkstemp)(char *__template )  __asm__("mkstemp64")  ;
6014 extern int ( __attribute__((__nonnull__(1))) mkstemps)(char *__template ,   6014 extern int ( __attribute__((__nonnull__(1))) mkstemps)(char *__template ,
6015                                                        int __suffixlen )  __asm__("mkstemps64")  ;   6015                                                        int __suffixlen )  __asm__("mkstemps64")  ;
6016 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mkdtemp)(char *__template ) ;   6016 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mkdtemp)(char *__template ) ;
6017 extern int system(char const   *__command ) ;   6017 extern int system(char const   *__command ) ;
6018 extern  __attribute__((__nothrow__)) char *realpath(char const   * __restrict  __name ,   6018 extern  __attribute__((__nothrow__)) char *realpath(char const   * __restrict  __name ,
6019                                                     char * __restrict  __resolved ) ;   6019                                                     char * __restrict  __resolved ) ;
6020 extern void *( __attribute__((__nonnull__(1,2,5))) bsearch)(void const   *__key ,   6020 extern void *( __attribute__((__nonnull__(1,2,5))) bsearch)(void const   *__key ,
6021                                                             void const   *__base ,   6021                                                             void const   *__base ,
6022                                                             size_t __nmemb ,   6022                                                             size_t __nmemb ,
6023                                                             size_t __size ,   6023                                                             size_t __size ,
6024                                                             int (*__compar)(void const   * ,   6024                                                             int (*__compar)(void const   * ,
6025                                                                             void const   * ) ) ;   6025                                                                             void const   * ) ) ;
6026 extern void ( __attribute__((__nonnull__(1,4))) qsort)(void *__base ,   6026 extern void ( __attribute__((__nonnull__(1,4))) qsort)(void *__base ,
6027                                                        size_t __nmemb ,   6027                                                        size_t __nmemb ,
6028                                                        size_t __size ,   6028                                                        size_t __size ,
6029                                                        int (*__compar)(void const   * ,   6029                                                        int (*__compar)(void const   * ,
6030                                                                        void const   * ) ) ;   6030                                                                        void const   * ) ) ;
6031 extern  __attribute__((__nothrow__)) int abs(int __x )  __attribute__((__const__)) ;   6031 extern  __attribute__((__nothrow__)) int abs(int __x )  __attribute__((__const__)) ;
6032 extern  __attribute__((__nothrow__)) long labs(long __x )  __attribute__((__const__)) ;   6032 extern  __attribute__((__nothrow__)) long labs(long __x )  __attribute__((__const__)) ;
6033 extern  __attribute__((__nothrow__)) long long llabs(long long __x )  __attribute__((__const__)) ;   6033 extern  __attribute__((__nothrow__)) long long llabs(long long __x )  __attribute__((__const__)) ;
6034 extern  __attribute__((__nothrow__)) div_t div(int __numer , int __denom )  __attribute__((__const__)) ;   6034 extern  __attribute__((__nothrow__)) div_t div(int __numer , int __denom )  __attribute__((__const__)) ;
6035 extern  __attribute__((__nothrow__)) ldiv_t ldiv(long __numer , long __denom )  __attribute__((__const__)) ;   6035 extern  __attribute__((__nothrow__)) ldiv_t ldiv(long __numer , long __denom )  __attribute__((__const__)) ;
6036 extern  __attribute__((__nothrow__)) lldiv_t lldiv(long long __numer ,   6036 extern  __attribute__((__nothrow__)) lldiv_t lldiv(long long __numer ,
6037                                                    long long __denom )  __attribute__((__const__)) ;   6037                                                    long long __denom )  __attribute__((__const__)) ;
6038 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) ecvt)(double __value ,   6038 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) ecvt)(double __value ,
6039                                                                                      int __ndigit ,   6039                                                                                      int __ndigit ,
6040                                                                                      int * __restrict  __decpt ,   6040                                                                                      int * __restrict  __decpt ,
6041                                                                                      int * __restrict  __sign ) ;   6041                                                                                      int * __restrict  __sign ) ;
6042 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) fcvt)(double __value ,   6042 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) fcvt)(double __value ,
6043                                                                                      int __ndigit ,   6043                                                                                      int __ndigit ,
6044                                                                                      int * __restrict  __decpt ,   6044                                                                                      int * __restrict  __decpt ,
6045                                                                                      int * __restrict  __sign ) ;   6045                                                                                      int * __restrict  __sign ) ;
6046 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) gcvt)(double __value ,   6046 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) gcvt)(double __value ,
6047                                                                                    int __ndigit ,   6047                                                                                    int __ndigit ,
6048                                                                                    char *__buf ) ;   6048                                                                                    char *__buf ) ;
6049 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qecvt)(long double __value ,   6049 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qecvt)(long double __value ,
6050                                                                                       int __ndigit ,   6050                                                                                       int __ndigit ,
6051                                                                                       int * __restrict  __decpt ,   6051                                                                                       int * __restrict  __decpt ,
6052                                                                                       int * __restrict  __sign ) ;   6052                                                                                       int * __restrict  __sign ) ;
6053 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qfcvt)(long double __value ,   6053 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qfcvt)(long double __value ,
6054                                                                                       int __ndigit ,   6054                                                                                       int __ndigit ,
6055                                                                                       int * __restrict  __decpt ,   6055                                                                                       int * __restrict  __decpt ,
6056                                                                                       int * __restrict  __sign ) ;   6056                                                                                       int * __restrict  __sign ) ;
6057 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) qgcvt)(long double __value ,   6057 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) qgcvt)(long double __value ,
6058                                                                                     int __ndigit ,   6058                                                                                     int __ndigit ,
6059                                                                                     char *__buf ) ;   6059                                                                                     char *__buf ) ;
6060 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) ecvt_r)(double __value ,   6060 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) ecvt_r)(double __value ,
6061                                                                                        int __ndigit ,   6061                                                                                        int __ndigit ,
6062                                                                                        int * __restrict  __decpt ,   6062                                                                                        int * __restrict  __decpt ,
6063                                                                                        int * __restrict  __sign ,   6063                                                                                        int * __restrict  __sign ,
6064                                                                                        char * __restrict  __buf ,   6064                                                                                        char * __restrict  __buf ,
6065                                                                                        size_t __len ) ;   6065                                                                                        size_t __len ) ;
6066 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) fcvt_r)(double __value ,   6066 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) fcvt_r)(double __value ,
6067                                                                                        int __ndigit ,   6067                                                                                        int __ndigit ,
6068                                                                                        int * __restrict  __decpt ,   6068                                                                                        int * __restrict  __decpt ,
6069                                                                                        int * __restrict  __sign ,   6069                                                                                        int * __restrict  __sign ,
6070                                                                                        char * __restrict  __buf ,   6070                                                                                        char * __restrict  __buf ,
6071                                                                                        size_t __len ) ;   6071                                                                                        size_t __len ) ;
6072 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qecvt_r)(long double __value ,   6072 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qecvt_r)(long double __value ,
6073                                                                                         int __ndigit ,   6073                                                                                         int __ndigit ,
6074                                                                                         int * __restrict  __decpt ,   6074                                                                                         int * __restrict  __decpt ,
6075                                                                                         int * __restrict  __sign ,   6075                                                                                         int * __restrict  __sign ,
6076                                                                                         char * __restrict  __buf ,   6076                                                                                         char * __restrict  __buf ,
6077                                                                                         size_t __len ) ;   6077                                                                                         size_t __len ) ;
6078 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qfcvt_r)(long double __value ,   6078 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qfcvt_r)(long double __value ,
6079                                                                                         int __ndigit ,   6079                                                                                         int __ndigit ,
6080                                                                                         int * __restrict  __decpt ,   6080                                                                                         int * __restrict  __decpt ,
6081                                                                                         int * __restrict  __sign ,   6081                                                                                         int * __restrict  __sign ,
6082                                                                                         char * __restrict  __buf ,   6082                                                                                         char * __restrict  __buf ,
6083                                                                                         size_t __len ) ;   6083                                                                                         size_t __len ) ;
6084 extern  __attribute__((__nothrow__)) int mblen(char const   *__s , size_t __n ) ;   6084 extern  __attribute__((__nothrow__)) int mblen(char const   *__s , size_t __n ) ;
6085 extern  __attribute__((__nothrow__)) int mbtowc(wchar_t * __restrict  __pwc ,   6085 extern  __attribute__((__nothrow__)) int mbtowc(wchar_t * __restrict  __pwc ,
6086                                                 char const   * __restrict  __s ,   6086                                                 char const   * __restrict  __s ,
6087                                                 size_t __n ) ;   6087                                                 size_t __n ) ;
6088 extern  __attribute__((__nothrow__)) int wctomb(char *__s , wchar_t __wchar ) ;   6088 extern  __attribute__((__nothrow__)) int wctomb(char *__s , wchar_t __wchar ) ;
6089 extern  __attribute__((__nothrow__)) size_t mbstowcs(wchar_t * __restrict  __pwcs ,   6089 extern  __attribute__((__nothrow__)) size_t mbstowcs(wchar_t * __restrict  __pwcs ,
6090                                                      char const   * __restrict  __s ,   6090                                                      char const   * __restrict  __s ,
6091                                                      size_t __n ) ;   6091                                                      size_t __n ) ;
6092 extern  __attribute__((__nothrow__)) size_t wcstombs(char * __restrict  __s ,   6092 extern  __attribute__((__nothrow__)) size_t wcstombs(char * __restrict  __s ,
6093                                                      wchar_t const   * __restrict  __pwcs ,   6093                                                      wchar_t const   * __restrict  __pwcs ,
6094                                                      size_t __n ) ;   6094                                                      size_t __n ) ;
6095 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rpmatch)(char const   *__response ) ;   6095 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rpmatch)(char const   *__response ) ;
6096 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) getsubopt)(char ** __restrict  __optionp ,   6096 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) getsubopt)(char ** __restrict  __optionp ,
6097                                                                                           char * const  * __restrict  __tokens ,   6097                                                                                           char * const  * __restrict  __tokens ,
6098                                                                                           char ** __restrict  __valuep ) ;   6098                                                                                           char ** __restrict  __valuep ) ;
6099 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getloadavg)(double *__loadavg ,   6099 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getloadavg)(double *__loadavg ,
6100                                                                                        int __nelem ) ;   6100                                                                                        int __nelem ) ;
6101 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memcpy)(void * __restrict  __dest ,   6101 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memcpy)(void * __restrict  __dest ,
6102                                                                                        void const   * __restrict  __src ,   6102                                                                                        void const   * __restrict  __src ,
6103                                                                                        size_t __n ) ;   6103                                                                                        size_t __n ) ;
6104 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memmove)(void *__dest ,   6104 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memmove)(void *__dest ,
6105                                                                                         void const   *__src ,   6105                                                                                         void const   *__src ,
6106                                                                                         size_t __n ) ;   6106                                                                                         size_t __n ) ;
6107 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memccpy)(void * __restrict  __dest ,   6107 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memccpy)(void * __restrict  __dest ,
6108                                                                                         void const   * __restrict  __src ,   6108                                                                                         void const   * __restrict  __src ,
6109                                                                                         int __c ,   6109                                                                                         int __c ,
6110                                                                                         size_t __n ) ;   6110                                                                                         size_t __n ) ;
6111 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memset)(void *__s ,   6111 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memset)(void *__s ,
6112                                                                                      int __c ,   6112                                                                                      int __c ,
6113                                                                                      size_t __n ) ;   6113                                                                                      size_t __n ) ;
6114 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) memcmp)(void const   *__s1 ,   6114 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) memcmp)(void const   *__s1 ,
6115                                                                                      void const   *__s2 ,   6115                                                                                      void const   *__s2 ,
6116                                                                                      size_t __n )  __attribute__((__pure__)) ;   6116                                                                                      size_t __n )  __attribute__((__pure__)) ;
6117 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memchr)(void const   *__s ,   6117 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memchr)(void const   *__s ,
6118                                                                                      int __c ,   6118                                                                                      int __c ,
6119                                                                                      size_t __n )  __attribute__((__pure__)) ;   6119                                                                                      size_t __n )  __attribute__((__pure__)) ;
6120 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcpy)(char * __restrict  __dest ,   6120 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcpy)(char * __restrict  __dest ,
6121                                                                                        char const   * __restrict  __src ) ;   6121                                                                                        char const   * __restrict  __src ) ;
6122 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncpy)(char * __restrict  __dest ,   6122 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncpy)(char * __restrict  __dest ,
6123                                                                                         char const   * __restrict  __src ,   6123                                                                                         char const   * __restrict  __src ,
6124                                                                                         size_t __n ) ;   6124                                                                                         size_t __n ) ;
6125 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcat)(char * __restrict  __dest ,   6125 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcat)(char * __restrict  __dest ,
6126                                                                                        char const   * __restrict  __src ) ;   6126                                                                                        char const   * __restrict  __src ) ;
6127 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncat)(char * __restrict  __dest ,   6127 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncat)(char * __restrict  __dest ,
6128                                                                                         char const   * __restrict  __src ,   6128                                                                                         char const   * __restrict  __src ,
6129                                                                                         size_t __n ) ;   6129                                                                                         size_t __n ) ;
6130 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcmp)(char const   *__s1 ,   6130 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcmp)(char const   *__s1 ,
6131                                                                                      char const   *__s2 )  __attribute__((__pure__)) ;   6131                                                                                      char const   *__s2 )  __attribute__((__pure__)) ;
6132 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncmp)(char const   *__s1 ,   6132 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncmp)(char const   *__s1 ,
6133                                                                                       char const   *__s2 ,   6133                                                                                       char const   *__s2 ,
6134                                                                                       size_t __n )  __attribute__((__pure__)) ;   6134                                                                                       size_t __n )  __attribute__((__pure__)) ;
6135 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcoll)(char const   *__s1 ,   6135 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcoll)(char const   *__s1 ,
6136                                                                                       char const   *__s2 )  __attribute__((__pure__)) ;   6136                                                                                       char const   *__s2 )  __attribute__((__pure__)) ;
6137 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2))) strxfrm)(char * __restrict  __dest ,   6137 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2))) strxfrm)(char * __restrict  __dest ,
6138                                                                                        char const   * __restrict  __src ,   6138                                                                                        char const   * __restrict  __src ,
6139                                                                                        size_t __n ) ;   6139                                                                                        size_t __n ) ;
6140 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcoll_l)(char const   *__s1 ,   6140 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcoll_l)(char const   *__s1 ,
6141                                                                                           char const   *__s2 ,   6141                                                                                           char const   *__s2 ,
6142                                                                                           __locale_t __l )  __attribute__((__pure__)) ;   6142                                                                                           __locale_t __l )  __attribute__((__pure__)) ;
6143 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2,4))) strxfrm_l)(char *__dest ,   6143 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2,4))) strxfrm_l)(char *__dest ,
6144                                                                                            char const   *__src ,   6144                                                                                            char const   *__src ,
6145                                                                                            size_t __n ,   6145                                                                                            size_t __n ,
6146                                                                                            __locale_t __l ) ;   6146                                                                                            __locale_t __l ) ;
6147 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strdup)(char const   *__s )  __attribute__((__malloc__)) ;   6147 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strdup)(char const   *__s )  __attribute__((__malloc__)) ;
6148 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strndup)(char const   *__string ,   6148 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strndup)(char const   *__string ,
6149                                                                                       size_t __n )  __attribute__((__malloc__)) ;   6149                                                                                       size_t __n )  __attribute__((__malloc__)) ;
6150 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchr)(char const   *__s ,   6150 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchr)(char const   *__s ,
6151                                                                                      int __c )  __attribute__((__pure__)) ;   6151                                                                                      int __c )  __attribute__((__pure__)) ;
6152 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strrchr)(char const   *__s ,   6152 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strrchr)(char const   *__s ,
6153                                                                                       int __c )  __attribute__((__pure__)) ;   6153                                                                                       int __c )  __attribute__((__pure__)) ;
6154 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strcspn)(char const   *__s ,   6154 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strcspn)(char const   *__s ,
6155                                                                                          char const   *__reject )  __attribute__((__pure__)) ;   6155                                                                                          char const   *__reject )  __attribute__((__pure__)) ;
6156 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strspn)(char const   *__s ,   6156 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strspn)(char const   *__s ,
6157                                                                                         char const   *__accept )  __attribute__((__pure__)) ;   6157                                                                                         char const   *__accept )  __attribute__((__pure__)) ;
6158 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strpbrk)(char const   *__s ,   6158 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strpbrk)(char const   *__s ,
6159                                                                                         char const   *__accept )  __attribute__((__pure__)) ;   6159                                                                                         char const   *__accept )  __attribute__((__pure__)) ;
6160 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strstr)(char const   *__haystack ,   6160 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strstr)(char const   *__haystack ,
6161                                                                                        char const   *__needle )  __attribute__((__pure__)) ;   6161                                                                                        char const   *__needle )  __attribute__((__pure__)) ;
6162 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strtok)(char * __restrict  __s ,   6162 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strtok)(char * __restrict  __s ,
6163                                                                                      char const   * __restrict  __delim ) ;   6163                                                                                      char const   * __restrict  __delim ) ;
6164 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) __strtok_r)(char * __restrict  __s ,   6164 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) __strtok_r)(char * __restrict  __s ,
6165                                                                                            char const   * __restrict  __delim ,   6165                                                                                            char const   * __restrict  __delim ,
6166                                                                                            char ** __restrict  __save_ptr ) ;   6166                                                                                            char ** __restrict  __save_ptr ) ;
6167 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) strtok_r)(char * __restrict  __s ,   6167 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) strtok_r)(char * __restrict  __s ,
6168                                                                                          char const   * __restrict  __delim ,   6168                                                                                          char const   * __restrict  __delim ,
6169                                                                                          char ** __restrict  __save_ptr ) ;   6169                                                                                          char ** __restrict  __save_ptr ) ;
6170 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strlen)(char const   *__s )  __attribute__((__pure__)) ;   6170 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strlen)(char const   *__s )  __attribute__((__pure__)) ;
6171 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strnlen)(char const   *__string ,   6171 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strnlen)(char const   *__string ,
6172                                                                                        size_t __maxlen )  __attribute__((__pure__)) ;   6172                                                                                        size_t __maxlen )  __attribute__((__pure__)) ;
6173 extern  __attribute__((__nothrow__)) char *strerror(int __errnum ) ;   6173 extern  __attribute__((__nothrow__)) char *strerror(int __errnum ) ;
6174 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) strerror_r)(int __errnum ,   6174 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) strerror_r)(int __errnum ,
6175                                                                                        char *__buf ,   6175                                                                                        char *__buf ,
6176                                                                                        size_t __buflen )  __asm__("__xpg_strerror_r")  ;   6176                                                                                        size_t __buflen )  __asm__("__xpg_strerror_r")  ;
6177 extern  __attribute__((__nothrow__)) char *strerror_l(int __errnum ,   6177 extern  __attribute__((__nothrow__)) char *strerror_l(int __errnum ,
6178                                                       __locale_t __l ) ;   6178                                                       __locale_t __l ) ;
6179 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) __bzero)(void *__s ,   6179 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) __bzero)(void *__s ,
6180                                                                                      size_t __n ) ;   6180                                                                                      size_t __n ) ;
6181 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) bcopy)(void const   *__src ,   6181 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) bcopy)(void const   *__src ,
6182                                                                                      void *__dest ,   6182                                                                                      void *__dest ,
6183                                                                                      size_t __n ) ;   6183                                                                                      size_t __n ) ;
6184 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) bzero)(void *__s ,   6184 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) bzero)(void *__s ,
6185                                                                                    size_t __n ) ;   6185                                                                                    size_t __n ) ;
6186 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) bcmp)(void const   *__s1 ,   6186 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) bcmp)(void const   *__s1 ,
6187                                                                                    void const   *__s2 ,   6187                                                                                    void const   *__s2 ,
6188                                                                                    size_t __n )  __attribute__((__pure__)) ;   6188                                                                                    size_t __n )  __attribute__((__pure__)) ;
6189 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) index)(char const   *__s ,   6189 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) index)(char const   *__s ,
6190                                                                                     int __c )  __attribute__((__pure__)) ;   6190                                                                                     int __c )  __attribute__((__pure__)) ;
6191 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) rindex)(char const   *__s ,   6191 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) rindex)(char const   *__s ,
6192                                                                                      int __c )  __attribute__((__pure__)) ;   6192                                                                                      int __c )  __attribute__((__pure__)) ;
6193 extern  __attribute__((__nothrow__)) int ffs(int __i )  __attribute__((__const__)) ;   6193 extern  __attribute__((__nothrow__)) int ffs(int __i )  __attribute__((__const__)) ;
6194 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcasecmp)(char const   *__s1 ,   6194 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcasecmp)(char const   *__s1 ,
6195                                                                                          char const   *__s2 )  __attribute__((__pure__)) ;   6195                                                                                          char const   *__s2 )  __attribute__((__pure__)) ;
6196 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncasecmp)(char const   *__s1 ,   6196 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncasecmp)(char const   *__s1 ,
6197                                                                                           char const   *__s2 ,   6197                                                                                           char const   *__s2 ,
6198                                                                                           size_t __n )  __attribute__((__pure__)) ;   6198                                                                                           size_t __n )  __attribute__((__pure__)) ;
6199 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strsep)(char ** __restrict  __stringp ,   6199 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strsep)(char ** __restrict  __stringp ,
6200                                                                                        char const   * __restrict  __delim ) ;   6200                                                                                        char const   * __restrict  __delim ) ;
6201 extern  __attribute__((__nothrow__)) char *strsignal(int __sig ) ;   6201 extern  __attribute__((__nothrow__)) char *strsignal(int __sig ) ;
6202 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpcpy)(char * __restrict  __dest ,   6202 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpcpy)(char * __restrict  __dest ,
6203                                                                                          char const   * __restrict  __src ) ;   6203                                                                                          char const   * __restrict  __src ) ;
6204 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpcpy)(char * __restrict  __dest ,   6204 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpcpy)(char * __restrict  __dest ,
6205                                                                                        char const   * __restrict  __src ) ;   6205                                                                                        char const   * __restrict  __src ) ;
6206 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpncpy)(char * __restrict  __dest ,   6206 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpncpy)(char * __restrict  __dest ,
6207                                                                                           char const   * __restrict  __src ,   6207                                                                                           char const   * __restrict  __src ,
6208                                                                                           size_t __n ) ;   6208                                                                                           size_t __n ) ;
6209 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpncpy)(char * __restrict  __dest ,   6209 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpncpy)(char * __restrict  __dest ,
6210                                                                                         char const   * __restrict  __src ,   6210                                                                                         char const   * __restrict  __src ,
6211                                                                                         size_t __n ) ;   6211                                                                                         size_t __n ) ;
6212 extern void *__rawmemchr(void const   *__s , int __c ) ;   6212 extern void *__rawmemchr(void const   *__s , int __c ) ;
6213 __inline extern size_t __attribute__((__gnu_inline__))  __strcspn_c1(char const   *__s ,   6213 __inline extern size_t __attribute__((__gnu_inline__))  __strcspn_c1(char const   *__s ,
6214                                                                      int __reject ) ;   6214                                                                      int __reject ) ;
6215 __inline extern size_t __attribute__((__gnu_inline__))  __strcspn_c1(char const   *__s ,   6215 __inline extern size_t __attribute__((__gnu_inline__))  __strcspn_c1(char const   *__s ,
6216                                                                      int __reject )   6216                                                                      int __reject )
6217 {   6217 {
6218   register size_t __result ;   6218   register size_t __result ;
6219     6219  
6220   {   6220   {
6221   __result = (size_t )0;   6221   __result = (size_t )0;
6222   while (1) {   6222   while (1) {
6223     if ((int const   )*(__s + __result) != 0) {   6223     if ((int const   )*(__s + __result) != 0) {
6224       if ((int const   )*(__s + __result) != (int const   )__reject) {   6224       if ((int const   )*(__s + __result) != (int const   )__reject) {
6225     6225  
6226       } else {   6226       } else {
6227         break;   6227         break;
6228       }   6228       }
6229     } else {   6229     } else {
6230       break;   6230       break;
6231     }   6231     }
6232     __result ++;   6232     __result ++;
6233   }   6233   }
6234   return ((size_t __attribute__((__gnu_inline__))  )__result);   6234   return ((size_t __attribute__((__gnu_inline__))  )__result);
6235 }   6235 }
6236 }   6236 }
6237 __inline extern size_t __attribute__((__gnu_inline__))  __strcspn_c2(char const   *__s ,   6237 __inline extern size_t __attribute__((__gnu_inline__))  __strcspn_c2(char const   *__s ,
6238                                                                      int __reject1 ,   6238                                                                      int __reject1 ,
6239                                                                      int __reject2 ) ;   6239                                                                      int __reject2 ) ;
6240 __inline extern size_t __attribute__((__gnu_inline__))  __strcspn_c2(char const   *__s ,   6240 __inline extern size_t __attribute__((__gnu_inline__))  __strcspn_c2(char const   *__s ,
6241                                                                      int __reject1 ,   6241                                                                      int __reject1 ,
6242                                                                      int __reject2 )   6242                                                                      int __reject2 )
6243 {   6243 {
6244   register size_t __result ;   6244   register size_t __result ;
6245     6245  
6246   {   6246   {
6247   __result = (size_t )0;   6247   __result = (size_t )0;
6248   while (1) {   6248   while (1) {
6249     if ((int const   )*(__s + __result) != 0) {   6249     if ((int const   )*(__s + __result) != 0) {
6250       if ((int const   )*(__s + __result) != (int const   )__reject1) {   6250       if ((int const   )*(__s + __result) != (int const   )__reject1) {
6251         if ((int const   )*(__s + __result) != (int const   )__reject2) {   6251         if ((int const   )*(__s + __result) != (int const   )__reject2) {
6252     6252  
6253         } else {   6253         } else {
6254           break;   6254           break;
6255         }   6255         }
6256       } else {   6256       } else {
6257         break;   6257         break;
6258       }   6258       }
6259     } else {   6259     } else {
6260       break;   6260       break;
6261     }   6261     }
6262     __result ++;   6262     __result ++;
6263   }   6263   }
6264   return ((size_t __attribute__((__gnu_inline__))  )__result);   6264   return ((size_t __attribute__((__gnu_inline__))  )__result);
6265 }   6265 }
6266 }   6266 }
6267 __inline extern size_t __attribute__((__gnu_inline__))  __strcspn_c3(char const   *__s ,   6267 __inline extern size_t __attribute__((__gnu_inline__))  __strcspn_c3(char const   *__s ,
6268                                                                      int __reject1 ,   6268                                                                      int __reject1 ,
6269                                                                      int __reject2 ,   6269                                                                      int __reject2 ,
6270                                                                      int __reject3 ) ;   6270                                                                      int __reject3 ) ;
6271 __inline extern size_t __attribute__((__gnu_inline__))  __strcspn_c3(char const   *__s ,   6271 __inline extern size_t __attribute__((__gnu_inline__))  __strcspn_c3(char const   *__s ,
6272                                                                      int __reject1 ,   6272                                                                      int __reject1 ,
6273                                                                      int __reject2 ,   6273                                                                      int __reject2 ,
6274                                                                      int __reject3 )   6274                                                                      int __reject3 )
6275 {   6275 {
6276   register size_t __result ;   6276   register size_t __result ;
6277     6277  
6278   {   6278   {
6279   __result = (size_t )0;   6279   __result = (size_t )0;
6280   while (1) {   6280   while (1) {
6281     if ((int const   )*(__s + __result) != 0) {   6281     if ((int const   )*(__s + __result) != 0) {
6282       if ((int const   )*(__s + __result) != (int const   )__reject1) {   6282       if ((int const   )*(__s + __result) != (int const   )__reject1) {
6283         if ((int const   )*(__s + __result) != (int const   )__reject2) {   6283         if ((int const   )*(__s + __result) != (int const   )__reject2) {
6284           if ((int const   )*(__s + __result) != (int const   )__reject3) {   6284           if ((int const   )*(__s + __result) != (int const   )__reject3) {
6285     6285  
6286           } else {   6286           } else {
6287             break;   6287             break;
6288           }   6288           }
6289         } else {   6289         } else {
6290           break;   6290           break;
6291         }   6291         }
6292       } else {   6292       } else {
6293         break;   6293         break;
6294       }   6294       }
6295     } else {   6295     } else {
6296       break;   6296       break;
6297     }   6297     }
6298     __result ++;   6298     __result ++;
6299   }   6299   }
6300   return ((size_t __attribute__((__gnu_inline__))  )__result);   6300   return ((size_t __attribute__((__gnu_inline__))  )__result);
6301 }   6301 }
6302 }   6302 }
6303 __inline extern size_t __attribute__((__gnu_inline__))  __strspn_c1(char const   *__s ,   6303 __inline extern size_t __attribute__((__gnu_inline__))  __strspn_c1(char const   *__s ,
6304                                                                     int __accept ) ;   6304                                                                     int __accept ) ;
6305 __inline extern size_t __attribute__((__gnu_inline__))  __strspn_c1(char const   *__s ,   6305 __inline extern size_t __attribute__((__gnu_inline__))  __strspn_c1(char const   *__s ,
6306                                                                     int __accept )   6306                                                                     int __accept )
6307 {   6307 {
6308   register size_t __result ;   6308   register size_t __result ;
6309     6309  
6310   {   6310   {
6311   __result = (size_t )0;   6311   __result = (size_t )0;
6312   while ((int const   )*(__s + __result) == (int const   )__accept) {   6312   while ((int const   )*(__s + __result) == (int const   )__accept) {
6313     __result ++;   6313     __result ++;
6314   }   6314   }
6315   return ((size_t __attribute__((__gnu_inline__))  )__result);   6315   return ((size_t __attribute__((__gnu_inline__))  )__result);
6316 }   6316 }
6317 }   6317 }
6318 __inline extern size_t __attribute__((__gnu_inline__))  __strspn_c2(char const   *__s ,   6318 __inline extern size_t __attribute__((__gnu_inline__))  __strspn_c2(char const   *__s ,
6319                                                                     int __accept1 ,   6319                                                                     int __accept1 ,
6320                                                                     int __accept2 ) ;   6320                                                                     int __accept2 ) ;
6321 __inline extern size_t __attribute__((__gnu_inline__))  __strspn_c2(char const   *__s ,   6321 __inline extern size_t __attribute__((__gnu_inline__))  __strspn_c2(char const   *__s ,
6322                                                                     int __accept1 ,   6322                                                                     int __accept1 ,
6323                                                                     int __accept2 )   6323                                                                     int __accept2 )
6324 {   6324 {
6325   register size_t __result ;   6325   register size_t __result ;
6326     6326  
6327   {   6327   {
6328   __result = (size_t )0;   6328   __result = (size_t )0;
6329   while (1) {   6329   while (1) {
6330     if ((int const   )*(__s + __result) == (int const   )__accept1) {   6330     if ((int const   )*(__s + __result) == (int const   )__accept1) {
6331     6331  
6332     } else   6332     } else
6333     if ((int const   )*(__s + __result) == (int const   )__accept2) {   6333     if ((int const   )*(__s + __result) == (int const   )__accept2) {
6334     6334  
6335     } else {   6335     } else {
6336       break;   6336       break;
6337     }   6337     }
6338     __result ++;   6338     __result ++;
6339   }   6339   }
6340   return ((size_t __attribute__((__gnu_inline__))  )__result);   6340   return ((size_t __attribute__((__gnu_inline__))  )__result);
6341 }   6341 }
6342 }   6342 }
6343 __inline extern size_t __attribute__((__gnu_inline__))  __strspn_c3(char const   *__s ,   6343 __inline extern size_t __attribute__((__gnu_inline__))  __strspn_c3(char const   *__s ,
6344                                                                     int __accept1 ,   6344                                                                     int __accept1 ,
6345                                                                     int __accept2 ,   6345                                                                     int __accept2 ,
6346                                                                     int __accept3 ) ;   6346                                                                     int __accept3 ) ;
6347 __inline extern size_t __attribute__((__gnu_inline__))  __strspn_c3(char const   *__s ,   6347 __inline extern size_t __attribute__((__gnu_inline__))  __strspn_c3(char const   *__s ,
6348                                                                     int __accept1 ,   6348                                                                     int __accept1 ,
6349                                                                     int __accept2 ,   6349                                                                     int __accept2 ,
6350                                                                     int __accept3 )   6350                                                                     int __accept3 )
6351 {   6351 {
6352   register size_t __result ;   6352   register size_t __result ;
6353     6353  
6354   {   6354   {
6355   __result = (size_t )0;   6355   __result = (size_t )0;
6356   while (1) {   6356   while (1) {
6357     if ((int const   )*(__s + __result) == (int const   )__accept1) {   6357     if ((int const   )*(__s + __result) == (int const   )__accept1) {
6358     6358  
6359     } else   6359     } else
6360     if ((int const   )*(__s + __result) == (int const   )__accept2) {   6360     if ((int const   )*(__s + __result) == (int const   )__accept2) {
6361     6361  
6362     } else   6362     } else
6363     if ((int const   )*(__s + __result) == (int const   )__accept3) {   6363     if ((int const   )*(__s + __result) == (int const   )__accept3) {
6364     6364  
6365     } else {   6365     } else {
6366       break;   6366       break;
6367     }   6367     }
6368     __result ++;   6368     __result ++;
6369   }   6369   }
6370   return ((size_t __attribute__((__gnu_inline__))  )__result);   6370   return ((size_t __attribute__((__gnu_inline__))  )__result);
6371 }   6371 }
6372 }   6372 }
6373 __inline extern char __attribute__((__gnu_inline__))  *__strpbrk_c2(char const   *__s ,   6373 __inline extern char __attribute__((__gnu_inline__))  *__strpbrk_c2(char const   *__s ,
6374                                                                     int __accept1 ,   6374                                                                     int __accept1 ,
6375                                                                     int __accept2 ) ;   6375                                                                     int __accept2 ) ;
6376 __inline extern char __attribute__((__gnu_inline__))  *__strpbrk_c2(char const   *__s ,   6376 __inline extern char __attribute__((__gnu_inline__))  *__strpbrk_c2(char const   *__s ,
6377                                                                     int __accept1 ,   6377                                                                     int __accept1 ,
6378                                                                     int __accept2 )   6378                                                                     int __accept2 )
6379 {   6379 {
6380   char *tmp ;   6380   char *tmp ;
6381     6381  
6382   {   6382   {
6383   while (1) {   6383   while (1) {
6384     if ((int const   )*__s != 0) {   6384     if ((int const   )*__s != 0) {
6385       if ((int const   )*__s != (int const   )__accept1) {   6385       if ((int const   )*__s != (int const   )__accept1) {
6386         if ((int const   )*__s != (int const   )__accept2) {   6386         if ((int const   )*__s != (int const   )__accept2) {
6387     6387  
6388         } else {   6388         } else {
6389           break;   6389           break;
6390         }   6390         }
6391       } else {   6391       } else {
6392         break;   6392         break;
6393       }   6393       }
6394     } else {   6394     } else {
6395       break;   6395       break;
6396     }   6396     }
6397     __s ++;   6397     __s ++;
6398   }   6398   }
6399   if ((int const   )*__s == 0) {   6399   if ((int const   )*__s == 0) {
6400     tmp = (char *)((void *)0);   6400     tmp = (char *)((void *)0);
6401   } else {   6401   } else {
6402     tmp = (char *)((size_t )__s);   6402     tmp = (char *)((size_t )__s);
6403   }   6403   }
6404   return ((char __attribute__((__gnu_inline__))  *)tmp);   6404   return ((char __attribute__((__gnu_inline__))  *)tmp);
6405 }   6405 }
6406 }   6406 }
6407 __inline extern char __attribute__((__gnu_inline__))  *__strpbrk_c3(char const   *__s ,   6407 __inline extern char __attribute__((__gnu_inline__))  *__strpbrk_c3(char const   *__s ,
6408                                                                     int __accept1 ,   6408                                                                     int __accept1 ,
6409                                                                     int __accept2 ,   6409                                                                     int __accept2 ,
6410                                                                     int __accept3 ) ;   6410                                                                     int __accept3 ) ;
6411 __inline extern char __attribute__((__gnu_inline__))  *__strpbrk_c3(char const   *__s ,   6411 __inline extern char __attribute__((__gnu_inline__))  *__strpbrk_c3(char const   *__s ,
6412                                                                     int __accept1 ,   6412                                                                     int __accept1 ,
6413                                                                     int __accept2 ,   6413                                                                     int __accept2 ,
6414                                                                     int __accept3 )   6414                                                                     int __accept3 )
6415 {   6415 {
6416   char *tmp ;   6416   char *tmp ;
6417     6417  
6418   {   6418   {
6419   while (1) {   6419   while (1) {
6420     if ((int const   )*__s != 0) {   6420     if ((int const   )*__s != 0) {
6421       if ((int const   )*__s != (int const   )__accept1) {   6421       if ((int const   )*__s != (int const   )__accept1) {
6422         if ((int const   )*__s != (int const   )__accept2) {   6422         if ((int const   )*__s != (int const   )__accept2) {
6423           if ((int const   )*__s != (int const   )__accept3) {   6423           if ((int const   )*__s != (int const   )__accept3) {
6424     6424  
6425           } else {   6425           } else {
6426             break;   6426             break;
6427           }   6427           }
6428         } else {   6428         } else {
6429           break;   6429           break;
6430         }   6430         }
6431       } else {   6431       } else {
6432         break;   6432         break;
6433       }   6433       }
6434     } else {   6434     } else {
6435       break;   6435       break;
6436     }   6436     }
6437     __s ++;   6437     __s ++;
6438   }   6438   }
6439   if ((int const   )*__s == 0) {   6439   if ((int const   )*__s == 0) {
6440     tmp = (char *)((void *)0);   6440     tmp = (char *)((void *)0);
6441   } else {   6441   } else {
6442     tmp = (char *)((size_t )__s);   6442     tmp = (char *)((size_t )__s);
6443   }   6443   }
6444   return ((char __attribute__((__gnu_inline__))  *)tmp);   6444   return ((char __attribute__((__gnu_inline__))  *)tmp);
6445 }   6445 }
6446 }   6446 }
6447 __inline extern char __attribute__((__gnu_inline__))  *__strtok_r_1c(char *__s ,   6447 __inline extern char __attribute__((__gnu_inline__))  *__strtok_r_1c(char *__s ,
6448                                                                      char __sep ,   6448                                                                      char __sep ,
6449                                                                      char **__nextp ) ;   6449                                                                      char **__nextp ) ;
6450 __inline extern char __attribute__((__gnu_inline__))  *__strtok_r_1c(char *__s ,   6450 __inline extern char __attribute__((__gnu_inline__))  *__strtok_r_1c(char *__s ,
6451                                                                      char __sep ,   6451                                                                      char __sep ,
6452                                                                      char **__nextp )   6452                                                                      char **__nextp )
6453 {   6453 {
6454   char *__result ;   6454   char *__result ;
6455   char *tmp ;   6455   char *tmp ;
6456   char *tmp___0 ;   6456   char *tmp___0 ;
6457     6457  
6458   {   6458   {
6459   if ((unsigned int )__s == (unsigned int )((void *)0)) {   6459   if ((unsigned int )__s == (unsigned int )((void *)0)) {
6460     __s = *__nextp;   6460     __s = *__nextp;
6461   } else {   6461   } else {
6462     6462  
6463   }   6463   }
6464   while ((int )*__s == (int )__sep) {   6464   while ((int )*__s == (int )__sep) {
6465     __s ++;   6465     __s ++;
6466   }   6466   }
6467   __result = (char *)((void *)0);   6467   __result = (char *)((void *)0);
6468   if ((int )*__s != 0) {   6468   if ((int )*__s != 0) {
6469     tmp = __s;   6469     tmp = __s;
6470     __s ++;   6470     __s ++;
6471     __result = tmp;   6471     __result = tmp;
6472     while ((int )*__s != 0) {   6472     while ((int )*__s != 0) {
6473       tmp___0 = __s;   6473       tmp___0 = __s;
6474       __s ++;   6474       __s ++;
6475       if ((int )*tmp___0 == (int )__sep) {   6475       if ((int )*tmp___0 == (int )__sep) {
6476         *(__s + -1) = (char )'\000';   6476         *(__s + -1) = (char )'\000';
6477         break;   6477         break;
6478       } else {   6478       } else {
6479     6479  
6480       }   6480       }
6481     }   6481     }
6482   } else {   6482   } else {
6483     6483  
6484   }   6484   }
6485   *__nextp = __s;   6485   *__nextp = __s;
6486   return ((char __attribute__((__gnu_inline__))  *)__result);   6486   return ((char __attribute__((__gnu_inline__))  *)__result);
6487 }   6487 }
6488 }   6488 }
6489 extern char *__strsep_g(char **__stringp , char const   *__delim ) ;   6489 extern char *__strsep_g(char **__stringp , char const   *__delim ) ;
6490 __inline extern char __attribute__((__gnu_inline__))  *__strsep_1c(char **__s ,   6490 __inline extern char __attribute__((__gnu_inline__))  *__strsep_1c(char **__s ,
6491                                                                    char __reject ) ;   6491                                                                    char __reject ) ;
6492 __inline extern char __attribute__((__gnu_inline__))  *__strsep_1c(char **__s ,   6492 __inline extern char __attribute__((__gnu_inline__))  *__strsep_1c(char **__s ,
6493                                                                    char __reject )   6493                                                                    char __reject )
6494 {   6494 {
6495   register char *__retval ;   6495   register char *__retval ;
6496   char *tmp ;   6496   char *tmp ;
6497   char *tmp___0 ;   6497   char *tmp___0 ;
6498   void *tmp___1 ;   6498   void *tmp___1 ;
6499   char *tmp___2 ;   6499   char *tmp___2 ;
6500     6500  
6501   {   6501   {
6502   __retval = *__s;   6502   __retval = *__s;
6503   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   6503   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
6504     tmp___2 = __builtin_strchr(__retval, (int )__reject);   6504     tmp___2 = __builtin_strchr(__retval, (int )__reject);
6505     tmp___0 = tmp___2;   6505     tmp___0 = tmp___2;
6506     *__s = tmp___0;   6506     *__s = tmp___0;
6507     if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {   6507     if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {
6508       tmp = *__s;   6508       tmp = *__s;
6509       (*__s) ++;   6509       (*__s) ++;
6510       *tmp = (char )'\000';   6510       *tmp = (char )'\000';
6511     } else {   6511     } else {
6512     6512  
6513     }   6513     }
6514   } else {   6514   } else {
6515     6515  
6516   }   6516   }
6517   return ((char __attribute__((__gnu_inline__))  *)__retval);   6517   return ((char __attribute__((__gnu_inline__))  *)__retval);
6518 }   6518 }
6519 }   6519 }
6520 __inline extern char __attribute__((__gnu_inline__))  *__strsep_2c(char **__s ,   6520 __inline extern char __attribute__((__gnu_inline__))  *__strsep_2c(char **__s ,
6521                                                                    char __reject1 ,   6521                                                                    char __reject1 ,
6522                                                                    char __reject2 ) ;   6522                                                                    char __reject2 ) ;
6523 __inline extern char __attribute__((__gnu_inline__))  *__strsep_2c(char **__s ,   6523 __inline extern char __attribute__((__gnu_inline__))  *__strsep_2c(char **__s ,
6524                                                                    char __reject1 ,   6524                                                                    char __reject1 ,
6525                                                                    char __reject2 )   6525                                                                    char __reject2 )
6526 {   6526 {
6527   register char *__retval ;   6527   register char *__retval ;
6528   register char *__cp ;   6528   register char *__cp ;
6529   char *tmp ;   6529   char *tmp ;
6530     6530  
6531   {   6531   {
6532   __retval = *__s;   6532   __retval = *__s;
6533   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   6533   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
6534     __cp = __retval;   6534     __cp = __retval;
6535     while (1) {   6535     while (1) {
6536       if ((int )*__cp == 0) {   6536       if ((int )*__cp == 0) {
6537         __cp = (char *)((void *)0);   6537         __cp = (char *)((void *)0);
6538         break;   6538         break;
6539       } else {   6539       } else {
6540     6540  
6541       }   6541       }
6542       if ((int )*__cp == (int )__reject1) {   6542       if ((int )*__cp == (int )__reject1) {
6543         tmp = __cp;   6543         tmp = __cp;
6544         __cp ++;   6544         __cp ++;
6545         *tmp = (char )'\000';   6545         *tmp = (char )'\000';
6546         break;   6546         break;
6547       } else   6547       } else
6548       if ((int )*__cp == (int )__reject2) {   6548       if ((int )*__cp == (int )__reject2) {
6549         tmp = __cp;   6549         tmp = __cp;
6550         __cp ++;   6550         __cp ++;
6551         *tmp = (char )'\000';   6551         *tmp = (char )'\000';
6552         break;   6552         break;
6553       } else {   6553       } else {
6554     6554  
6555       }   6555       }
6556       __cp ++;   6556       __cp ++;
6557     }   6557     }
6558     *__s = __cp;   6558     *__s = __cp;
6559   } else {   6559   } else {
6560     6560  
6561   }   6561   }
6562   return ((char __attribute__((__gnu_inline__))  *)__retval);   6562   return ((char __attribute__((__gnu_inline__))  *)__retval);
6563 }   6563 }
6564 }   6564 }
6565 __inline extern char __attribute__((__gnu_inline__))  *__strsep_3c(char **__s ,   6565 __inline extern char __attribute__((__gnu_inline__))  *__strsep_3c(char **__s ,
6566                                                                    char __reject1 ,   6566                                                                    char __reject1 ,
6567                                                                    char __reject2 ,   6567                                                                    char __reject2 ,
6568                                                                    char __reject3 ) ;   6568                                                                    char __reject3 ) ;
6569 __inline extern char __attribute__((__gnu_inline__))  *__strsep_3c(char **__s ,   6569 __inline extern char __attribute__((__gnu_inline__))  *__strsep_3c(char **__s ,
6570                                                                    char __reject1 ,   6570                                                                    char __reject1 ,
6571                                                                    char __reject2 ,   6571                                                                    char __reject2 ,
6572                                                                    char __reject3 )   6572                                                                    char __reject3 )
6573 {   6573 {
6574   register char *__retval ;   6574   register char *__retval ;
6575   register char *__cp ;   6575   register char *__cp ;
6576   char *tmp ;   6576   char *tmp ;
6577     6577  
6578   {   6578   {
6579   __retval = *__s;   6579   __retval = *__s;
6580   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   6580   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
6581     __cp = __retval;   6581     __cp = __retval;
6582     while (1) {   6582     while (1) {
6583       if ((int )*__cp == 0) {   6583       if ((int )*__cp == 0) {
6584         __cp = (char *)((void *)0);   6584         __cp = (char *)((void *)0);
6585         break;   6585         break;
6586       } else {   6586       } else {
6587     6587  
6588       }   6588       }
6589       if ((int )*__cp == (int )__reject1) {   6589       if ((int )*__cp == (int )__reject1) {
6590         tmp = __cp;   6590         tmp = __cp;
6591         __cp ++;   6591         __cp ++;
6592         *tmp = (char )'\000';   6592         *tmp = (char )'\000';
6593         break;   6593         break;
6594       } else   6594       } else
6595       if ((int )*__cp == (int )__reject2) {   6595       if ((int )*__cp == (int )__reject2) {
6596         tmp = __cp;   6596         tmp = __cp;
6597         __cp ++;   6597         __cp ++;
6598         *tmp = (char )'\000';   6598         *tmp = (char )'\000';
6599         break;   6599         break;
6600       } else   6600       } else
6601       if ((int )*__cp == (int )__reject3) {   6601       if ((int )*__cp == (int )__reject3) {
6602         tmp = __cp;   6602         tmp = __cp;
6603         __cp ++;   6603         __cp ++;
6604         *tmp = (char )'\000';   6604         *tmp = (char )'\000';
6605         break;   6605         break;
6606       } else {   6606       } else {
6607     6607  
6608       }   6608       }
6609       __cp ++;   6609       __cp ++;
6610     }   6610     }
6611     *__s = __cp;   6611     *__s = __cp;
6612   } else {   6612   } else {
6613     6613  
6614   }   6614   }
6615   return ((char __attribute__((__gnu_inline__))  *)__retval);   6615   return ((char __attribute__((__gnu_inline__))  *)__retval);
6616 }   6616 }
6617 }   6617 }
6618 extern  __attribute__((__nothrow__)) char *__strdup(char const   *__string )  __attribute__((__malloc__)) ;   6618 extern  __attribute__((__nothrow__)) char *__strdup(char const   *__string )  __attribute__((__malloc__)) ;
6619 extern  __attribute__((__nothrow__)) char *__strndup(char const   *__string ,   6619 extern  __attribute__((__nothrow__)) char *__strndup(char const   *__string ,
6620                                                      size_t __n )  __attribute__((__malloc__)) ;   6620                                                      size_t __n )  __attribute__((__malloc__)) ;
6621 extern  __attribute__((__nothrow__)) clock_t clock(void) ;   6621 extern  __attribute__((__nothrow__)) clock_t clock(void) ;
6622 extern  __attribute__((__nothrow__)) time_t time(time_t *__timer ) ;   6622 extern  __attribute__((__nothrow__)) time_t time(time_t *__timer ) ;
6623 extern  __attribute__((__nothrow__)) double difftime(time_t __time1 ,   6623 extern  __attribute__((__nothrow__)) double difftime(time_t __time1 ,
6624                                                      time_t __time0 )  __attribute__((__const__)) ;   6624                                                      time_t __time0 )  __attribute__((__const__)) ;
6625 extern  __attribute__((__nothrow__)) time_t mktime(struct tm *__tp ) ;   6625 extern  __attribute__((__nothrow__)) time_t mktime(struct tm *__tp ) ;
6626 extern  __attribute__((__nothrow__)) size_t strftime(char * __restrict  __s ,   6626 extern  __attribute__((__nothrow__)) size_t strftime(char * __restrict  __s ,
6627                                                      size_t __maxsize ,   6627                                                      size_t __maxsize ,
6628                                                      char const   * __restrict  __format ,   6628                                                      char const   * __restrict  __format ,
6629                                                      struct tm  const  * __restrict  __tp ) ;   6629                                                      struct tm  const  * __restrict  __tp ) ;
6630 extern  __attribute__((__nothrow__)) size_t strftime_l(char * __restrict  __s ,   6630 extern  __attribute__((__nothrow__)) size_t strftime_l(char * __restrict  __s ,
6631                                                        size_t __maxsize ,   6631                                                        size_t __maxsize ,
6632                                                        char const   * __restrict  __format ,   6632                                                        char const   * __restrict  __format ,
6633                                                        struct tm  const  * __restrict  __tp ,   6633                                                        struct tm  const  * __restrict  __tp ,
6634                                                        __locale_t __loc ) ;   6634                                                        __locale_t __loc ) ;
6635 extern  __attribute__((__nothrow__)) struct tm *gmtime(time_t const   *__timer ) ;   6635 extern  __attribute__((__nothrow__)) struct tm *gmtime(time_t const   *__timer ) ;
6636 extern  __attribute__((__nothrow__)) struct tm *localtime(time_t const   *__timer ) ;   6636 extern  __attribute__((__nothrow__)) struct tm *localtime(time_t const   *__timer ) ;
6637 extern  __attribute__((__nothrow__)) struct tm *gmtime_r(time_t const   * __restrict  __timer ,   6637 extern  __attribute__((__nothrow__)) struct tm *gmtime_r(time_t const   * __restrict  __timer ,
6638                                                          struct tm * __restrict  __tp ) ;   6638                                                          struct tm * __restrict  __tp ) ;
6639 extern  __attribute__((__nothrow__)) struct tm *localtime_r(time_t const   * __restrict  __timer ,   6639 extern  __attribute__((__nothrow__)) struct tm *localtime_r(time_t const   * __restrict  __timer ,
6640                                                             struct tm * __restrict  __tp ) ;   6640                                                             struct tm * __restrict  __tp ) ;
6641 extern  __attribute__((__nothrow__)) char *asctime(struct tm  const  *__tp ) ;   6641 extern  __attribute__((__nothrow__)) char *asctime(struct tm  const  *__tp ) ;
6642 extern  __attribute__((__nothrow__)) char *ctime(time_t const   *__timer ) ;   6642 extern  __attribute__((__nothrow__)) char *ctime(time_t const   *__timer ) ;
6643 extern  __attribute__((__nothrow__)) char *asctime_r(struct tm  const  * __restrict  __tp ,   6643 extern  __attribute__((__nothrow__)) char *asctime_r(struct tm  const  * __restrict  __tp ,
6644                                                      char * __restrict  __buf ) ;   6644                                                      char * __restrict  __buf ) ;
6645 extern  __attribute__((__nothrow__)) char *ctime_r(time_t const   * __restrict  __timer ,   6645 extern  __attribute__((__nothrow__)) char *ctime_r(time_t const   * __restrict  __timer ,
6646                                                    char * __restrict  __buf ) ;   6646                                                    char * __restrict  __buf ) ;
6647 extern char *__tzname[2] ;   6647 extern char *__tzname[2] ;
6648 extern int __daylight ;   6648 extern int __daylight ;
6649 extern long __timezone ;   6649 extern long __timezone ;
6650 extern char *tzname[2] ;   6650 extern char *tzname[2] ;
6651 extern  __attribute__((__nothrow__)) void tzset(void) ;   6651 extern  __attribute__((__nothrow__)) void tzset(void) ;
6652 extern int daylight ;   6652 extern int daylight ;
6653 extern long timezone ;   6653 extern long timezone ;
6654 extern  __attribute__((__nothrow__)) int stime(time_t const   *__when ) ;   6654 extern  __attribute__((__nothrow__)) int stime(time_t const   *__when ) ;
6655 extern  __attribute__((__nothrow__)) time_t timegm(struct tm *__tp ) ;   6655 extern  __attribute__((__nothrow__)) time_t timegm(struct tm *__tp ) ;
6656 extern  __attribute__((__nothrow__)) time_t timelocal(struct tm *__tp ) ;   6656 extern  __attribute__((__nothrow__)) time_t timelocal(struct tm *__tp ) ;
6657 extern  __attribute__((__nothrow__)) int dysize(int __year )  __attribute__((__const__)) ;   6657 extern  __attribute__((__nothrow__)) int dysize(int __year )  __attribute__((__const__)) ;
6658 extern int nanosleep(struct timespec  const  *__requested_time ,   6658 extern int nanosleep(struct timespec  const  *__requested_time ,
6659                      struct timespec *__remaining ) ;   6659                      struct timespec *__remaining ) ;
6660 extern  __attribute__((__nothrow__)) int clock_getres(clockid_t __clock_id ,   6660 extern  __attribute__((__nothrow__)) int clock_getres(clockid_t __clock_id ,
6661                                                       struct timespec *__res ) ;   6661                                                       struct timespec *__res ) ;
6662 extern  __attribute__((__nothrow__)) int clock_gettime(clockid_t __clock_id ,   6662 extern  __attribute__((__nothrow__)) int clock_gettime(clockid_t __clock_id ,
6663                                                        struct timespec *__tp ) ;   6663                                                        struct timespec *__tp ) ;
6664 extern  __attribute__((__nothrow__)) int clock_settime(clockid_t __clock_id ,   6664 extern  __attribute__((__nothrow__)) int clock_settime(clockid_t __clock_id ,
6665                                                        struct timespec  const  *__tp ) ;   6665                                                        struct timespec  const  *__tp ) ;
6666 extern int clock_nanosleep(clockid_t __clock_id , int __flags ,   6666 extern int clock_nanosleep(clockid_t __clock_id , int __flags ,
6667                            struct timespec  const  *__req ,   6667                            struct timespec  const  *__req ,
6668                            struct timespec *__rem ) ;   6668                            struct timespec *__rem ) ;
6669 extern  __attribute__((__nothrow__)) int clock_getcpuclockid(pid_t __pid ,   6669 extern  __attribute__((__nothrow__)) int clock_getcpuclockid(pid_t __pid ,
6670                                                              clockid_t *__clock_id ) ;   6670                                                              clockid_t *__clock_id ) ;
6671 extern  __attribute__((__nothrow__)) int timer_create(clockid_t __clock_id ,   6671 extern  __attribute__((__nothrow__)) int timer_create(clockid_t __clock_id ,
6672                                                       struct sigevent * __restrict  __evp ,   6672                                                       struct sigevent * __restrict  __evp ,
6673                                                       timer_t * __restrict  __timerid ) ;   6673                                                       timer_t * __restrict  __timerid ) ;
6674 extern  __attribute__((__nothrow__)) int timer_delete(timer_t __timerid ) ;   6674 extern  __attribute__((__nothrow__)) int timer_delete(timer_t __timerid ) ;
6675 extern  __attribute__((__nothrow__)) int timer_settime(timer_t __timerid ,   6675 extern  __attribute__((__nothrow__)) int timer_settime(timer_t __timerid ,
6676                                                        int __flags ,   6676                                                        int __flags ,
6677                                                        struct itimerspec  const  * __restrict  __value ,   6677                                                        struct itimerspec  const  * __restrict  __value ,
6678                                                        struct itimerspec * __restrict  __ovalue ) ;   6678                                                        struct itimerspec * __restrict  __ovalue ) ;
6679 extern  __attribute__((__nothrow__)) int timer_gettime(timer_t __timerid ,   6679 extern  __attribute__((__nothrow__)) int timer_gettime(timer_t __timerid ,
6680                                                        struct itimerspec *__value ) ;   6680                                                        struct itimerspec *__value ) ;
6681 extern  __attribute__((__nothrow__)) int timer_getoverrun(timer_t __timerid ) ;   6681 extern  __attribute__((__nothrow__)) int timer_getoverrun(timer_t __timerid ) ;
6682 extern  __attribute__((__nothrow__)) unsigned short const   **__ctype_b_loc(void)  __attribute__((__const__)) ;   6682 extern  __attribute__((__nothrow__)) unsigned short const   **__ctype_b_loc(void)  __attribute__((__const__)) ;
6683 extern  __attribute__((__nothrow__)) __int32_t const   **__ctype_tolower_loc(void)  __attribute__((__const__)) ;   6683 extern  __attribute__((__nothrow__)) __int32_t const   **__ctype_tolower_loc(void)  __attribute__((__const__)) ;
6684 extern  __attribute__((__nothrow__)) __int32_t const   **__ctype_toupper_loc(void)  __attribute__((__const__)) ;   6684 extern  __attribute__((__nothrow__)) __int32_t const   **__ctype_toupper_loc(void)  __attribute__((__const__)) ;
6685 extern  __attribute__((__nothrow__)) int isalnum(int  ) ;   6685 extern  __attribute__((__nothrow__)) int isalnum(int  ) ;
6686 extern  __attribute__((__nothrow__)) int isalpha(int  ) ;   6686 extern  __attribute__((__nothrow__)) int isalpha(int  ) ;
6687 extern  __attribute__((__nothrow__)) int iscntrl(int  ) ;   6687 extern  __attribute__((__nothrow__)) int iscntrl(int  ) ;
6688 extern  __attribute__((__nothrow__)) int isdigit(int  ) ;   6688 extern  __attribute__((__nothrow__)) int isdigit(int  ) ;
6689 extern  __attribute__((__nothrow__)) int islower(int  ) ;   6689 extern  __attribute__((__nothrow__)) int islower(int  ) ;
6690 extern  __attribute__((__nothrow__)) int isgraph(int  ) ;   6690 extern  __attribute__((__nothrow__)) int isgraph(int  ) ;
6691 extern  __attribute__((__nothrow__)) int isprint(int  ) ;   6691 extern  __attribute__((__nothrow__)) int isprint(int  ) ;
6692 extern  __attribute__((__nothrow__)) int ispunct(int  ) ;   6692 extern  __attribute__((__nothrow__)) int ispunct(int  ) ;
6693 extern  __attribute__((__nothrow__)) int isspace(int  ) ;   6693 extern  __attribute__((__nothrow__)) int isspace(int  ) ;
6694 extern  __attribute__((__nothrow__)) int isupper(int  ) ;   6694 extern  __attribute__((__nothrow__)) int isupper(int  ) ;
6695 extern  __attribute__((__nothrow__)) int isxdigit(int  ) ;   6695 extern  __attribute__((__nothrow__)) int isxdigit(int  ) ;
6696 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  tolower(int __c ) ;   6696 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  tolower(int __c ) ;
6697 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  toupper(int __c ) ;   6697 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  toupper(int __c ) ;
6698 extern  __attribute__((__nothrow__)) int isblank(int  ) ;   6698 extern  __attribute__((__nothrow__)) int isblank(int  ) ;
6699 extern  __attribute__((__nothrow__)) int isascii(int __c ) ;   6699 extern  __attribute__((__nothrow__)) int isascii(int __c ) ;
6700 extern  __attribute__((__nothrow__)) int toascii(int __c ) ;   6700 extern  __attribute__((__nothrow__)) int toascii(int __c ) ;
6701 extern  __attribute__((__nothrow__)) int _toupper(int  ) ;   6701 extern  __attribute__((__nothrow__)) int _toupper(int  ) ;
6702 extern  __attribute__((__nothrow__)) int _tolower(int  ) ;   6702 extern  __attribute__((__nothrow__)) int _tolower(int  ) ;
6703 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  tolower(int __c ) ;   6703 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  tolower(int __c ) ;
6704 __inline extern int __attribute__((__gnu_inline__))  tolower(int __c )   6704 __inline extern int __attribute__((__gnu_inline__))  tolower(int __c )
6705 {   6705 {
6706   __int32_t const   **tmp ;   6706   __int32_t const   **tmp ;
6707   __int32_t tmp___0 ;   6707   __int32_t tmp___0 ;
6708     6708  
6709   {   6709   {
6710   if (__c >= -128) {   6710   if (__c >= -128) {
6711     if (__c < 256) {   6711     if (__c < 256) {
6712       tmp = __ctype_tolower_loc();   6712       tmp = __ctype_tolower_loc();
6713       tmp___0 = *(*tmp + __c);   6713       tmp___0 = *(*tmp + __c);
6714     } else {   6714     } else {
6715       tmp___0 = (__int32_t const   )__c;   6715       tmp___0 = (__int32_t const   )__c;
6716     }   6716     }
6717   } else {   6717   } else {
6718     tmp___0 = (__int32_t const   )__c;   6718     tmp___0 = (__int32_t const   )__c;
6719   }   6719   }
6720   return ((int __attribute__((__gnu_inline__))  )tmp___0);   6720   return ((int __attribute__((__gnu_inline__))  )tmp___0);
6721 }   6721 }
6722 }   6722 }
6723 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  toupper(int __c ) ;   6723 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  toupper(int __c ) ;
6724 __inline extern int __attribute__((__gnu_inline__))  toupper(int __c )   6724 __inline extern int __attribute__((__gnu_inline__))  toupper(int __c )
6725 {   6725 {
6726   __int32_t const   **tmp ;   6726   __int32_t const   **tmp ;
6727   __int32_t tmp___0 ;   6727   __int32_t tmp___0 ;
6728     6728  
6729   {   6729   {
6730   if (__c >= -128) {   6730   if (__c >= -128) {
6731     if (__c < 256) {   6731     if (__c < 256) {
6732       tmp = __ctype_toupper_loc();   6732       tmp = __ctype_toupper_loc();
6733       tmp___0 = *(*tmp + __c);   6733       tmp___0 = *(*tmp + __c);
6734     } else {   6734     } else {
6735       tmp___0 = (__int32_t const   )__c;   6735       tmp___0 = (__int32_t const   )__c;
6736     }   6736     }
6737   } else {   6737   } else {
6738     tmp___0 = (__int32_t const   )__c;   6738     tmp___0 = (__int32_t const   )__c;
6739   }   6739   }
6740   return ((int __attribute__((__gnu_inline__))  )tmp___0);   6740   return ((int __attribute__((__gnu_inline__))  )tmp___0);
6741 }   6741 }
6742 }   6742 }
6743 extern  __attribute__((__nothrow__)) int isalnum_l(int  , __locale_t  ) ;   6743 extern  __attribute__((__nothrow__)) int isalnum_l(int  , __locale_t  ) ;
6744 extern  __attribute__((__nothrow__)) int isalpha_l(int  , __locale_t  ) ;   6744 extern  __attribute__((__nothrow__)) int isalpha_l(int  , __locale_t  ) ;
6745 extern  __attribute__((__nothrow__)) int iscntrl_l(int  , __locale_t  ) ;   6745 extern  __attribute__((__nothrow__)) int iscntrl_l(int  , __locale_t  ) ;
6746 extern  __attribute__((__nothrow__)) int isdigit_l(int  , __locale_t  ) ;   6746 extern  __attribute__((__nothrow__)) int isdigit_l(int  , __locale_t  ) ;
6747 extern  __attribute__((__nothrow__)) int islower_l(int  , __locale_t  ) ;   6747 extern  __attribute__((__nothrow__)) int islower_l(int  , __locale_t  ) ;
6748 extern  __attribute__((__nothrow__)) int isgraph_l(int  , __locale_t  ) ;   6748 extern  __attribute__((__nothrow__)) int isgraph_l(int  , __locale_t  ) ;
6749 extern  __attribute__((__nothrow__)) int isprint_l(int  , __locale_t  ) ;   6749 extern  __attribute__((__nothrow__)) int isprint_l(int  , __locale_t  ) ;
6750 extern  __attribute__((__nothrow__)) int ispunct_l(int  , __locale_t  ) ;   6750 extern  __attribute__((__nothrow__)) int ispunct_l(int  , __locale_t  ) ;
6751 extern  __attribute__((__nothrow__)) int isspace_l(int  , __locale_t  ) ;   6751 extern  __attribute__((__nothrow__)) int isspace_l(int  , __locale_t  ) ;
6752 extern  __attribute__((__nothrow__)) int isupper_l(int  , __locale_t  ) ;   6752 extern  __attribute__((__nothrow__)) int isupper_l(int  , __locale_t  ) ;
6753 extern  __attribute__((__nothrow__)) int isxdigit_l(int  , __locale_t  ) ;   6753 extern  __attribute__((__nothrow__)) int isxdigit_l(int  , __locale_t  ) ;
6754 extern  __attribute__((__nothrow__)) int isblank_l(int  , __locale_t  ) ;   6754 extern  __attribute__((__nothrow__)) int isblank_l(int  , __locale_t  ) ;
6755 extern  __attribute__((__nothrow__)) int __tolower_l(int __c , __locale_t __l ) ;   6755 extern  __attribute__((__nothrow__)) int __tolower_l(int __c , __locale_t __l ) ;
6756 extern  __attribute__((__nothrow__)) int tolower_l(int __c , __locale_t __l ) ;   6756 extern  __attribute__((__nothrow__)) int tolower_l(int __c , __locale_t __l ) ;
6757 extern  __attribute__((__nothrow__)) int __toupper_l(int __c , __locale_t __l ) ;   6757 extern  __attribute__((__nothrow__)) int __toupper_l(int __c , __locale_t __l ) ;
6758 extern  __attribute__((__nothrow__)) int toupper_l(int __c , __locale_t __l ) ;   6758 extern  __attribute__((__nothrow__)) int toupper_l(int __c , __locale_t __l ) ;
6759 extern  __attribute__((__nothrow__,   6759 extern  __attribute__((__nothrow__,
6760 __noreturn__)) void __assert_fail(char const   *__assertion ,   6760 __noreturn__)) void __assert_fail(char const   *__assertion ,
6761                                   char const   *__file , unsigned int __line ,   6761                                   char const   *__file , unsigned int __line ,
6762                                   char const   *__function ) ;   6762                                   char const   *__function ) ;
6763 extern  __attribute__((__nothrow__,   6763 extern  __attribute__((__nothrow__,
6764 __noreturn__)) void __assert_perror_fail(int __errnum , char const   *__file ,   6764 __noreturn__)) void __assert_perror_fail(int __errnum , char const   *__file ,
6765                                          unsigned int __line ,   6765                                          unsigned int __line ,
6766                                          char const   *__function ) ;   6766                                          char const   *__function ) ;
6767 extern  __attribute__((__nothrow__,   6767 extern  __attribute__((__nothrow__,
6768 __noreturn__)) void __assert(char const   *__assertion , char const   *__file ,   6768 __noreturn__)) void __assert(char const   *__assertion , char const   *__file ,
6769                              int __line ) ;   6769                              int __line ) ;
6770 extern struct _IO_FILE_plus _IO_2_1_stdin_ ;   6770 extern struct _IO_FILE_plus _IO_2_1_stdin_ ;
6771 extern struct _IO_FILE_plus _IO_2_1_stdout_ ;   6771 extern struct _IO_FILE_plus _IO_2_1_stdout_ ;
6772 extern struct _IO_FILE_plus _IO_2_1_stderr_ ;   6772 extern struct _IO_FILE_plus _IO_2_1_stderr_ ;
6773 extern int __underflow(_IO_FILE * ) ;   6773 extern int __underflow(_IO_FILE * ) ;
6774 extern int __uflow(_IO_FILE * ) ;   6774 extern int __uflow(_IO_FILE * ) ;
6775 extern int __overflow(_IO_FILE * , int  ) ;   6775 extern int __overflow(_IO_FILE * , int  ) ;
6776 extern int _IO_getc(_IO_FILE *__fp ) ;   6776 extern int _IO_getc(_IO_FILE *__fp ) ;
6777 extern int _IO_putc(int __c , _IO_FILE *__fp ) ;   6777 extern int _IO_putc(int __c , _IO_FILE *__fp ) ;
6778 extern  __attribute__((__nothrow__)) int _IO_feof(_IO_FILE *__fp ) ;   6778 extern  __attribute__((__nothrow__)) int _IO_feof(_IO_FILE *__fp ) ;
6779 extern  __attribute__((__nothrow__)) int _IO_ferror(_IO_FILE *__fp ) ;   6779 extern  __attribute__((__nothrow__)) int _IO_ferror(_IO_FILE *__fp ) ;
6780 extern int _IO_peekc_locked(_IO_FILE *__fp ) ;   6780 extern int _IO_peekc_locked(_IO_FILE *__fp ) ;
6781 extern  __attribute__((__nothrow__)) void _IO_flockfile(_IO_FILE * ) ;   6781 extern  __attribute__((__nothrow__)) void _IO_flockfile(_IO_FILE * ) ;
6782 extern  __attribute__((__nothrow__)) void _IO_funlockfile(_IO_FILE * ) ;   6782 extern  __attribute__((__nothrow__)) void _IO_funlockfile(_IO_FILE * ) ;
6783 extern  __attribute__((__nothrow__)) int _IO_ftrylockfile(_IO_FILE * ) ;   6783 extern  __attribute__((__nothrow__)) int _IO_ftrylockfile(_IO_FILE * ) ;
6784 extern int _IO_vfscanf(_IO_FILE * __restrict   , char const   * __restrict   ,   6784 extern int _IO_vfscanf(_IO_FILE * __restrict   , char const   * __restrict   ,
6785                        __gnuc_va_list  , int * __restrict   ) ;   6785                        __gnuc_va_list  , int * __restrict   ) ;
6786 extern int _IO_vfprintf(_IO_FILE * __restrict   , char const   * __restrict   ,   6786 extern int _IO_vfprintf(_IO_FILE * __restrict   , char const   * __restrict   ,
6787                         __gnuc_va_list  ) ;   6787                         __gnuc_va_list  ) ;
6788 extern __ssize_t _IO_padn(_IO_FILE * , int  , __ssize_t  ) ;   6788 extern __ssize_t _IO_padn(_IO_FILE * , int  , __ssize_t  ) ;
6789 extern size_t _IO_sgetn(_IO_FILE * , void * , size_t  ) ;   6789 extern size_t _IO_sgetn(_IO_FILE * , void * , size_t  ) ;
6790 extern __off64_t _IO_seekoff(_IO_FILE * , __off64_t  , int  , int  ) ;   6790 extern __off64_t _IO_seekoff(_IO_FILE * , __off64_t  , int  , int  ) ;
6791 extern __off64_t _IO_seekpos(_IO_FILE * , __off64_t  , int  ) ;   6791 extern __off64_t _IO_seekpos(_IO_FILE * , __off64_t  , int  ) ;
6792 extern  __attribute__((__nothrow__)) void _IO_free_backup_area(_IO_FILE * ) ;   6792 extern  __attribute__((__nothrow__)) void _IO_free_backup_area(_IO_FILE * ) ;
6793 extern struct _IO_FILE *stdin ;   6793 extern struct _IO_FILE *stdin ;
6794 extern struct _IO_FILE *stdout ;   6794 extern struct _IO_FILE *stdout ;
6795 extern struct _IO_FILE *stderr ;   6795 extern struct _IO_FILE *stderr ;
6796 extern  __attribute__((__nothrow__)) int remove(char const   *__filename ) ;   6796 extern  __attribute__((__nothrow__)) int remove(char const   *__filename ) ;
6797 extern  __attribute__((__nothrow__)) int rename(char const   *__old ,   6797 extern  __attribute__((__nothrow__)) int rename(char const   *__old ,
6798                                                 char const   *__new ) ;   6798                                                 char const   *__new ) ;
6799 extern  __attribute__((__nothrow__)) int renameat(int __oldfd ,   6799 extern  __attribute__((__nothrow__)) int renameat(int __oldfd ,
6800                                                   char const   *__old ,   6800                                                   char const   *__old ,
6801                                                   int __newfd ,   6801                                                   int __newfd ,
6802                                                   char const   *__new ) ;   6802                                                   char const   *__new ) ;
6803 extern FILE *tmpfile(void)  __asm__("tmpfile64")  ;   6803 extern FILE *tmpfile(void)  __asm__("tmpfile64")  ;
6804 extern  __attribute__((__nothrow__)) char *tmpnam(char *__s ) ;   6804 extern  __attribute__((__nothrow__)) char *tmpnam(char *__s ) ;
6805 extern  __attribute__((__nothrow__)) char *tmpnam_r(char *__s ) ;   6805 extern  __attribute__((__nothrow__)) char *tmpnam_r(char *__s ) ;
6806 extern  __attribute__((__nothrow__)) char *tempnam(char const   *__dir ,   6806 extern  __attribute__((__nothrow__)) char *tempnam(char const   *__dir ,
6807                                                    char const   *__pfx )  __attribute__((__malloc__)) ;   6807                                                    char const   *__pfx )  __attribute__((__malloc__)) ;
6808 extern int fclose(FILE *__stream ) ;   6808 extern int fclose(FILE *__stream ) ;
6809 extern int fflush(FILE *__stream ) ;   6809 extern int fflush(FILE *__stream ) ;
6810 extern int fflush_unlocked(FILE *__stream ) ;   6810 extern int fflush_unlocked(FILE *__stream ) ;
6811 extern FILE *fopen(char const   * __restrict  __filename ,   6811 extern FILE *fopen(char const   * __restrict  __filename ,
6812                    char const   * __restrict  __modes )  __asm__("fopen64")  ;   6812                    char const   * __restrict  __modes )  __asm__("fopen64")  ;
6813 extern FILE *freopen(char const   * __restrict  __filename ,   6813 extern FILE *freopen(char const   * __restrict  __filename ,
6814                      char const   * __restrict  __modes ,   6814                      char const   * __restrict  __modes ,
6815                      FILE * __restrict  __stream )  __asm__("freopen64")  ;   6815                      FILE * __restrict  __stream )  __asm__("freopen64")  ;
6816 extern  __attribute__((__nothrow__)) FILE *fdopen(int __fd ,   6816 extern  __attribute__((__nothrow__)) FILE *fdopen(int __fd ,
6817                                                   char const   *__modes ) ;   6817                                                   char const   *__modes ) ;
6818 extern  __attribute__((__nothrow__)) FILE *fmemopen(void *__s , size_t __len ,   6818 extern  __attribute__((__nothrow__)) FILE *fmemopen(void *__s , size_t __len ,
6819                                                     char const   *__modes ) ;   6819                                                     char const   *__modes ) ;
6820 extern  __attribute__((__nothrow__)) FILE *open_memstream(char **__bufloc ,   6820 extern  __attribute__((__nothrow__)) FILE *open_memstream(char **__bufloc ,
6821                                                           size_t *__sizeloc ) ;   6821                                                           size_t *__sizeloc ) ;
6822 extern  __attribute__((__nothrow__)) void setbuf(FILE * __restrict  __stream ,   6822 extern  __attribute__((__nothrow__)) void setbuf(FILE * __restrict  __stream ,
6823                                                  char * __restrict  __buf ) ;   6823                                                  char * __restrict  __buf ) ;
6824 extern  __attribute__((__nothrow__)) int setvbuf(FILE * __restrict  __stream ,   6824 extern  __attribute__((__nothrow__)) int setvbuf(FILE * __restrict  __stream ,
6825                                                  char * __restrict  __buf ,   6825                                                  char * __restrict  __buf ,
6826                                                  int __modes , size_t __n ) ;   6826                                                  int __modes , size_t __n ) ;
6827 extern  __attribute__((__nothrow__)) void setbuffer(FILE * __restrict  __stream ,   6827 extern  __attribute__((__nothrow__)) void setbuffer(FILE * __restrict  __stream ,
6828                                                     char * __restrict  __buf ,   6828                                                     char * __restrict  __buf ,
6829                                                     size_t __size ) ;   6829                                                     size_t __size ) ;
6830 extern  __attribute__((__nothrow__)) void setlinebuf(FILE *__stream ) ;   6830 extern  __attribute__((__nothrow__)) void setlinebuf(FILE *__stream ) ;
6831 extern int fprintf(FILE * __restrict  __stream ,   6831 extern int fprintf(FILE * __restrict  __stream ,
6832                    char const   * __restrict  __format  , ...) ;   6832                    char const   * __restrict  __format  , ...) ;
6833 extern int printf(char const   * __restrict  __format  , ...) ;   6833 extern int printf(char const   * __restrict  __format  , ...) ;
6834 extern  __attribute__((__nothrow__)) int sprintf(char * __restrict  __s ,   6834 extern  __attribute__((__nothrow__)) int sprintf(char * __restrict  __s ,
6835                                                  char const   * __restrict  __format   6835                                                  char const   * __restrict  __format
6836                                                  , ...) ;   6836                                                  , ...) ;
6837 extern int vfprintf(FILE * __restrict  __s ,   6837 extern int vfprintf(FILE * __restrict  __s ,
6838                     char const   * __restrict  __format , __gnuc_va_list __arg ) ;   6838                     char const   * __restrict  __format , __gnuc_va_list __arg ) ;
6839 __inline extern int __attribute__((__gnu_inline__))  vprintf(char const   * __restrict  __fmt ,   6839 __inline extern int __attribute__((__gnu_inline__))  vprintf(char const   * __restrict  __fmt ,
6840                                                              __gnuc_va_list __arg ) ;   6840                                                              __gnuc_va_list __arg ) ;
6841 extern  __attribute__((__nothrow__)) int vsprintf(char * __restrict  __s ,   6841 extern  __attribute__((__nothrow__)) int vsprintf(char * __restrict  __s ,
6842                                                   char const   * __restrict  __format ,   6842                                                   char const   * __restrict  __format ,
6843                                                   __gnuc_va_list __arg ) ;   6843                                                   __gnuc_va_list __arg ) ;
6844 extern  __attribute__((__nothrow__)) int ( /* format attribute */  snprintf)(char * __restrict  __s ,   6844 extern  __attribute__((__nothrow__)) int ( /* format attribute */  snprintf)(char * __restrict  __s ,
6845                                                                              size_t __maxlen ,   6845                                                                              size_t __maxlen ,
6846                                                                              char const   * __restrict  __format   6846                                                                              char const   * __restrict  __format
6847                                                                              , ...) ;   6847                                                                              , ...) ;
6848 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsnprintf)(char * __restrict  __s ,   6848 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsnprintf)(char * __restrict  __s ,
6849                                                                               size_t __maxlen ,   6849                                                                               size_t __maxlen ,
6850                                                                               char const   * __restrict  __format ,   6850                                                                               char const   * __restrict  __format ,
6851                                                                               __gnuc_va_list __arg ) ;   6851                                                                               __gnuc_va_list __arg ) ;
6852 extern int ( /* format attribute */  vdprintf)(int __fd ,   6852 extern int ( /* format attribute */  vdprintf)(int __fd ,
6853                                                char const   * __restrict  __fmt ,   6853                                                char const   * __restrict  __fmt ,
6854                                                __gnuc_va_list __arg ) ;   6854                                                __gnuc_va_list __arg ) ;
6855 extern int ( /* format attribute */  dprintf)(int __fd ,   6855 extern int ( /* format attribute */  dprintf)(int __fd ,
6856                                               char const   * __restrict  __fmt   6856                                               char const   * __restrict  __fmt
6857                                               , ...) ;   6857                                               , ...) ;
6858 extern int fscanf(FILE * __restrict  __stream ,   6858 extern int fscanf(FILE * __restrict  __stream ,
6859                   char const   * __restrict  __format  , ...)  __asm__("__isoc99_fscanf")  ;   6859                   char const   * __restrict  __format  , ...)  __asm__("__isoc99_fscanf")  ;
6860 extern int scanf(char const   * __restrict  __format  , ...)  __asm__("__isoc99_scanf")  ;   6860 extern int scanf(char const   * __restrict  __format  , ...)  __asm__("__isoc99_scanf")  ;
6861 extern  __attribute__((__nothrow__)) int sscanf(char const   * __restrict  __s ,   6861 extern  __attribute__((__nothrow__)) int sscanf(char const   * __restrict  __s ,
6862                                                 char const   * __restrict  __format   6862                                                 char const   * __restrict  __format
6863                                                 , ...)  __asm__("__isoc99_sscanf")  ;   6863                                                 , ...)  __asm__("__isoc99_sscanf")  ;
6864 extern int ( /* format attribute */  vfscanf)(FILE * __restrict  __s ,   6864 extern int ( /* format attribute */  vfscanf)(FILE * __restrict  __s ,
6865                                               char const   * __restrict  __format ,   6865                                               char const   * __restrict  __format ,
6866                                               __gnuc_va_list __arg )  __asm__("__isoc99_vfscanf")  ;   6866                                               __gnuc_va_list __arg )  __asm__("__isoc99_vfscanf")  ;
6867 extern int ( /* format attribute */  vscanf)(char const   * __restrict  __format ,   6867 extern int ( /* format attribute */  vscanf)(char const   * __restrict  __format ,
6868                                              __gnuc_va_list __arg )  __asm__("__isoc99_vscanf")  ;   6868                                              __gnuc_va_list __arg )  __asm__("__isoc99_vscanf")  ;
6869 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsscanf)(char const   * __restrict  __s ,   6869 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsscanf)(char const   * __restrict  __s ,
6870                                                                             char const   * __restrict  __format ,   6870                                                                             char const   * __restrict  __format ,
6871                                                                             __gnuc_va_list __arg )  __asm__("__isoc99_vsscanf")  ;   6871                                                                             __gnuc_va_list __arg )  __asm__("__isoc99_vsscanf")  ;
6872 extern int fgetc(FILE *__stream ) ;   6872 extern int fgetc(FILE *__stream ) ;
6873 extern int getc(FILE *__stream ) ;   6873 extern int getc(FILE *__stream ) ;
6874 __inline extern int __attribute__((__gnu_inline__))  getchar(void) ;   6874 __inline extern int __attribute__((__gnu_inline__))  getchar(void) ;
6875 __inline extern int __attribute__((__gnu_inline__))  getc_unlocked(FILE *__fp ) ;   6875 __inline extern int __attribute__((__gnu_inline__))  getc_unlocked(FILE *__fp ) ;
6876 __inline extern int __attribute__((__gnu_inline__))  getchar_unlocked(void) ;   6876 __inline extern int __attribute__((__gnu_inline__))  getchar_unlocked(void) ;
6877 __inline extern int __attribute__((__gnu_inline__))  fgetc_unlocked(FILE *__fp ) ;   6877 __inline extern int __attribute__((__gnu_inline__))  fgetc_unlocked(FILE *__fp ) ;
6878 extern int fputc(int __c , FILE *__stream ) ;   6878 extern int fputc(int __c , FILE *__stream ) ;
6879 extern int putc(int __c , FILE *__stream ) ;   6879 extern int putc(int __c , FILE *__stream ) ;
6880 __inline extern int __attribute__((__gnu_inline__))  putchar(int __c ) ;   6880 __inline extern int __attribute__((__gnu_inline__))  putchar(int __c ) ;
6881 __inline extern int __attribute__((__gnu_inline__))  fputc_unlocked(int __c ,   6881 __inline extern int __attribute__((__gnu_inline__))  fputc_unlocked(int __c ,
6882                                                                     FILE *__stream ) ;   6882                                                                     FILE *__stream ) ;
6883 __inline extern int __attribute__((__gnu_inline__))  putc_unlocked(int __c ,   6883 __inline extern int __attribute__((__gnu_inline__))  putc_unlocked(int __c ,
6884                                                                    FILE *__stream ) ;   6884                                                                    FILE *__stream ) ;
6885 __inline extern int __attribute__((__gnu_inline__))  putchar_unlocked(int __c ) ;   6885 __inline extern int __attribute__((__gnu_inline__))  putchar_unlocked(int __c ) ;
6886 extern int getw(FILE *__stream ) ;   6886 extern int getw(FILE *__stream ) ;
6887 extern int putw(int __w , FILE *__stream ) ;   6887 extern int putw(int __w , FILE *__stream ) ;
6888 extern char *fgets(char * __restrict  __s , int __n ,   6888 extern char *fgets(char * __restrict  __s , int __n ,
6889                    FILE * __restrict  __stream ) ;   6889                    FILE * __restrict  __stream ) ;
6890 extern char *gets(char *__s ) ;   6890 extern char *gets(char *__s ) ;
6891 extern __ssize_t __getdelim(char ** __restrict  __lineptr ,   6891 extern __ssize_t __getdelim(char ** __restrict  __lineptr ,
6892                             size_t * __restrict  __n , int __delimiter ,   6892                             size_t * __restrict  __n , int __delimiter ,
6893                             FILE * __restrict  __stream ) ;   6893                             FILE * __restrict  __stream ) ;
6894 extern __ssize_t getdelim(char ** __restrict  __lineptr ,   6894 extern __ssize_t getdelim(char ** __restrict  __lineptr ,
6895                           size_t * __restrict  __n , int __delimiter ,   6895                           size_t * __restrict  __n , int __delimiter ,
6896                           FILE * __restrict  __stream ) ;   6896                           FILE * __restrict  __stream ) ;
6897 extern __ssize_t getline(char ** __restrict  __lineptr ,   6897 extern __ssize_t getline(char ** __restrict  __lineptr ,
6898                          size_t * __restrict  __n , FILE * __restrict  __stream ) ;   6898                          size_t * __restrict  __n , FILE * __restrict  __stream ) ;
6899 extern int fputs(char const   * __restrict  __s , FILE * __restrict  __stream ) ;   6899 extern int fputs(char const   * __restrict  __s , FILE * __restrict  __stream ) ;
6900 extern int puts(char const   *__s ) ;   6900 extern int puts(char const   *__s ) ;
6901 extern int ungetc(int __c , FILE *__stream ) ;   6901 extern int ungetc(int __c , FILE *__stream ) ;
6902 extern size_t fread(void * __restrict  __ptr , size_t __size , size_t __n ,   6902 extern size_t fread(void * __restrict  __ptr , size_t __size , size_t __n ,
6903                     FILE * __restrict  __stream ) ;   6903                     FILE * __restrict  __stream ) ;
6904 extern size_t fwrite(void const   * __restrict  __ptr , size_t __size ,   6904 extern size_t fwrite(void const   * __restrict  __ptr , size_t __size ,
6905                      size_t __n , FILE * __restrict  __s ) ;   6905                      size_t __n , FILE * __restrict  __s ) ;
6906 extern size_t fread_unlocked(void * __restrict  __ptr , size_t __size ,   6906 extern size_t fread_unlocked(void * __restrict  __ptr , size_t __size ,
6907                              size_t __n , FILE * __restrict  __stream ) ;   6907                              size_t __n , FILE * __restrict  __stream ) ;
6908 extern size_t fwrite_unlocked(void const   * __restrict  __ptr , size_t __size ,   6908 extern size_t fwrite_unlocked(void const   * __restrict  __ptr , size_t __size ,
6909                               size_t __n , FILE * __restrict  __stream ) ;   6909                               size_t __n , FILE * __restrict  __stream ) ;
6910 extern int fseek(FILE *__stream , long __off , int __whence ) ;   6910 extern int fseek(FILE *__stream , long __off , int __whence ) ;
6911 extern long ftell(FILE *__stream ) ;   6911 extern long ftell(FILE *__stream ) ;
6912 extern void rewind(FILE *__stream ) ;   6912 extern void rewind(FILE *__stream ) ;
6913 extern int fseeko(FILE *__stream , __off64_t __off , int __whence )  __asm__("fseeko64")  ;   6913 extern int fseeko(FILE *__stream , __off64_t __off , int __whence )  __asm__("fseeko64")  ;
6914 extern __off64_t ftello(FILE *__stream )  __asm__("ftello64")  ;   6914 extern __off64_t ftello(FILE *__stream )  __asm__("ftello64")  ;
6915 extern int fgetpos(FILE * __restrict  __stream , fpos_t * __restrict  __pos )  __asm__("fgetpos64")  ;   6915 extern int fgetpos(FILE * __restrict  __stream , fpos_t * __restrict  __pos )  __asm__("fgetpos64")  ;
6916 extern int fsetpos(FILE *__stream , fpos_t const   *__pos )  __asm__("fsetpos64")  ;   6916 extern int fsetpos(FILE *__stream , fpos_t const   *__pos )  __asm__("fsetpos64")  ;
6917 extern  __attribute__((__nothrow__)) void clearerr(FILE *__stream ) ;   6917 extern  __attribute__((__nothrow__)) void clearerr(FILE *__stream ) ;
6918 extern  __attribute__((__nothrow__)) int feof(FILE *__stream ) ;   6918 extern  __attribute__((__nothrow__)) int feof(FILE *__stream ) ;
6919 extern  __attribute__((__nothrow__)) int ferror(FILE *__stream ) ;   6919 extern  __attribute__((__nothrow__)) int ferror(FILE *__stream ) ;
6920 extern  __attribute__((__nothrow__)) void clearerr_unlocked(FILE *__stream ) ;   6920 extern  __attribute__((__nothrow__)) void clearerr_unlocked(FILE *__stream ) ;
6921 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  feof_unlocked(FILE *__stream ) ;   6921 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  feof_unlocked(FILE *__stream ) ;
6922 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ferror_unlocked(FILE *__stream ) ;   6922 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ferror_unlocked(FILE *__stream ) ;
6923 extern void perror(char const   *__s ) ;   6923 extern void perror(char const   *__s ) ;
6924 extern int sys_nerr ;   6924 extern int sys_nerr ;
6925 extern char const   * const  sys_errlist[] ;   6925 extern char const   * const  sys_errlist[] ;
6926 extern  __attribute__((__nothrow__)) int fileno(FILE *__stream ) ;   6926 extern  __attribute__((__nothrow__)) int fileno(FILE *__stream ) ;
6927 extern  __attribute__((__nothrow__)) int fileno_unlocked(FILE *__stream ) ;   6927 extern  __attribute__((__nothrow__)) int fileno_unlocked(FILE *__stream ) ;
6928 extern FILE *popen(char const   *__command , char const   *__modes ) ;   6928 extern FILE *popen(char const   *__command , char const   *__modes ) ;
6929 extern int pclose(FILE *__stream ) ;   6929 extern int pclose(FILE *__stream ) ;
6930 extern  __attribute__((__nothrow__)) char *ctermid(char *__s ) ;   6930 extern  __attribute__((__nothrow__)) char *ctermid(char *__s ) ;
6931 extern  __attribute__((__nothrow__)) void flockfile(FILE *__stream ) ;   6931 extern  __attribute__((__nothrow__)) void flockfile(FILE *__stream ) ;
6932 extern  __attribute__((__nothrow__)) int ftrylockfile(FILE *__stream ) ;   6932 extern  __attribute__((__nothrow__)) int ftrylockfile(FILE *__stream ) ;
6933 extern  __attribute__((__nothrow__)) void funlockfile(FILE *__stream ) ;   6933 extern  __attribute__((__nothrow__)) void funlockfile(FILE *__stream ) ;
6934 __inline extern int __attribute__((__gnu_inline__))  vprintf(char const   * __restrict  __fmt ,   6934 __inline extern int __attribute__((__gnu_inline__))  vprintf(char const   * __restrict  __fmt ,
6935                                                              __gnuc_va_list __arg )   6935                                                              __gnuc_va_list __arg )
6936 {   6936 {
6937   int tmp ;   6937   int tmp ;
6938     6938  
6939   {   6939   {
6940   tmp = vfprintf((FILE */* __restrict  */)stdout, __fmt, __arg);   6940   tmp = vfprintf((FILE */* __restrict  */)stdout, __fmt, __arg);
6941   return ((int __attribute__((__gnu_inline__))  )tmp);   6941   return ((int __attribute__((__gnu_inline__))  )tmp);
6942 }   6942 }
6943 }   6943 }
6944 __inline extern int __attribute__((__gnu_inline__))  getchar(void)   6944 __inline extern int __attribute__((__gnu_inline__))  getchar(void)
6945 {   6945 {
6946   int tmp ;   6946   int tmp ;
6947     6947  
6948   {   6948   {
6949   tmp = _IO_getc(stdin);   6949   tmp = _IO_getc(stdin);
6950   return ((int __attribute__((__gnu_inline__))  )tmp);   6950   return ((int __attribute__((__gnu_inline__))  )tmp);
6951 }   6951 }
6952 }   6952 }
6953 __inline extern int __attribute__((__gnu_inline__))  fgetc_unlocked(FILE *__fp )   6953 __inline extern int __attribute__((__gnu_inline__))  fgetc_unlocked(FILE *__fp )
6954 {   6954 {
6955   long tmp ;   6955   long tmp ;
6956   int tmp___0 ;   6956   int tmp___0 ;
6957   char *tmp___1 ;   6957   char *tmp___1 ;
6958   int tmp___2 ;   6958   int tmp___2 ;
6959   long tmp___3 ;   6959   long tmp___3 ;
6960     6960  
6961   {   6961   {
6962   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),   6962   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),
6963                              0L);   6963                              0L);
6964   if (tmp___3) {   6964   if (tmp___3) {
6965     tmp___0 = __uflow(__fp);   6965     tmp___0 = __uflow(__fp);
6966     tmp___2 = tmp___0;   6966     tmp___2 = tmp___0;
6967   } else {   6967   } else {
6968     tmp___1 = __fp->_IO_read_ptr;   6968     tmp___1 = __fp->_IO_read_ptr;
6969     (__fp->_IO_read_ptr) ++;   6969     (__fp->_IO_read_ptr) ++;
6970     tmp___2 = (int )*((unsigned char *)tmp___1);   6970     tmp___2 = (int )*((unsigned char *)tmp___1);
6971   }   6971   }
6972   return ((int __attribute__((__gnu_inline__))  )tmp___2);   6972   return ((int __attribute__((__gnu_inline__))  )tmp___2);
6973 }   6973 }
6974 }   6974 }
6975 __inline extern int __attribute__((__gnu_inline__))  getc_unlocked(FILE *__fp )   6975 __inline extern int __attribute__((__gnu_inline__))  getc_unlocked(FILE *__fp )
6976 {   6976 {
6977   long tmp ;   6977   long tmp ;
6978   int tmp___0 ;   6978   int tmp___0 ;
6979   char *tmp___1 ;   6979   char *tmp___1 ;
6980   int tmp___2 ;   6980   int tmp___2 ;
6981   long tmp___3 ;   6981   long tmp___3 ;
6982     6982  
6983   {   6983   {
6984   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),   6984   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),
6985                              0L);   6985                              0L);
6986   if (tmp___3) {   6986   if (tmp___3) {
6987     tmp___0 = __uflow(__fp);   6987     tmp___0 = __uflow(__fp);
6988     tmp___2 = tmp___0;   6988     tmp___2 = tmp___0;
6989   } else {   6989   } else {
6990     tmp___1 = __fp->_IO_read_ptr;   6990     tmp___1 = __fp->_IO_read_ptr;
6991     (__fp->_IO_read_ptr) ++;   6991     (__fp->_IO_read_ptr) ++;
6992     tmp___2 = (int )*((unsigned char *)tmp___1);   6992     tmp___2 = (int )*((unsigned char *)tmp___1);
6993   }   6993   }
6994   return ((int __attribute__((__gnu_inline__))  )tmp___2);   6994   return ((int __attribute__((__gnu_inline__))  )tmp___2);
6995 }   6995 }
6996 }   6996 }
6997 __inline extern int __attribute__((__gnu_inline__))  getchar_unlocked(void)   6997 __inline extern int __attribute__((__gnu_inline__))  getchar_unlocked(void)
6998 {   6998 {
6999   long tmp ;   6999   long tmp ;
7000   int tmp___0 ;   7000   int tmp___0 ;
7001   char *tmp___1 ;   7001   char *tmp___1 ;
7002   int tmp___2 ;   7002   int tmp___2 ;
7003   long tmp___3 ;   7003   long tmp___3 ;
7004     7004  
7005   {   7005   {
7006   tmp___3 = __builtin_expect((long )((unsigned int )stdin->_IO_read_ptr >= (unsigned int )stdin->_IO_read_end),   7006   tmp___3 = __builtin_expect((long )((unsigned int )stdin->_IO_read_ptr >= (unsigned int )stdin->_IO_read_end),
7007                              0L);   7007                              0L);
7008   if (tmp___3) {   7008   if (tmp___3) {
7009     tmp___0 = __uflow(stdin);   7009     tmp___0 = __uflow(stdin);
7010     tmp___2 = tmp___0;   7010     tmp___2 = tmp___0;
7011   } else {   7011   } else {
7012     tmp___1 = stdin->_IO_read_ptr;   7012     tmp___1 = stdin->_IO_read_ptr;
7013     (stdin->_IO_read_ptr) ++;   7013     (stdin->_IO_read_ptr) ++;
7014     tmp___2 = (int )*((unsigned char *)tmp___1);   7014     tmp___2 = (int )*((unsigned char *)tmp___1);
7015   }   7015   }
7016   return ((int __attribute__((__gnu_inline__))  )tmp___2);   7016   return ((int __attribute__((__gnu_inline__))  )tmp___2);
7017 }   7017 }
7018 }   7018 }
7019 __inline extern int __attribute__((__gnu_inline__))  putchar(int __c )   7019 __inline extern int __attribute__((__gnu_inline__))  putchar(int __c )
7020 {   7020 {
7021   int tmp ;   7021   int tmp ;
7022     7022  
7023   {   7023   {
7024   tmp = _IO_putc(__c, stdout);   7024   tmp = _IO_putc(__c, stdout);
7025   return ((int __attribute__((__gnu_inline__))  )tmp);   7025   return ((int __attribute__((__gnu_inline__))  )tmp);
7026 }   7026 }
7027 }   7027 }
7028 __inline extern int __attribute__((__gnu_inline__))  fputc_unlocked(int __c ,   7028 __inline extern int __attribute__((__gnu_inline__))  fputc_unlocked(int __c ,
7029                                                                     FILE *__stream )   7029                                                                     FILE *__stream )
7030 {   7030 {
7031   long tmp ;   7031   long tmp ;
7032   int tmp___0 ;   7032   int tmp___0 ;
7033   char *tmp___1 ;   7033   char *tmp___1 ;
7034   char tmp___2 ;   7034   char tmp___2 ;
7035   int tmp___3 ;   7035   int tmp___3 ;
7036   long tmp___4 ;   7036   long tmp___4 ;
7037     7037  
7038   {   7038   {
7039   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),   7039   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),
7040                              0L);   7040                              0L);
7041   if (tmp___4) {   7041   if (tmp___4) {
7042     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));   7042     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));
7043     tmp___3 = tmp___0;   7043     tmp___3 = tmp___0;
7044   } else {   7044   } else {
7045     tmp___1 = __stream->_IO_write_ptr;   7045     tmp___1 = __stream->_IO_write_ptr;
7046     (__stream->_IO_write_ptr) ++;   7046     (__stream->_IO_write_ptr) ++;
7047     tmp___2 = (char )__c;   7047     tmp___2 = (char )__c;
7048     *tmp___1 = tmp___2;   7048     *tmp___1 = tmp___2;
7049     tmp___3 = (int )((unsigned char )tmp___2);   7049     tmp___3 = (int )((unsigned char )tmp___2);
7050   }   7050   }
7051   return ((int __attribute__((__gnu_inline__))  )tmp___3);   7051   return ((int __attribute__((__gnu_inline__))  )tmp___3);
7052 }   7052 }
7053 }   7053 }
7054 __inline extern int __attribute__((__gnu_inline__))  putc_unlocked(int __c ,   7054 __inline extern int __attribute__((__gnu_inline__))  putc_unlocked(int __c ,
7055                                                                    FILE *__stream )   7055                                                                    FILE *__stream )
7056 {   7056 {
7057   long tmp ;   7057   long tmp ;
7058   int tmp___0 ;   7058   int tmp___0 ;
7059   char *tmp___1 ;   7059   char *tmp___1 ;
7060   char tmp___2 ;   7060   char tmp___2 ;
7061   int tmp___3 ;   7061   int tmp___3 ;
7062   long tmp___4 ;   7062   long tmp___4 ;
7063     7063  
7064   {   7064   {
7065   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),   7065   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),
7066                              0L);   7066                              0L);
7067   if (tmp___4) {   7067   if (tmp___4) {
7068     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));   7068     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));
7069     tmp___3 = tmp___0;   7069     tmp___3 = tmp___0;
7070   } else {   7070   } else {
7071     tmp___1 = __stream->_IO_write_ptr;   7071     tmp___1 = __stream->_IO_write_ptr;
7072     (__stream->_IO_write_ptr) ++;   7072     (__stream->_IO_write_ptr) ++;
7073     tmp___2 = (char )__c;   7073     tmp___2 = (char )__c;
7074     *tmp___1 = tmp___2;   7074     *tmp___1 = tmp___2;
7075     tmp___3 = (int )((unsigned char )tmp___2);   7075     tmp___3 = (int )((unsigned char )tmp___2);
7076   }   7076   }
7077   return ((int __attribute__((__gnu_inline__))  )tmp___3);   7077   return ((int __attribute__((__gnu_inline__))  )tmp___3);
7078 }   7078 }
7079 }   7079 }
7080 __inline extern int __attribute__((__gnu_inline__))  putchar_unlocked(int __c )   7080 __inline extern int __attribute__((__gnu_inline__))  putchar_unlocked(int __c )
7081 {   7081 {
7082   long tmp ;   7082   long tmp ;
7083   int tmp___0 ;   7083   int tmp___0 ;
7084   char *tmp___1 ;   7084   char *tmp___1 ;
7085   char tmp___2 ;   7085   char tmp___2 ;
7086   int tmp___3 ;   7086   int tmp___3 ;
7087   long tmp___4 ;   7087   long tmp___4 ;
7088     7088  
7089   {   7089   {
7090   tmp___4 = __builtin_expect((long )((unsigned int )stdout->_IO_write_ptr >= (unsigned int )stdout->_IO_write_end),   7090   tmp___4 = __builtin_expect((long )((unsigned int )stdout->_IO_write_ptr >= (unsigned int )stdout->_IO_write_end),
7091                              0L);   7091                              0L);
7092   if (tmp___4) {   7092   if (tmp___4) {
7093     tmp___0 = __overflow(stdout, (int )((unsigned char )__c));   7093     tmp___0 = __overflow(stdout, (int )((unsigned char )__c));
7094     tmp___3 = tmp___0;   7094     tmp___3 = tmp___0;
7095   } else {   7095   } else {
7096     tmp___1 = stdout->_IO_write_ptr;   7096     tmp___1 = stdout->_IO_write_ptr;
7097     (stdout->_IO_write_ptr) ++;   7097     (stdout->_IO_write_ptr) ++;
7098     tmp___2 = (char )__c;   7098     tmp___2 = (char )__c;
7099     *tmp___1 = tmp___2;   7099     *tmp___1 = tmp___2;
7100     tmp___3 = (int )((unsigned char )tmp___2);   7100     tmp___3 = (int )((unsigned char )tmp___2);
7101   }   7101   }
7102   return ((int __attribute__((__gnu_inline__))  )tmp___3);   7102   return ((int __attribute__((__gnu_inline__))  )tmp___3);
7103 }   7103 }
7104 }   7104 }
7105 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  feof_unlocked(FILE *__stream ) ;   7105 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  feof_unlocked(FILE *__stream ) ;
7106 __inline extern int __attribute__((__gnu_inline__))  feof_unlocked(FILE *__stream )   7106 __inline extern int __attribute__((__gnu_inline__))  feof_unlocked(FILE *__stream )
7107 {   7107 {
7108     7108  
7109     7109  
7110   {   7110   {
7111   return ((int __attribute__((__gnu_inline__))  )((__stream->_flags & 16) != 0));   7111   return ((int __attribute__((__gnu_inline__))  )((__stream->_flags & 16) != 0));
7112 }   7112 }
7113 }   7113 }
7114 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ferror_unlocked(FILE *__stream ) ;   7114 __inline extern  __attribute__((__nothrow__)) int __attribute__((__gnu_inline__))  ferror_unlocked(FILE *__stream ) ;
7115 __inline extern int __attribute__((__gnu_inline__))  ferror_unlocked(FILE *__stream )   7115 __inline extern int __attribute__((__gnu_inline__))  ferror_unlocked(FILE *__stream )
7116 {   7116 {
7117     7117  
7118     7118  
7119   {   7119   {
7120   return ((int __attribute__((__gnu_inline__))  )((__stream->_flags & 32) != 0));   7120   return ((int __attribute__((__gnu_inline__))  )((__stream->_flags & 32) != 0));
7121 }   7121 }
7122 }   7122 }
7123 extern GArray *g_array_new(gboolean zero_terminated , gboolean clear_ ,   7123 extern GArray *g_array_new(gboolean zero_terminated , gboolean clear_ ,
7124                            guint element_size ) ;   7124                            guint element_size ) ;
7125 extern GArray *g_array_sized_new(gboolean zero_terminated , gboolean clear_ ,   7125 extern GArray *g_array_sized_new(gboolean zero_terminated , gboolean clear_ ,
7126                                  guint element_size , guint reserved_size ) ;   7126                                  guint element_size , guint reserved_size ) ;
7127 extern gchar *g_array_free(GArray *array , gboolean free_segment ) ;   7127 extern gchar *g_array_free(GArray *array , gboolean free_segment ) ;
7128 extern GArray *g_array_ref(GArray *array ) ;   7128 extern GArray *g_array_ref(GArray *array ) ;
7129 extern void g_array_unref(GArray *array ) ;   7129 extern void g_array_unref(GArray *array ) ;
7130 extern guint g_array_get_element_size(GArray *array ) ;   7130 extern guint g_array_get_element_size(GArray *array ) ;
7131 extern GArray *g_array_append_vals(GArray *array , gconstpointer data ,   7131 extern GArray *g_array_append_vals(GArray *array , gconstpointer data ,
7132                                    guint len ) ;   7132                                    guint len ) ;
7133 extern GArray *g_array_prepend_vals(GArray *array , gconstpointer data ,   7133 extern GArray *g_array_prepend_vals(GArray *array , gconstpointer data ,
7134                                     guint len ) ;   7134                                     guint len ) ;
7135 extern GArray *g_array_insert_vals(GArray *array , guint index_ ,   7135 extern GArray *g_array_insert_vals(GArray *array , guint index_ ,
7136                                    gconstpointer data , guint len ) ;   7136                                    gconstpointer data , guint len ) ;
7137 extern GArray *g_array_set_size(GArray *array , guint length ) ;   7137 extern GArray *g_array_set_size(GArray *array , guint length ) ;
7138 extern GArray *g_array_remove_index(GArray *array , guint index_ ) ;   7138 extern GArray *g_array_remove_index(GArray *array , guint index_ ) ;
7139 extern GArray *g_array_remove_index_fast(GArray *array , guint index_ ) ;   7139 extern GArray *g_array_remove_index_fast(GArray *array , guint index_ ) ;
7140 extern GArray *g_array_remove_range(GArray *array , guint index_ , guint length ) ;   7140 extern GArray *g_array_remove_range(GArray *array , guint index_ , guint length ) ;
7141 extern void g_array_sort(GArray *array , gint (*compare_func)(gconstpointer a ,   7141 extern void g_array_sort(GArray *array , gint (*compare_func)(gconstpointer a ,
7142                                                               gconstpointer b ) ) ;   7142                                                               gconstpointer b ) ) ;
7143 extern void g_array_sort_with_data(GArray *array ,   7143 extern void g_array_sort_with_data(GArray *array ,
7144                                    gint (*compare_func)(gconstpointer a ,   7144                                    gint (*compare_func)(gconstpointer a ,
7145                                                         gconstpointer b ,   7145                                                         gconstpointer b ,
7146                                                         gpointer user_data ) ,   7146                                                         gpointer user_data ) ,
7147                                    gpointer user_data ) ;   7147                                    gpointer user_data ) ;
7148 extern GPtrArray *g_ptr_array_new(void) ;   7148 extern GPtrArray *g_ptr_array_new(void) ;
7149 extern GPtrArray *g_ptr_array_new_with_free_func(void (*element_free_func)(gpointer data ) ) ;   7149 extern GPtrArray *g_ptr_array_new_with_free_func(void (*element_free_func)(gpointer data ) ) ;
7150 extern GPtrArray *g_ptr_array_sized_new(guint reserved_size ) ;   7150 extern GPtrArray *g_ptr_array_sized_new(guint reserved_size ) ;
7151 extern gpointer *g_ptr_array_free(GPtrArray *array , gboolean free_seg ) ;   7151 extern gpointer *g_ptr_array_free(GPtrArray *array , gboolean free_seg ) ;
7152 extern GPtrArray *g_ptr_array_ref(GPtrArray *array ) ;   7152 extern GPtrArray *g_ptr_array_ref(GPtrArray *array ) ;
7153 extern void g_ptr_array_unref(GPtrArray *array ) ;   7153 extern void g_ptr_array_unref(GPtrArray *array ) ;
7154 extern void g_ptr_array_set_free_func(GPtrArray *array ,   7154 extern void g_ptr_array_set_free_func(GPtrArray *array ,
7155                                       void (*element_free_func)(gpointer data ) ) ;   7155                                       void (*element_free_func)(gpointer data ) ) ;
7156 extern void g_ptr_array_set_size(GPtrArray *array , gint length ) ;   7156 extern void g_ptr_array_set_size(GPtrArray *array , gint length ) ;
7157 extern gpointer g_ptr_array_remove_index(GPtrArray *array , guint index_ ) ;   7157 extern gpointer g_ptr_array_remove_index(GPtrArray *array , guint index_ ) ;
7158 extern gpointer g_ptr_array_remove_index_fast(GPtrArray *array , guint index_ ) ;   7158 extern gpointer g_ptr_array_remove_index_fast(GPtrArray *array , guint index_ ) ;
7159 extern gboolean g_ptr_array_remove(GPtrArray *array , gpointer data ) ;   7159 extern gboolean g_ptr_array_remove(GPtrArray *array , gpointer data ) ;
7160 extern gboolean g_ptr_array_remove_fast(GPtrArray *array , gpointer data ) ;   7160 extern gboolean g_ptr_array_remove_fast(GPtrArray *array , gpointer data ) ;
7161 extern void g_ptr_array_remove_range(GPtrArray *array , guint index_ ,   7161 extern void g_ptr_array_remove_range(GPtrArray *array , guint index_ ,
7162                                      guint length ) ;   7162                                      guint length ) ;
7163 extern void g_ptr_array_add(GPtrArray *array , gpointer data ) ;   7163 extern void g_ptr_array_add(GPtrArray *array , gpointer data ) ;
7164 extern void g_ptr_array_sort(GPtrArray *array ,   7164 extern void g_ptr_array_sort(GPtrArray *array ,
7165                              gint (*compare_func)(gconstpointer a ,   7165                              gint (*compare_func)(gconstpointer a ,
7166                                                   gconstpointer b ) ) ;   7166                                                   gconstpointer b ) ) ;
7167 extern void g_ptr_array_sort_with_data(GPtrArray *array ,   7167 extern void g_ptr_array_sort_with_data(GPtrArray *array ,
7168                                        gint (*compare_func)(gconstpointer a ,   7168                                        gint (*compare_func)(gconstpointer a ,
7169                                                             gconstpointer b ,   7169                                                             gconstpointer b ,
7170                                                             gpointer user_data ) ,   7170                                                             gpointer user_data ) ,
7171                                        gpointer user_data ) ;   7171                                        gpointer user_data ) ;
7172 extern void g_ptr_array_foreach(GPtrArray *array ,   7172 extern void g_ptr_array_foreach(GPtrArray *array ,
7173                                 void (*func)(gpointer data , gpointer user_data ) ,   7173                                 void (*func)(gpointer data , gpointer user_data ) ,
7174                                 gpointer user_data ) ;   7174                                 gpointer user_data ) ;
7175 extern GByteArray *g_byte_array_new(void) ;   7175 extern GByteArray *g_byte_array_new(void) ;
7176 extern GByteArray *g_byte_array_sized_new(guint reserved_size ) ;   7176 extern GByteArray *g_byte_array_sized_new(guint reserved_size ) ;
7177 extern guint8 *g_byte_array_free(GByteArray *array , gboolean free_segment ) ;   7177 extern guint8 *g_byte_array_free(GByteArray *array , gboolean free_segment ) ;
7178 extern GByteArray *g_byte_array_ref(GByteArray *array ) ;   7178 extern GByteArray *g_byte_array_ref(GByteArray *array ) ;
7179 extern void g_byte_array_unref(GByteArray *array ) ;   7179 extern void g_byte_array_unref(GByteArray *array ) ;
7180 extern GByteArray *g_byte_array_append(GByteArray *array ,   7180 extern GByteArray *g_byte_array_append(GByteArray *array ,
7181                                        guint8 const   *data , guint len ) ;   7181                                        guint8 const   *data , guint len ) ;
7182 extern GByteArray *g_byte_array_prepend(GByteArray *array ,   7182 extern GByteArray *g_byte_array_prepend(GByteArray *array ,
7183                                         guint8 const   *data , guint len ) ;   7183                                         guint8 const   *data , guint len ) ;
7184 extern GByteArray *g_byte_array_set_size(GByteArray *array , guint length ) ;   7184 extern GByteArray *g_byte_array_set_size(GByteArray *array , guint length ) ;
7185 extern GByteArray *g_byte_array_remove_index(GByteArray *array , guint index_ ) ;   7185 extern GByteArray *g_byte_array_remove_index(GByteArray *array , guint index_ ) ;
7186 extern GByteArray *g_byte_array_remove_index_fast(GByteArray *array ,   7186 extern GByteArray *g_byte_array_remove_index_fast(GByteArray *array ,
7187                                                   guint index_ ) ;   7187                                                   guint index_ ) ;
7188 extern GByteArray *g_byte_array_remove_range(GByteArray *array , guint index_ ,   7188 extern GByteArray *g_byte_array_remove_range(GByteArray *array , guint index_ ,
7189                                              guint length ) ;   7189                                              guint length ) ;
7190 extern void g_byte_array_sort(GByteArray *array ,   7190 extern void g_byte_array_sort(GByteArray *array ,
7191                               gint (*compare_func)(gconstpointer a ,   7191                               gint (*compare_func)(gconstpointer a ,
7192                                                    gconstpointer b ) ) ;   7192                                                    gconstpointer b ) ) ;
7193 extern void g_byte_array_sort_with_data(GByteArray *array ,   7193 extern void g_byte_array_sort_with_data(GByteArray *array ,
7194                                         gint (*compare_func)(gconstpointer a ,   7194                                         gint (*compare_func)(gconstpointer a ,
7195                                                              gconstpointer b ,   7195                                                              gconstpointer b ,
7196                                                              gpointer user_data ) ,   7196                                                              gpointer user_data ) ,
7197                                         gpointer user_data ) ;   7197                                         gpointer user_data ) ;
7198 extern GQuark g_quark_try_string(gchar const   *string ) ;   7198 extern GQuark g_quark_try_string(gchar const   *string ) ;
7199 extern GQuark g_quark_from_static_string(gchar const   *string ) ;   7199 extern GQuark g_quark_from_static_string(gchar const   *string ) ;
7200 extern GQuark g_quark_from_string(gchar const   *string ) ;   7200 extern GQuark g_quark_from_string(gchar const   *string ) ;
7201 extern gchar const   *g_quark_to_string(GQuark quark )  __attribute__((__const__)) ;   7201 extern gchar const   *g_quark_to_string(GQuark quark )  __attribute__((__const__)) ;
7202 extern gchar const   *g_intern_string(gchar const   *string ) ;   7202 extern gchar const   *g_intern_string(gchar const   *string ) ;
7203 extern gchar const   *g_intern_static_string(gchar const   *string ) ;   7203 extern gchar const   *g_intern_static_string(gchar const   *string ) ;
7204 extern GError *( /* format attribute */  g_error_new)(GQuark domain ,   7204 extern GError *( /* format attribute */  g_error_new)(GQuark domain ,
7205                                                       gint code ,   7205                                                       gint code ,
7206                                                       gchar const   *format   7206                                                       gchar const   *format
7207                                                       , ...) ;   7207                                                       , ...) ;
7208 extern GError *g_error_new_literal(GQuark domain , gint code ,   7208 extern GError *g_error_new_literal(GQuark domain , gint code ,
7209                                    gchar const   *message ) ;   7209                                    gchar const   *message ) ;
7210 extern GError *g_error_new_valist(GQuark domain , gint code ,   7210 extern GError *g_error_new_valist(GQuark domain , gint code ,
7211                                   gchar const   *format , va_list args ) ;   7211                                   gchar const   *format , va_list args ) ;
7212 extern void g_error_free(GError *error ) ;   7212 extern void g_error_free(GError *error ) ;
7213 extern GError *g_error_copy(GError const   *error ) ;   7213 extern GError *g_error_copy(GError const   *error ) ;
7214 extern gboolean g_error_matches(GError const   *error , GQuark domain ,   7214 extern gboolean g_error_matches(GError const   *error , GQuark domain ,
7215                                 gint code ) ;   7215                                 gint code ) ;
7216 extern void ( /* format attribute */  g_set_error)(GError **err ,   7216 extern void ( /* format attribute */  g_set_error)(GError **err ,
7217                                                    GQuark domain , gint code ,   7217                                                    GQuark domain , gint code ,
7218                                                    gchar const   *format  , ...) ;   7218                                                    gchar const   *format  , ...) ;
7219 extern void g_set_error_literal(GError **err , GQuark domain , gint code ,   7219 extern void g_set_error_literal(GError **err , GQuark domain , gint code ,
7220                                 gchar const   *message ) ;   7220                                 gchar const   *message ) ;
7221 extern void g_propagate_error(GError **dest , GError *src ) ;   7221 extern void g_propagate_error(GError **dest , GError *src ) ;
7222 extern void g_clear_error(GError **err ) ;   7222 extern void g_clear_error(GError **err ) ;
7223 extern void ( /* format attribute */  g_prefix_error)(GError **err ,   7223 extern void ( /* format attribute */  g_prefix_error)(GError **err ,
7224                                                       gchar const   *format   7224                                                       gchar const   *format
7225                                                       , ...) ;   7225                                                       , ...) ;
7226 extern void ( /* format attribute */  g_propagate_prefixed_error)(GError **dest ,   7226 extern void ( /* format attribute */  g_propagate_prefixed_error)(GError **dest ,
7227                                                                   GError *src ,   7227                                                                   GError *src ,
7228                                                                   gchar const   *format   7228                                                                   gchar const   *format
7229                                                                   , ...) ;   7229                                                                   , ...) ;
7230 extern gchar const   *g_get_user_name(void) ;   7230 extern gchar const   *g_get_user_name(void) ;
7231 extern gchar const   *g_get_real_name(void) ;   7231 extern gchar const   *g_get_real_name(void) ;
7232 extern gchar const   *g_get_home_dir(void) ;   7232 extern gchar const   *g_get_home_dir(void) ;
7233 extern gchar const   *g_get_tmp_dir(void) ;   7233 extern gchar const   *g_get_tmp_dir(void) ;
7234 extern gchar const   *g_get_host_name(void) ;   7234 extern gchar const   *g_get_host_name(void) ;
7235 extern gchar *g_get_prgname(void) ;   7235 extern gchar *g_get_prgname(void) ;
7236 extern void g_set_prgname(gchar const   *prgname ) ;   7236 extern void g_set_prgname(gchar const   *prgname ) ;
7237 extern gchar const   *g_get_application_name(void) ;   7237 extern gchar const   *g_get_application_name(void) ;
7238 extern void g_set_application_name(gchar const   *application_name ) ;   7238 extern void g_set_application_name(gchar const   *application_name ) ;
7239 extern void g_reload_user_special_dirs_cache(void) ;   7239 extern void g_reload_user_special_dirs_cache(void) ;
7240 extern gchar const   *g_get_user_data_dir(void) ;   7240 extern gchar const   *g_get_user_data_dir(void) ;
7241 extern gchar const   *g_get_user_config_dir(void) ;   7241 extern gchar const   *g_get_user_config_dir(void) ;
7242 extern gchar const   *g_get_user_cache_dir(void) ;   7242 extern gchar const   *g_get_user_cache_dir(void) ;
7243 extern gchar const   * const  *g_get_system_data_dirs(void) ;   7243 extern gchar const   * const  *g_get_system_data_dirs(void) ;
7244 extern gchar const   * const  *g_get_system_config_dirs(void) ;   7244 extern gchar const   * const  *g_get_system_config_dirs(void) ;
7245 extern gchar const   * const  *g_get_language_names(void) ;   7245 extern gchar const   * const  *g_get_language_names(void) ;
7246 extern gchar const   *g_get_user_special_dir(GUserDirectory directory ) ;   7246 extern gchar const   *g_get_user_special_dir(GUserDirectory directory ) ;
7247 extern guint g_parse_debug_string(gchar const   *string ,   7247 extern guint g_parse_debug_string(gchar const   *string ,
7248                                   GDebugKey const   *keys , guint nkeys ) ;   7248                                   GDebugKey const   *keys , guint nkeys ) ;
7249 extern gint ( /* format attribute */  g_snprintf)(gchar *string , gulong n ,   7249 extern gint ( /* format attribute */  g_snprintf)(gchar *string , gulong n ,
7250                                                   gchar const   *format  , ...) ;   7250                                                   gchar const   *format  , ...) ;
7251 extern gint g_vsnprintf(gchar *string , gulong n , gchar const   *format ,   7251 extern gint g_vsnprintf(gchar *string , gulong n , gchar const   *format ,
7252                         va_list args ) ;   7252                         va_list args ) ;
7253 extern gboolean g_path_is_absolute(gchar const   *file_name ) ;   7253 extern gboolean g_path_is_absolute(gchar const   *file_name ) ;
7254 extern gchar const   *g_path_skip_root(gchar const   *file_name ) ;   7254 extern gchar const   *g_path_skip_root(gchar const   *file_name ) ;
7255 extern gchar const   *g_basename(gchar const   *file_name ) ;   7255 extern gchar const   *g_basename(gchar const   *file_name ) ;
7256 extern gchar *g_get_current_dir(void) ;   7256 extern gchar *g_get_current_dir(void) ;
7257 extern gchar *g_path_get_basename(gchar const   *file_name )  __attribute__((__malloc__)) ;   7257 extern gchar *g_path_get_basename(gchar const   *file_name )  __attribute__((__malloc__)) ;
7258 extern gchar *g_path_get_dirname(gchar const   *file_name )  __attribute__((__malloc__)) ;   7258 extern gchar *g_path_get_dirname(gchar const   *file_name )  __attribute__((__malloc__)) ;
7259 extern void g_nullify_pointer(gpointer *nullify_location ) ;   7259 extern void g_nullify_pointer(gpointer *nullify_location ) ;
7260 extern gchar const   *g_getenv(gchar const   *variable ) ;   7260 extern gchar const   *g_getenv(gchar const   *variable ) ;
7261 extern gboolean g_setenv(gchar const   *variable , gchar const   *value ,   7261 extern gboolean g_setenv(gchar const   *variable , gchar const   *value ,
7262                          gboolean overwrite ) ;   7262                          gboolean overwrite ) ;
7263 extern void g_unsetenv(gchar const   *variable ) ;   7263 extern void g_unsetenv(gchar const   *variable ) ;
7264 extern gchar **g_listenv(void) ;   7264 extern gchar **g_listenv(void) ;
7265 extern gchar const   *_g_getenv_nomalloc(gchar const   *variable ,   7265 extern gchar const   *_g_getenv_nomalloc(gchar const   *variable ,
7266                                          gchar *buffer ) ;   7266                                          gchar *buffer ) ;
7267 extern void g_atexit(void (*func)(void) ) ;   7267 extern void g_atexit(void (*func)(void) ) ;
7268 extern gchar *g_find_program_in_path(gchar const   *program ) ;   7268 extern gchar *g_find_program_in_path(gchar const   *program ) ;
7269 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )  __attribute__((__unused__,   7269 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )  __attribute__((__unused__,
7270 __const__)) ;   7270 __const__)) ;
7271 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )  __attribute__((__unused__,   7271 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )  __attribute__((__unused__,
7272 __const__)) ;   7272 __const__)) ;
7273 __inline static guint g_bit_storage(gulong number )  __attribute__((__unused__,   7273 __inline static guint g_bit_storage(gulong number )  __attribute__((__unused__,
7274 __const__)) ;   7274 __const__)) ;
7275 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )  __attribute__((__unused__)) ;   7275 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )  __attribute__((__unused__)) ;
7276 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )  __attribute__((__unused__)) ;   7276 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )  __attribute__((__unused__)) ;
7277 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )  __attribute__((__unused__)) ;   7277 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )  __attribute__((__unused__)) ;
7278 __inline static guint g_trash_stack_height(GTrashStack **stack_p )  __attribute__((__unused__)) ;   7278 __inline static guint g_trash_stack_height(GTrashStack **stack_p )  __attribute__((__unused__)) ;
7279 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )  __attribute__((__unused__,   7279 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )  __attribute__((__unused__,
7280 __const__)) ;   7280 __const__)) ;
7281 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )   7281 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )
7282 {   7282 {
7283   int _g_boolean_var_ ;   7283   int _g_boolean_var_ ;
7284   long tmp ;   7284   long tmp ;
7285     7285  
7286   {   7286   {
7287   if (nth_bit < -1) {   7287   if (nth_bit < -1) {
7288     _g_boolean_var_ = 1;   7288     _g_boolean_var_ = 1;
7289   } else {   7289   } else {
7290     _g_boolean_var_ = 0;   7290     _g_boolean_var_ = 0;
7291   }   7291   }
7292   tmp = __builtin_expect((long )_g_boolean_var_, 0L);   7292   tmp = __builtin_expect((long )_g_boolean_var_, 0L);
7293   if (tmp) {   7293   if (tmp) {
7294     nth_bit = -1;   7294     nth_bit = -1;
7295   } else {   7295   } else {
7296     7296  
7297   }   7297   }
7298   while (nth_bit < 31) {   7298   while (nth_bit < 31) {
7299     nth_bit ++;   7299     nth_bit ++;
7300     if (mask & (1UL << nth_bit)) {   7300     if (mask & (1UL << nth_bit)) {
7301       return (nth_bit);   7301       return (nth_bit);
7302     } else {   7302     } else {
7303     7303  
7304     }   7304     }
7305   }   7305   }
7306   return (-1);   7306   return (-1);
7307 }   7307 }
7308 }   7308 }
7309 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )  __attribute__((__unused__,   7309 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )  __attribute__((__unused__,
7310 __const__)) ;   7310 __const__)) ;
7311 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )   7311 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )
7312 {   7312 {
7313   int _g_boolean_var_ ;   7313   int _g_boolean_var_ ;
7314   long tmp ;   7314   long tmp ;
7315     7315  
7316   {   7316   {
7317   if (nth_bit < 0) {   7317   if (nth_bit < 0) {
7318     nth_bit = 32;   7318     nth_bit = 32;
7319   } else {   7319   } else {
7320     if (nth_bit > 32) {   7320     if (nth_bit > 32) {
7321       _g_boolean_var_ = 1;   7321       _g_boolean_var_ = 1;
7322     } else {   7322     } else {
7323       _g_boolean_var_ = 0;   7323       _g_boolean_var_ = 0;
7324     }   7324     }
7325     tmp = __builtin_expect((long )_g_boolean_var_, 0L);   7325     tmp = __builtin_expect((long )_g_boolean_var_, 0L);
7326     if (tmp) {   7326     if (tmp) {
7327       nth_bit = 32;   7327       nth_bit = 32;
7328     } else {   7328     } else {
7329     7329  
7330     }   7330     }
7331   }   7331   }
7332   while (nth_bit > 0) {   7332   while (nth_bit > 0) {
7333     nth_bit --;   7333     nth_bit --;
7334     if (mask & (1UL << nth_bit)) {   7334     if (mask & (1UL << nth_bit)) {
7335       return (nth_bit);   7335       return (nth_bit);
7336     } else {   7336     } else {
7337     7337  
7338     }   7338     }
7339   }   7339   }
7340   return (-1);   7340   return (-1);
7341 }   7341 }
7342 }   7342 }
7343 __inline static guint g_bit_storage(gulong number )  __attribute__((__unused__,   7343 __inline static guint g_bit_storage(gulong number )  __attribute__((__unused__,
7344 __const__)) ;   7344 __const__)) ;
7345 __inline static guint g_bit_storage(gulong number )   7345 __inline static guint g_bit_storage(gulong number )
7346 {   7346 {
7347   int _g_boolean_var_ ;   7347   int _g_boolean_var_ ;
7348   long tmp ;   7348   long tmp ;
7349   int tmp___0 ;   7349   int tmp___0 ;
7350   int tmp___1 ;   7350   int tmp___1 ;
7351   int _g_boolean_var____0 ;   7351   int _g_boolean_var____0 ;
7352   long tmp___2 ;   7352   long tmp___2 ;
7353     7353  
7354   {   7354   {
7355   if (number) {   7355   if (number) {
7356     _g_boolean_var____0 = 1;   7356     _g_boolean_var____0 = 1;
7357   } else {   7357   } else {
7358     _g_boolean_var____0 = 0;   7358     _g_boolean_var____0 = 0;
7359   }   7359   }
7360   tmp___2 = __builtin_expect((long )_g_boolean_var____0, 1L);   7360   tmp___2 = __builtin_expect((long )_g_boolean_var____0, 1L);
7361   if (tmp___2) {   7361   if (tmp___2) {
7362     tmp___0 = __builtin_clzl(number);   7362     tmp___0 = __builtin_clzl(number);
7363     tmp___1 = (31 ^ tmp___0) + 1;   7363     tmp___1 = (31 ^ tmp___0) + 1;
7364   } else {   7364   } else {
7365     tmp___1 = 1;   7365     tmp___1 = 1;
7366   }   7366   }
7367   return ((guint )tmp___1);   7367   return ((guint )tmp___1);
7368 }   7368 }
7369 }   7369 }
7370 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )  __attribute__((__unused__)) ;   7370 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )  __attribute__((__unused__)) ;
7371 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )   7371 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )
7372 {   7372 {
7373   GTrashStack *data ;   7373   GTrashStack *data ;
7374     7374  
7375   {   7375   {
7376   data = (GTrashStack *)data_p;   7376   data = (GTrashStack *)data_p;
7377   data->next = *stack_p;   7377   data->next = *stack_p;
7378   *stack_p = data;   7378   *stack_p = data;
7379   return;   7379   return;
7380 }   7380 }
7381 }   7381 }
7382 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )  __attribute__((__unused__)) ;   7382 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )  __attribute__((__unused__)) ;
7383 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )   7383 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )
7384 {   7384 {
7385   GTrashStack *data ;   7385   GTrashStack *data ;
7386     7386  
7387   {   7387   {
7388   data = *stack_p;   7388   data = *stack_p;
7389   if (data) {   7389   if (data) {
7390     *stack_p = data->next;   7390     *stack_p = data->next;
7391     data->next = (GTrashStack *)((void *)0);   7391     data->next = (GTrashStack *)((void *)0);
7392   } else {   7392   } else {
7393     7393  
7394   }   7394   }
7395   return ((gpointer )data);   7395   return ((gpointer )data);
7396 }   7396 }
7397 }   7397 }
7398 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )  __attribute__((__unused__)) ;   7398 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )  __attribute__((__unused__)) ;
7399 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )   7399 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )
7400 {   7400 {
7401   GTrashStack *data ;   7401   GTrashStack *data ;
7402     7402  
7403   {   7403   {
7404   data = *stack_p;   7404   data = *stack_p;
7405   return ((gpointer )data);   7405   return ((gpointer )data);
7406 }   7406 }
7407 }   7407 }
7408 __inline static guint g_trash_stack_height(GTrashStack **stack_p )  __attribute__((__unused__)) ;   7408 __inline static guint g_trash_stack_height(GTrashStack **stack_p )  __attribute__((__unused__)) ;
7409 __inline static guint g_trash_stack_height(GTrashStack **stack_p )   7409 __inline static guint g_trash_stack_height(GTrashStack **stack_p )
7410 {   7410 {
7411   GTrashStack *data ;   7411   GTrashStack *data ;
7412   guint i ;   7412   guint i ;
7413     7413  
7414   {   7414   {
7415   i = (guint )0;   7415   i = (guint )0;
7416   data = *stack_p;   7416   data = *stack_p;
7417   while (data) {   7417   while (data) {
7418     i ++;   7418     i ++;
7419     data = data->next;   7419     data = data->next;
7420   }   7420   }
7421   return (i);   7421   return (i);
7422 }   7422 }
7423 }   7423 }
7424 extern guint const   glib_major_version ;   7424 extern guint const   glib_major_version ;
7425 extern guint const   glib_minor_version ;   7425 extern guint const   glib_minor_version ;
7426 extern guint const   glib_micro_version ;   7426 extern guint const   glib_micro_version ;
7427 extern guint const   glib_interface_age ;   7427 extern guint const   glib_interface_age ;
7428 extern guint const   glib_binary_age ;   7428 extern guint const   glib_binary_age ;
7429 extern gchar const   *glib_check_version(guint required_major ,   7429 extern gchar const   *glib_check_version(guint required_major ,
7430                                          guint required_minor ,   7430                                          guint required_minor ,
7431                                          guint required_micro ) ;   7431                                          guint required_micro ) ;
7432 extern gint g_atomic_int_exchange_and_add(gint volatile __attribute__((__may_alias__))  *atomic ,   7432 extern gint g_atomic_int_exchange_and_add(gint volatile __attribute__((__may_alias__))  *atomic ,
7433                                           gint val ) ;   7433                                           gint val ) ;
7434 extern void g_atomic_int_add(gint volatile __attribute__((__may_alias__))  *atomic ,   7434 extern void g_atomic_int_add(gint volatile __attribute__((__may_alias__))  *atomic ,
7435                              gint val ) ;   7435                              gint val ) ;
7436 extern gboolean g_atomic_int_compare_and_exchange(gint volatile __attribute__((__may_alias__))  *atomic ,   7436 extern gboolean g_atomic_int_compare_and_exchange(gint volatile __attribute__((__may_alias__))  *atomic ,
7437                                                   gint oldval , gint newval ) ;   7437                                                   gint oldval , gint newval ) ;
7438 extern gboolean g_atomic_pointer_compare_and_exchange(gpointer volatile __attribute__((__may_alias__))  *atomic ,   7438 extern gboolean g_atomic_pointer_compare_and_exchange(gpointer volatile __attribute__((__may_alias__))  *atomic ,
7439                                                       gpointer oldval ,   7439                                                       gpointer oldval ,
7440                                                       gpointer newval ) ;   7440                                                       gpointer newval ) ;
7441 extern gint g_atomic_int_get(gint volatile __attribute__((__may_alias__))  *atomic ) ;   7441 extern gint g_atomic_int_get(gint volatile __attribute__((__may_alias__))  *atomic ) ;
7442 extern void g_atomic_int_set(gint volatile __attribute__((__may_alias__))  *atomic ,   7442 extern void g_atomic_int_set(gint volatile __attribute__((__may_alias__))  *atomic ,
7443                              gint newval ) ;   7443                              gint newval ) ;
7444 extern gpointer g_atomic_pointer_get(gpointer volatile __attribute__((__may_alias__))  *atomic ) ;   7444 extern gpointer g_atomic_pointer_get(gpointer volatile __attribute__((__may_alias__))  *atomic ) ;
7445 extern void g_atomic_pointer_set(gpointer volatile __attribute__((__may_alias__))  *atomic ,   7445 extern void g_atomic_pointer_set(gpointer volatile __attribute__((__may_alias__))  *atomic ,
7446                                  gpointer newval ) ;   7446                                  gpointer newval ) ;
7447 extern GQuark g_thread_error_quark(void) ;   7447 extern GQuark g_thread_error_quark(void) ;
7448 extern GThreadFunctions g_thread_functions_for_glib_use ;   7448 extern GThreadFunctions g_thread_functions_for_glib_use ;
7449 extern gboolean g_thread_use_default_impl ;   7449 extern gboolean g_thread_use_default_impl ;
7450 extern gboolean g_threads_got_initialized ;   7450 extern gboolean g_threads_got_initialized ;
7451 extern guint64 (*g_thread_gettime)(void) ;   7451 extern guint64 (*g_thread_gettime)(void) ;
7452 extern void g_thread_init(GThreadFunctions *vtable ) ;   7452 extern void g_thread_init(GThreadFunctions *vtable ) ;
7453 extern void g_thread_init_with_errorcheck_mutexes(GThreadFunctions *vtable ) ;   7453 extern void g_thread_init_with_errorcheck_mutexes(GThreadFunctions *vtable ) ;
7454 extern gboolean g_thread_get_initialized(void) ;   7454 extern gboolean g_thread_get_initialized(void) ;
7455 extern GMutex *g_static_mutex_get_mutex_impl(GMutex **mutex ) ;   7455 extern GMutex *g_static_mutex_get_mutex_impl(GMutex **mutex ) ;
7456 extern GThread *g_thread_create_full(gpointer (*func)(gpointer data ) ,   7456 extern GThread *g_thread_create_full(gpointer (*func)(gpointer data ) ,
7457                                      gpointer data , gulong stack_size ,   7457                                      gpointer data , gulong stack_size ,
7458                                      gboolean joinable , gboolean bound ,   7458                                      gboolean joinable , gboolean bound ,
7459                                      GThreadPriority priority , GError **error ) ;   7459                                      GThreadPriority priority , GError **error ) ;
7460 extern GThread *g_thread_self(void) ;   7460 extern GThread *g_thread_self(void) ;
7461 extern void g_thread_exit(gpointer retval ) ;   7461 extern void g_thread_exit(gpointer retval ) ;
7462 extern gpointer g_thread_join(GThread *thread ) ;   7462 extern gpointer g_thread_join(GThread *thread ) ;
7463 extern void g_thread_set_priority(GThread *thread , GThreadPriority priority ) ;   7463 extern void g_thread_set_priority(GThread *thread , GThreadPriority priority ) ;
7464 extern void g_static_mutex_init(GStaticMutex *mutex ) ;   7464 extern void g_static_mutex_init(GStaticMutex *mutex ) ;
7465 extern void g_static_mutex_free(GStaticMutex *mutex ) ;   7465 extern void g_static_mutex_free(GStaticMutex *mutex ) ;
7466 extern void g_static_private_init(GStaticPrivate *private_key ) ;   7466 extern void g_static_private_init(GStaticPrivate *private_key ) ;
7467 extern gpointer g_static_private_get(GStaticPrivate *private_key ) ;   7467 extern gpointer g_static_private_get(GStaticPrivate *private_key ) ;
7468 extern void g_static_private_set(GStaticPrivate *private_key , gpointer data ,   7468 extern void g_static_private_set(GStaticPrivate *private_key , gpointer data ,
7469                                  void (*notify)(gpointer data ) ) ;   7469                                  void (*notify)(gpointer data ) ) ;
7470 extern void g_static_private_free(GStaticPrivate *private_key ) ;   7470 extern void g_static_private_free(GStaticPrivate *private_key ) ;
7471 extern void g_static_rec_mutex_init(GStaticRecMutex *mutex ) ;   7471 extern void g_static_rec_mutex_init(GStaticRecMutex *mutex ) ;
7472 extern void g_static_rec_mutex_lock(GStaticRecMutex *mutex ) ;   7472 extern void g_static_rec_mutex_lock(GStaticRecMutex *mutex ) ;
7473 extern gboolean g_static_rec_mutex_trylock(GStaticRecMutex *mutex ) ;   7473 extern gboolean g_static_rec_mutex_trylock(GStaticRecMutex *mutex ) ;
7474 extern void g_static_rec_mutex_unlock(GStaticRecMutex *mutex ) ;   7474 extern void g_static_rec_mutex_unlock(GStaticRecMutex *mutex ) ;
7475 extern void g_static_rec_mutex_lock_full(GStaticRecMutex *mutex , guint depth ) ;   7475 extern void g_static_rec_mutex_lock_full(GStaticRecMutex *mutex , guint depth ) ;
7476 extern guint g_static_rec_mutex_unlock_full(GStaticRecMutex *mutex ) ;   7476 extern guint g_static_rec_mutex_unlock_full(GStaticRecMutex *mutex ) ;
7477 extern void g_static_rec_mutex_free(GStaticRecMutex *mutex ) ;   7477 extern void g_static_rec_mutex_free(GStaticRecMutex *mutex ) ;
7478 extern void g_static_rw_lock_init(GStaticRWLock *lock ) ;   7478 extern void g_static_rw_lock_init(GStaticRWLock *lock ) ;
7479 extern void g_static_rw_lock_reader_lock(GStaticRWLock *lock ) ;   7479 extern void g_static_rw_lock_reader_lock(GStaticRWLock *lock ) ;
7480 extern gboolean g_static_rw_lock_reader_trylock(GStaticRWLock *lock ) ;   7480 extern gboolean g_static_rw_lock_reader_trylock(GStaticRWLock *lock ) ;
7481 extern void g_static_rw_lock_reader_unlock(GStaticRWLock *lock ) ;   7481 extern void g_static_rw_lock_reader_unlock(GStaticRWLock *lock ) ;
7482 extern void g_static_rw_lock_writer_lock(GStaticRWLock *lock ) ;   7482 extern void g_static_rw_lock_writer_lock(GStaticRWLock *lock ) ;
7483 extern gboolean g_static_rw_lock_writer_trylock(GStaticRWLock *lock ) ;   7483 extern gboolean g_static_rw_lock_writer_trylock(GStaticRWLock *lock ) ;
7484 extern void g_static_rw_lock_writer_unlock(GStaticRWLock *lock ) ;   7484 extern void g_static_rw_lock_writer_unlock(GStaticRWLock *lock ) ;
7485 extern void g_static_rw_lock_free(GStaticRWLock *lock ) ;   7485 extern void g_static_rw_lock_free(GStaticRWLock *lock ) ;
7486 extern void g_thread_foreach(void (*thread_func)(gpointer data ,   7486 extern void g_thread_foreach(void (*thread_func)(gpointer data ,
7487                                                  gpointer user_data ) ,   7487                                                  gpointer user_data ) ,
7488                              gpointer user_data ) ;   7488                              gpointer user_data ) ;
7489 extern gpointer g_once_impl(GOnce *once , gpointer (*func)(gpointer data ) ,   7489 extern gpointer g_once_impl(GOnce *once , gpointer (*func)(gpointer data ) ,
7490                             gpointer arg ) ;   7490                             gpointer arg ) ;
7491 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )  __attribute__((__unused__)) ;   7491 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )  __attribute__((__unused__)) ;
7492 extern gboolean g_once_init_enter_impl(gsize volatile   *value_location ) ;   7492 extern gboolean g_once_init_enter_impl(gsize volatile   *value_location ) ;
7493 extern void g_once_init_leave(gsize volatile   *value_location ,   7493 extern void g_once_init_leave(gsize volatile   *value_location ,
7494                               gsize initialization_value ) ;   7494                               gsize initialization_value ) ;
7495 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )  __attribute__((__unused__)) ;   7495 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )  __attribute__((__unused__)) ;
7496 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )   7496 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )
7497 {   7497 {
7498   gboolean tmp ;   7498   gboolean tmp ;
7499   int _g_boolean_var_ ;   7499   int _g_boolean_var_ ;
7500   gpointer tmp___0 ;   7500   gpointer tmp___0 ;
7501   long tmp___1 ;   7501   long tmp___1 ;
7502     7502  
7503   {   7503   {
7504   tmp___0 = g_atomic_pointer_get((gpointer volatile __attribute__((__may_alias__))  *)((void *)value_location));   7504   tmp___0 = g_atomic_pointer_get((gpointer volatile __attribute__((__may_alias__))  *)((void *)value_location));
7505   if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {   7505   if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {
7506     _g_boolean_var_ = 1;   7506     _g_boolean_var_ = 1;
7507   } else {   7507   } else {
7508     _g_boolean_var_ = 0;   7508     _g_boolean_var_ = 0;
7509   }   7509   }
7510   tmp___1 = __builtin_expect((long )_g_boolean_var_, 1L);   7510   tmp___1 = __builtin_expect((long )_g_boolean_var_, 1L);
7511   if (tmp___1) {   7511   if (tmp___1) {
7512     return (0);   7512     return (0);
7513   } else {   7513   } else {
7514     tmp = g_once_init_enter_impl(value_location);   7514     tmp = g_once_init_enter_impl(value_location);
7515     return (tmp);   7515     return (tmp);
7516   }   7516   }
7517 }   7517 }
7518 }   7518 }
7519 extern void glib_dummy_decl(void) ;   7519 extern void glib_dummy_decl(void) ;
7520 extern GAsyncQueue *g_async_queue_new(void) ;   7520 extern GAsyncQueue *g_async_queue_new(void) ;
7521 extern GAsyncQueue *g_async_queue_new_full(void (*item_free_func)(gpointer data ) ) ;   7521 extern GAsyncQueue *g_async_queue_new_full(void (*item_free_func)(gpointer data ) ) ;
7522 extern void g_async_queue_lock(GAsyncQueue *queue ) ;   7522 extern void g_async_queue_lock(GAsyncQueue *queue ) ;
7523 extern void g_async_queue_unlock(GAsyncQueue *queue ) ;   7523 extern void g_async_queue_unlock(GAsyncQueue *queue ) ;
7524 extern GAsyncQueue *g_async_queue_ref(GAsyncQueue *queue ) ;   7524 extern GAsyncQueue *g_async_queue_ref(GAsyncQueue *queue ) ;
7525 extern void g_async_queue_unref(GAsyncQueue *queue ) ;   7525 extern void g_async_queue_unref(GAsyncQueue *queue ) ;
7526 extern void g_async_queue_ref_unlocked(GAsyncQueue *queue ) ;   7526 extern void g_async_queue_ref_unlocked(GAsyncQueue *queue ) ;
7527 extern void g_async_queue_unref_and_unlock(GAsyncQueue *queue ) ;   7527 extern void g_async_queue_unref_and_unlock(GAsyncQueue *queue ) ;
7528 extern void g_async_queue_push(GAsyncQueue *queue , gpointer data ) ;   7528 extern void g_async_queue_push(GAsyncQueue *queue , gpointer data ) ;
7529 extern void g_async_queue_push_unlocked(GAsyncQueue *queue , gpointer data ) ;   7529 extern void g_async_queue_push_unlocked(GAsyncQueue *queue , gpointer data ) ;
7530 extern void g_async_queue_push_sorted(GAsyncQueue *queue , gpointer data ,   7530 extern void g_async_queue_push_sorted(GAsyncQueue *queue , gpointer data ,
7531                                       gint (*func)(gconstpointer a ,   7531                                       gint (*func)(gconstpointer a ,
7532                                                    gconstpointer b ,   7532                                                    gconstpointer b ,
7533                                                    gpointer user_data ) ,   7533                                                    gpointer user_data ) ,
7534                                       gpointer user_data ) ;   7534                                       gpointer user_data ) ;
7535 extern void g_async_queue_push_sorted_unlocked(GAsyncQueue *queue ,   7535 extern void g_async_queue_push_sorted_unlocked(GAsyncQueue *queue ,
7536                                                gpointer data ,   7536                                                gpointer data ,
7537                                                gint (*func)(gconstpointer a ,   7537                                                gint (*func)(gconstpointer a ,
7538                                                             gconstpointer b ,   7538                                                             gconstpointer b ,
7539                                                             gpointer user_data ) ,   7539                                                             gpointer user_data ) ,
7540                                                gpointer user_data ) ;   7540                                                gpointer user_data ) ;
7541 extern gpointer g_async_queue_pop(GAsyncQueue *queue ) ;   7541 extern gpointer g_async_queue_pop(GAsyncQueue *queue ) ;
7542 extern gpointer g_async_queue_pop_unlocked(GAsyncQueue *queue ) ;   7542 extern gpointer g_async_queue_pop_unlocked(GAsyncQueue *queue ) ;
7543 extern gpointer g_async_queue_try_pop(GAsyncQueue *queue ) ;   7543 extern gpointer g_async_queue_try_pop(GAsyncQueue *queue ) ;
7544 extern gpointer g_async_queue_try_pop_unlocked(GAsyncQueue *queue ) ;   7544 extern gpointer g_async_queue_try_pop_unlocked(GAsyncQueue *queue ) ;
7545 extern gpointer g_async_queue_timed_pop(GAsyncQueue *queue , GTimeVal *end_time ) ;   7545 extern gpointer g_async_queue_timed_pop(GAsyncQueue *queue , GTimeVal *end_time ) ;
7546 extern gpointer g_async_queue_timed_pop_unlocked(GAsyncQueue *queue ,   7546 extern gpointer g_async_queue_timed_pop_unlocked(GAsyncQueue *queue ,
7547                                                  GTimeVal *end_time ) ;   7547                                                  GTimeVal *end_time ) ;
7548 extern gint g_async_queue_length(GAsyncQueue *queue ) ;   7548 extern gint g_async_queue_length(GAsyncQueue *queue ) ;
7549 extern gint g_async_queue_length_unlocked(GAsyncQueue *queue ) ;   7549 extern gint g_async_queue_length_unlocked(GAsyncQueue *queue ) ;
7550 extern void g_async_queue_sort(GAsyncQueue *queue ,   7550 extern void g_async_queue_sort(GAsyncQueue *queue ,
7551                                gint (*func)(gconstpointer a , gconstpointer b ,   7551                                gint (*func)(gconstpointer a , gconstpointer b ,
7552                                             gpointer user_data ) ,   7552                                             gpointer user_data ) ,
7553                                gpointer user_data ) ;   7553                                gpointer user_data ) ;
7554 extern void g_async_queue_sort_unlocked(GAsyncQueue *queue ,   7554 extern void g_async_queue_sort_unlocked(GAsyncQueue *queue ,
7555                                         gint (*func)(gconstpointer a ,   7555                                         gint (*func)(gconstpointer a ,
7556                                                      gconstpointer b ,   7556                                                      gconstpointer b ,
7557                                                      gpointer user_data ) ,   7557                                                      gpointer user_data ) ,
7558                                         gpointer user_data ) ;   7558                                         gpointer user_data ) ;
7559 extern GMutex *_g_async_queue_get_mutex(GAsyncQueue *queue ) ;   7559 extern GMutex *_g_async_queue_get_mutex(GAsyncQueue *queue ) ;
7560 __inline extern int __attribute__((__gnu_inline__))  __sigismember(__sigset_t const   *__set ,   7560 __inline extern int __attribute__((__gnu_inline__))  __sigismember(__sigset_t const   *__set ,
7561                                                                    int __sig ) ;   7561                                                                    int __sig ) ;
7562 __inline extern int __attribute__((__gnu_inline__))  __sigaddset(__sigset_t *__set ,   7562 __inline extern int __attribute__((__gnu_inline__))  __sigaddset(__sigset_t *__set ,
7563                                                                  int __sig ) ;   7563                                                                  int __sig ) ;
7564 __inline extern int __attribute__((__gnu_inline__))  __sigdelset(__sigset_t *__set ,   7564 __inline extern int __attribute__((__gnu_inline__))  __sigdelset(__sigset_t *__set ,
7565                                                                  int __sig ) ;   7565                                                                  int __sig ) ;
7566 __inline extern int __attribute__((__gnu_inline__))  __sigismember(__sigset_t const   *__set ,   7566 __inline extern int __attribute__((__gnu_inline__))  __sigismember(__sigset_t const   *__set ,
7567                                                                    int __sig )   7567                                                                    int __sig )
7568 {   7568 {
7569   unsigned long __mask ;   7569   unsigned long __mask ;
7570   unsigned long __word ;   7570   unsigned long __word ;
7571   int tmp ;   7571   int tmp ;
7572     7572  
7573   {   7573   {
7574   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));   7574   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));
7575   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));   7575   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));
7576   if (__set->__val[__word] & __mask) {   7576   if (__set->__val[__word] & __mask) {
7577     tmp = 1;   7577     tmp = 1;
7578   } else {   7578   } else {
7579     tmp = 0;   7579     tmp = 0;
7580   }   7580   }
7581   return ((int __attribute__((__gnu_inline__))  )tmp);   7581   return ((int __attribute__((__gnu_inline__))  )tmp);
7582 }   7582 }
7583 }   7583 }
7584 __inline extern int __attribute__((__gnu_inline__))  __sigaddset(__sigset_t *__set ,   7584 __inline extern int __attribute__((__gnu_inline__))  __sigaddset(__sigset_t *__set ,
7585                                                                  int __sig )   7585                                                                  int __sig )
7586 {   7586 {
7587   unsigned long __mask ;   7587   unsigned long __mask ;
7588   unsigned long __word ;   7588   unsigned long __word ;
7589     7589  
7590   {   7590   {
7591   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));   7591   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));
7592   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));   7592   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));
7593   __set->__val[__word] |= __mask;   7593   __set->__val[__word] |= __mask;
7594   return ((int __attribute__((__gnu_inline__))  )0);   7594   return ((int __attribute__((__gnu_inline__))  )0);
7595 }   7595 }
7596 }   7596 }
7597 __inline extern int __attribute__((__gnu_inline__))  __sigdelset(__sigset_t *__set ,   7597 __inline extern int __attribute__((__gnu_inline__))  __sigdelset(__sigset_t *__set ,
7598                                                                  int __sig )   7598                                                                  int __sig )
7599 {   7599 {
7600   unsigned long __mask ;   7600   unsigned long __mask ;
7601   unsigned long __word ;   7601   unsigned long __word ;
7602     7602  
7603   {   7603   {
7604   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));   7604   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));
7605   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));   7605   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));
7606   __set->__val[__word] &= ~ __mask;   7606   __set->__val[__word] &= ~ __mask;
7607   return ((int __attribute__((__gnu_inline__))  )0);   7607   return ((int __attribute__((__gnu_inline__))  )0);
7608 }   7608 }
7609 }   7609 }
7610 extern  __attribute__((__nothrow__)) __sighandler_t __sysv_signal(int __sig ,   7610 extern  __attribute__((__nothrow__)) __sighandler_t __sysv_signal(int __sig ,
7611                                                                   void (*__handler)(int  ) ) ;   7611                                                                   void (*__handler)(int  ) ) ;
7612 extern  __attribute__((__nothrow__)) __sighandler_t signal(int __sig ,   7612 extern  __attribute__((__nothrow__)) __sighandler_t signal(int __sig ,
7613                                                            void (*__handler)(int  ) ) ;   7613                                                            void (*__handler)(int  ) ) ;
7614 extern  __attribute__((__nothrow__)) int kill(__pid_t __pid , int __sig ) ;   7614 extern  __attribute__((__nothrow__)) int kill(__pid_t __pid , int __sig ) ;
7615 extern  __attribute__((__nothrow__)) int killpg(__pid_t __pgrp , int __sig ) ;   7615 extern  __attribute__((__nothrow__)) int killpg(__pid_t __pgrp , int __sig ) ;
7616 extern  __attribute__((__nothrow__)) int raise(int __sig ) ;   7616 extern  __attribute__((__nothrow__)) int raise(int __sig ) ;
7617 extern  __attribute__((__nothrow__)) __sighandler_t ssignal(int __sig ,   7617 extern  __attribute__((__nothrow__)) __sighandler_t ssignal(int __sig ,
7618                                                             void (*__handler)(int  ) ) ;   7618                                                             void (*__handler)(int  ) ) ;
7619 extern  __attribute__((__nothrow__)) int gsignal(int __sig ) ;   7619 extern  __attribute__((__nothrow__)) int gsignal(int __sig ) ;
7620 extern void psignal(int __sig , char const   *__s ) ;   7620 extern void psignal(int __sig , char const   *__s ) ;
7621 extern void psiginfo(siginfo_t const   *__pinfo , char const   *__s ) ;   7621 extern void psiginfo(siginfo_t const   *__pinfo , char const   *__s ) ;
7622 extern int __sigpause(int __sig_or_mask , int __is_sig ) ;   7622 extern int __sigpause(int __sig_or_mask , int __is_sig ) ;
7623 extern  __attribute__((__nothrow__)) int sigblock(int __mask )  __attribute__((__deprecated__)) ;   7623 extern  __attribute__((__nothrow__)) int sigblock(int __mask )  __attribute__((__deprecated__)) ;
7624 extern  __attribute__((__nothrow__)) int sigsetmask(int __mask )  __attribute__((__deprecated__)) ;   7624 extern  __attribute__((__nothrow__)) int sigsetmask(int __mask )  __attribute__((__deprecated__)) ;
7625 extern  __attribute__((__nothrow__)) int siggetmask(void)  __attribute__((__deprecated__)) ;   7625 extern  __attribute__((__nothrow__)) int siggetmask(void)  __attribute__((__deprecated__)) ;
7626 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigemptyset)(sigset_t *__set ) ;   7626 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigemptyset)(sigset_t *__set ) ;
7627 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigfillset)(sigset_t *__set ) ;   7627 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigfillset)(sigset_t *__set ) ;
7628 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigaddset)(sigset_t *__set ,   7628 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigaddset)(sigset_t *__set ,
7629                                                                                       int __signo ) ;   7629                                                                                       int __signo ) ;
7630 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigdelset)(sigset_t *__set ,   7630 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigdelset)(sigset_t *__set ,
7631                                                                                       int __signo ) ;   7631                                                                                       int __signo ) ;
7632 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigismember)(sigset_t const   *__set ,   7632 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigismember)(sigset_t const   *__set ,
7633                                                                                         int __signo ) ;   7633                                                                                         int __signo ) ;
7634 extern  __attribute__((__nothrow__)) int sigprocmask(int __how ,   7634 extern  __attribute__((__nothrow__)) int sigprocmask(int __how ,
7635                                                      sigset_t const   * __restrict  __set ,   7635                                                      sigset_t const   * __restrict  __set ,
7636                                                      sigset_t * __restrict  __oset ) ;   7636                                                      sigset_t * __restrict  __oset ) ;
7637 extern int ( __attribute__((__nonnull__(1))) sigsuspend)(sigset_t const   *__set ) ;   7637 extern int ( __attribute__((__nonnull__(1))) sigsuspend)(sigset_t const   *__set ) ;
7638 extern  __attribute__((__nothrow__)) int sigaction(int __sig ,   7638 extern  __attribute__((__nothrow__)) int sigaction(int __sig ,
7639                                                    struct sigaction  const  * __restrict  __act ,   7639                                                    struct sigaction  const  * __restrict  __act ,
7640                                                    struct sigaction * __restrict  __oact ) ;   7640                                                    struct sigaction * __restrict  __oact ) ;
7641 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigpending)(sigset_t *__set ) ;   7641 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigpending)(sigset_t *__set ) ;
7642 extern int ( __attribute__((__nonnull__(1,2))) sigwait)(sigset_t const   * __restrict  __set ,   7642 extern int ( __attribute__((__nonnull__(1,2))) sigwait)(sigset_t const   * __restrict  __set ,
7643                                                         int * __restrict  __sig ) ;   7643                                                         int * __restrict  __sig ) ;
7644 extern int ( __attribute__((__nonnull__(1))) sigwaitinfo)(sigset_t const   * __restrict  __set ,   7644 extern int ( __attribute__((__nonnull__(1))) sigwaitinfo)(sigset_t const   * __restrict  __set ,
7645                                                           siginfo_t * __restrict  __info ) ;   7645                                                           siginfo_t * __restrict  __info ) ;
7646 extern int ( __attribute__((__nonnull__(1))) sigtimedwait)(sigset_t const   * __restrict  __set ,   7646 extern int ( __attribute__((__nonnull__(1))) sigtimedwait)(sigset_t const   * __restrict  __set ,
7647                                                            siginfo_t * __restrict  __info ,   7647                                                            siginfo_t * __restrict  __info ,
7648                                                            struct timespec  const  * __restrict  __timeout ) ;   7648                                                            struct timespec  const  * __restrict  __timeout ) ;
7649 extern  __attribute__((__nothrow__)) int sigqueue(__pid_t __pid , int __sig ,   7649 extern  __attribute__((__nothrow__)) int sigqueue(__pid_t __pid , int __sig ,
7650                                                   union sigval  const  __val ) ;   7650                                                   union sigval  const  __val ) ;
7651 extern char const   * const  _sys_siglist[65] ;   7651 extern char const   * const  _sys_siglist[65] ;
7652 extern char const   * const  sys_siglist[65] ;   7652 extern char const   * const  sys_siglist[65] ;
7653 extern  __attribute__((__nothrow__)) int sigvec(int __sig ,   7653 extern  __attribute__((__nothrow__)) int sigvec(int __sig ,
7654                                                 struct sigvec  const  *__vec ,   7654                                                 struct sigvec  const  *__vec ,
7655                                                 struct sigvec *__ovec ) ;   7655                                                 struct sigvec *__ovec ) ;
7656 extern  __attribute__((__nothrow__)) int sigreturn(struct sigcontext *__scp ) ;   7656 extern  __attribute__((__nothrow__)) int sigreturn(struct sigcontext *__scp ) ;
7657 extern  __attribute__((__nothrow__)) int siginterrupt(int __sig ,   7657 extern  __attribute__((__nothrow__)) int siginterrupt(int __sig ,
7658                                                       int __interrupt ) ;   7658                                                       int __interrupt ) ;
7659 extern  __attribute__((__nothrow__)) int sigstack(struct sigstack *__ss ,   7659 extern  __attribute__((__nothrow__)) int sigstack(struct sigstack *__ss ,
7660                                                   struct sigstack *__oss )  __attribute__((__deprecated__)) ;   7660                                                   struct sigstack *__oss )  __attribute__((__deprecated__)) ;
7661 extern  __attribute__((__nothrow__)) int sigaltstack(struct sigaltstack  const  * __restrict  __ss ,   7661 extern  __attribute__((__nothrow__)) int sigaltstack(struct sigaltstack  const  * __restrict  __ss ,
7662                                                      struct sigaltstack * __restrict  __oss ) ;   7662                                                      struct sigaltstack * __restrict  __oss ) ;
7663 extern  __attribute__((__nothrow__)) int pthread_sigmask(int __how ,   7663 extern  __attribute__((__nothrow__)) int pthread_sigmask(int __how ,
7664                                                          __sigset_t const   * __restrict  __newmask ,   7664                                                          __sigset_t const   * __restrict  __newmask ,
7665                                                          __sigset_t * __restrict  __oldmask ) ;   7665                                                          __sigset_t * __restrict  __oldmask ) ;
7666 extern  __attribute__((__nothrow__)) int pthread_kill(pthread_t __threadid ,   7666 extern  __attribute__((__nothrow__)) int pthread_kill(pthread_t __threadid ,
7667                                                       int __signo ) ;   7667                                                       int __signo ) ;
7668 extern  __attribute__((__nothrow__)) int __libc_current_sigrtmin(void) ;   7668 extern  __attribute__((__nothrow__)) int __libc_current_sigrtmin(void) ;
7669 extern  __attribute__((__nothrow__)) int __libc_current_sigrtmax(void) ;   7669 extern  __attribute__((__nothrow__)) int __libc_current_sigrtmax(void) ;
7670 extern void g_on_error_query(gchar const   *prg_name ) ;   7670 extern void g_on_error_query(gchar const   *prg_name ) ;
7671 extern void g_on_error_stack_trace(gchar const   *prg_name ) ;   7671 extern void g_on_error_stack_trace(gchar const   *prg_name ) ;
7672 extern gsize g_base64_encode_step(guchar const   *in , gsize len ,   7672 extern gsize g_base64_encode_step(guchar const   *in , gsize len ,
7673                                   gboolean break_lines , gchar *out ,   7673                                   gboolean break_lines , gchar *out ,
7674                                   gint *state , gint *save ) ;   7674                                   gint *state , gint *save ) ;
7675 extern gsize g_base64_encode_close(gboolean break_lines , gchar *out ,   7675 extern gsize g_base64_encode_close(gboolean break_lines , gchar *out ,
7676                                    gint *state , gint *save ) ;   7676                                    gint *state , gint *save ) ;
7677 extern gchar *g_base64_encode(guchar const   *data , gsize len )  __attribute__((__malloc__)) ;   7677 extern gchar *g_base64_encode(guchar const   *data , gsize len )  __attribute__((__malloc__)) ;
7678 extern gsize g_base64_decode_step(gchar const   *in , gsize len , guchar *out ,   7678 extern gsize g_base64_decode_step(gchar const   *in , gsize len , guchar *out ,
7679                                   gint *state , guint *save ) ;   7679                                   gint *state , guint *save ) ;
7680 extern guchar *g_base64_decode(gchar const   *text , gsize *out_len )  __attribute__((__malloc__)) ;   7680 extern guchar *g_base64_decode(gchar const   *text , gsize *out_len )  __attribute__((__malloc__)) ;
7681 extern guchar *g_base64_decode_inplace(gchar *text , gsize *out_len ) ;   7681 extern guchar *g_base64_decode_inplace(gchar *text , gsize *out_len ) ;
7682 extern void g_bit_lock(gint volatile   *address , gint lock_bit ) ;   7682 extern void g_bit_lock(gint volatile   *address , gint lock_bit ) ;
7683 extern gboolean g_bit_trylock(gint volatile   *address , gint lock_bit ) ;   7683 extern gboolean g_bit_trylock(gint volatile   *address , gint lock_bit ) ;
7684 extern void g_bit_unlock(gint volatile   *address , gint lock_bit ) ;   7684 extern void g_bit_unlock(gint volatile   *address , gint lock_bit ) ;
7685 extern GQuark g_bookmark_file_error_quark(void) ;   7685 extern GQuark g_bookmark_file_error_quark(void) ;
7686 extern GBookmarkFile *g_bookmark_file_new(void) ;   7686 extern GBookmarkFile *g_bookmark_file_new(void) ;
7687 extern void g_bookmark_file_free(GBookmarkFile *bookmark ) ;   7687 extern void g_bookmark_file_free(GBookmarkFile *bookmark ) ;
7688 extern gboolean g_bookmark_file_load_from_file(GBookmarkFile *bookmark ,   7688 extern gboolean g_bookmark_file_load_from_file(GBookmarkFile *bookmark ,
7689                                                gchar const   *filename ,   7689                                                gchar const   *filename ,
7690                                                GError **error ) ;   7690                                                GError **error ) ;
7691 extern gboolean g_bookmark_file_load_from_data(GBookmarkFile *bookmark ,   7691 extern gboolean g_bookmark_file_load_from_data(GBookmarkFile *bookmark ,
7692                                                gchar const   *data ,   7692                                                gchar const   *data ,
7693                                                gsize length , GError **error ) ;   7693                                                gsize length , GError **error ) ;
7694 extern gboolean g_bookmark_file_load_from_data_dirs(GBookmarkFile *bookmark ,   7694 extern gboolean g_bookmark_file_load_from_data_dirs(GBookmarkFile *bookmark ,
7695                                                     gchar const   *file ,   7695                                                     gchar const   *file ,
7696                                                     gchar **full_path ,   7696                                                     gchar **full_path ,
7697                                                     GError **error ) ;   7697                                                     GError **error ) ;
7698 extern gchar *g_bookmark_file_to_data(GBookmarkFile *bookmark , gsize *length ,   7698 extern gchar *g_bookmark_file_to_data(GBookmarkFile *bookmark , gsize *length ,
7699                                       GError **error )  __attribute__((__malloc__)) ;   7699                                       GError **error )  __attribute__((__malloc__)) ;
7700 extern gboolean g_bookmark_file_to_file(GBookmarkFile *bookmark ,   7700 extern gboolean g_bookmark_file_to_file(GBookmarkFile *bookmark ,
7701                                         gchar const   *filename ,   7701                                         gchar const   *filename ,
7702                                         GError **error ) ;   7702                                         GError **error ) ;
7703 extern void g_bookmark_file_set_title(GBookmarkFile *bookmark ,   7703 extern void g_bookmark_file_set_title(GBookmarkFile *bookmark ,
7704                                       gchar const   *uri , gchar const   *title ) ;   7704                                       gchar const   *uri , gchar const   *title ) ;
7705 extern gchar *g_bookmark_file_get_title(GBookmarkFile *bookmark ,   7705 extern gchar *g_bookmark_file_get_title(GBookmarkFile *bookmark ,
7706                                         gchar const   *uri , GError **error )  __attribute__((__malloc__)) ;   7706                                         gchar const   *uri , GError **error )  __attribute__((__malloc__)) ;
7707 extern void g_bookmark_file_set_description(GBookmarkFile *bookmark ,   7707 extern void g_bookmark_file_set_description(GBookmarkFile *bookmark ,
7708                                             gchar const   *uri ,   7708                                             gchar const   *uri ,
7709                                             gchar const   *description ) ;   7709                                             gchar const   *description ) ;
7710 extern gchar *g_bookmark_file_get_description(GBookmarkFile *bookmark ,   7710 extern gchar *g_bookmark_file_get_description(GBookmarkFile *bookmark ,
7711                                               gchar const   *uri ,   7711                                               gchar const   *uri ,
7712                                               GError **error )  __attribute__((__malloc__)) ;   7712                                               GError **error )  __attribute__((__malloc__)) ;
7713 extern void g_bookmark_file_set_mime_type(GBookmarkFile *bookmark ,   7713 extern void g_bookmark_file_set_mime_type(GBookmarkFile *bookmark ,
7714                                           gchar const   *uri ,   7714                                           gchar const   *uri ,
7715                                           gchar const   *mime_type ) ;   7715                                           gchar const   *mime_type ) ;
7716 extern gchar *g_bookmark_file_get_mime_type(GBookmarkFile *bookmark ,   7716 extern gchar *g_bookmark_file_get_mime_type(GBookmarkFile *bookmark ,
7717                                             gchar const   *uri , GError **error )  __attribute__((__malloc__)) ;   7717                                             gchar const   *uri , GError **error )  __attribute__((__malloc__)) ;
7718 extern void g_bookmark_file_set_groups(GBookmarkFile *bookmark ,   7718 extern void g_bookmark_file_set_groups(GBookmarkFile *bookmark ,
7719                                        gchar const   *uri ,   7719                                        gchar const   *uri ,
7720                                        gchar const   **groups , gsize length ) ;   7720                                        gchar const   **groups , gsize length ) ;
7721 extern void g_bookmark_file_add_group(GBookmarkFile *bookmark ,   7721 extern void g_bookmark_file_add_group(GBookmarkFile *bookmark ,
7722                                       gchar const   *uri , gchar const   *group ) ;   7722                                       gchar const   *uri , gchar const   *group ) ;
7723 extern gboolean g_bookmark_file_has_group(GBookmarkFile *bookmark ,   7723 extern gboolean g_bookmark_file_has_group(GBookmarkFile *bookmark ,
7724                                           gchar const   *uri ,   7724                                           gchar const   *uri ,
7725                                           gchar const   *group , GError **error ) ;   7725                                           gchar const   *group , GError **error ) ;
7726 extern gchar **g_bookmark_file_get_groups(GBookmarkFile *bookmark ,   7726 extern gchar **g_bookmark_file_get_groups(GBookmarkFile *bookmark ,
7727                                           gchar const   *uri , gsize *length ,   7727                                           gchar const   *uri , gsize *length ,
7728                                           GError **error )  __attribute__((__malloc__)) ;   7728                                           GError **error )  __attribute__((__malloc__)) ;
7729 extern void g_bookmark_file_add_application(GBookmarkFile *bookmark ,   7729 extern void g_bookmark_file_add_application(GBookmarkFile *bookmark ,
7730                                             gchar const   *uri ,   7730                                             gchar const   *uri ,
7731                                             gchar const   *name ,   7731                                             gchar const   *name ,
7732                                             gchar const   *exec ) ;   7732                                             gchar const   *exec ) ;
7733 extern gboolean g_bookmark_file_has_application(GBookmarkFile *bookmark ,   7733 extern gboolean g_bookmark_file_has_application(GBookmarkFile *bookmark ,
7734                                                 gchar const   *uri ,   7734                                                 gchar const   *uri ,
7735                                                 gchar const   *name ,   7735                                                 gchar const   *name ,
7736                                                 GError **error ) ;   7736                                                 GError **error ) ;
7737 extern gchar **g_bookmark_file_get_applications(GBookmarkFile *bookmark ,   7737 extern gchar **g_bookmark_file_get_applications(GBookmarkFile *bookmark ,
7738                                                 gchar const   *uri ,   7738                                                 gchar const   *uri ,
7739                                                 gsize *length , GError **error )  __attribute__((__malloc__)) ;   7739                                                 gsize *length , GError **error )  __attribute__((__malloc__)) ;
7740 extern gboolean g_bookmark_file_set_app_info(GBookmarkFile *bookmark ,   7740 extern gboolean g_bookmark_file_set_app_info(GBookmarkFile *bookmark ,
7741                                              gchar const   *uri ,   7741                                              gchar const   *uri ,
7742                                              gchar const   *name ,   7742                                              gchar const   *name ,
7743                                              gchar const   *exec , gint count ,   7743                                              gchar const   *exec , gint count ,
7744                                              time_t stamp , GError **error ) ;   7744                                              time_t stamp , GError **error ) ;
7745 extern gboolean g_bookmark_file_get_app_info(GBookmarkFile *bookmark ,   7745 extern gboolean g_bookmark_file_get_app_info(GBookmarkFile *bookmark ,
7746                                              gchar const   *uri ,   7746                                              gchar const   *uri ,
7747                                              gchar const   *name ,   7747                                              gchar const   *name ,
7748                                              gchar **exec , guint *count ,   7748                                              gchar **exec , guint *count ,
7749                                              time_t *stamp , GError **error ) ;   7749                                              time_t *stamp , GError **error ) ;
7750 extern void g_bookmark_file_set_is_private(GBookmarkFile *bookmark ,   7750 extern void g_bookmark_file_set_is_private(GBookmarkFile *bookmark ,
7751                                            gchar const   *uri ,   7751                                            gchar const   *uri ,
7752                                            gboolean is_private ) ;   7752                                            gboolean is_private ) ;
7753 extern gboolean g_bookmark_file_get_is_private(GBookmarkFile *bookmark ,   7753 extern gboolean g_bookmark_file_get_is_private(GBookmarkFile *bookmark ,
7754                                                gchar const   *uri ,   7754                                                gchar const   *uri ,
7755                                                GError **error ) ;   7755                                                GError **error ) ;
7756 extern void g_bookmark_file_set_icon(GBookmarkFile *bookmark ,   7756 extern void g_bookmark_file_set_icon(GBookmarkFile *bookmark ,
7757                                      gchar const   *uri , gchar const   *href ,   7757                                      gchar const   *uri , gchar const   *href ,
7758                                      gchar const   *mime_type ) ;   7758                                      gchar const   *mime_type ) ;
7759 extern gboolean g_bookmark_file_get_icon(GBookmarkFile *bookmark ,   7759 extern gboolean g_bookmark_file_get_icon(GBookmarkFile *bookmark ,
7760                                          gchar const   *uri , gchar **href ,   7760                                          gchar const   *uri , gchar **href ,
7761                                          gchar **mime_type , GError **error ) ;   7761                                          gchar **mime_type , GError **error ) ;
7762 extern void g_bookmark_file_set_added(GBookmarkFile *bookmark ,   7762 extern void g_bookmark_file_set_added(GBookmarkFile *bookmark ,
7763                                       gchar const   *uri , time_t added ) ;   7763                                       gchar const   *uri , time_t added ) ;
7764 extern time_t g_bookmark_file_get_added(GBookmarkFile *bookmark ,   7764 extern time_t g_bookmark_file_get_added(GBookmarkFile *bookmark ,
7765                                         gchar const   *uri , GError **error ) ;   7765                                         gchar const   *uri , GError **error ) ;
7766 extern void g_bookmark_file_set_modified(GBookmarkFile *bookmark ,   7766 extern void g_bookmark_file_set_modified(GBookmarkFile *bookmark ,
7767                                          gchar const   *uri , time_t modified ) ;   7767                                          gchar const   *uri , time_t modified ) ;
7768 extern time_t g_bookmark_file_get_modified(GBookmarkFile *bookmark ,   7768 extern time_t g_bookmark_file_get_modified(GBookmarkFile *bookmark ,
7769                                            gchar const   *uri , GError **error ) ;   7769                                            gchar const   *uri , GError **error ) ;
7770 extern void g_bookmark_file_set_visited(GBookmarkFile *bookmark ,   7770 extern void g_bookmark_file_set_visited(GBookmarkFile *bookmark ,
7771                                         gchar const   *uri , time_t visited ) ;   7771                                         gchar const   *uri , time_t visited ) ;
7772 extern time_t g_bookmark_file_get_visited(GBookmarkFile *bookmark ,   7772 extern time_t g_bookmark_file_get_visited(GBookmarkFile *bookmark ,
7773                                           gchar const   *uri , GError **error ) ;   7773                                           gchar const   *uri , GError **error ) ;
7774 extern gboolean g_bookmark_file_has_item(GBookmarkFile *bookmark ,   7774 extern gboolean g_bookmark_file_has_item(GBookmarkFile *bookmark ,
7775                                          gchar const   *uri ) ;   7775                                          gchar const   *uri ) ;
7776 extern gint g_bookmark_file_get_size(GBookmarkFile *bookmark ) ;   7776 extern gint g_bookmark_file_get_size(GBookmarkFile *bookmark ) ;
7777 extern gchar **g_bookmark_file_get_uris(GBookmarkFile *bookmark , gsize *length )  __attribute__((__malloc__)) ;   7777 extern gchar **g_bookmark_file_get_uris(GBookmarkFile *bookmark , gsize *length )  __attribute__((__malloc__)) ;
7778 extern gboolean g_bookmark_file_remove_group(GBookmarkFile *bookmark ,   7778 extern gboolean g_bookmark_file_remove_group(GBookmarkFile *bookmark ,
7779                                              gchar const   *uri ,   7779                                              gchar const   *uri ,
7780                                              gchar const   *group ,   7780                                              gchar const   *group ,
7781                                              GError **error ) ;   7781                                              GError **error ) ;
7782 extern gboolean g_bookmark_file_remove_application(GBookmarkFile *bookmark ,   7782 extern gboolean g_bookmark_file_remove_application(GBookmarkFile *bookmark ,
7783                                                    gchar const   *uri ,   7783                                                    gchar const   *uri ,
7784                                                    gchar const   *name ,   7784                                                    gchar const   *name ,
7785                                                    GError **error ) ;   7785                                                    GError **error ) ;
7786 extern gboolean g_bookmark_file_remove_item(GBookmarkFile *bookmark ,   7786 extern gboolean g_bookmark_file_remove_item(GBookmarkFile *bookmark ,
7787                                             gchar const   *uri , GError **error ) ;   7787                                             gchar const   *uri , GError **error ) ;
7788 extern gboolean g_bookmark_file_move_item(GBookmarkFile *bookmark ,   7788 extern gboolean g_bookmark_file_move_item(GBookmarkFile *bookmark ,
7789                                           gchar const   *old_uri ,   7789                                           gchar const   *old_uri ,
7790                                           gchar const   *new_uri ,   7790                                           gchar const   *new_uri ,
7791                                           GError **error ) ;   7791                                           GError **error ) ;
7792 extern gpointer g_slice_alloc(gsize block_size )  __attribute__((__malloc__,   7792 extern gpointer g_slice_alloc(gsize block_size )  __attribute__((__malloc__,
7793 __alloc_size__(1))) ;   7793 __alloc_size__(1))) ;
7794 extern gpointer g_slice_alloc0(gsize block_size )  __attribute__((__malloc__,   7794 extern gpointer g_slice_alloc0(gsize block_size )  __attribute__((__malloc__,
7795 __alloc_size__(1))) ;   7795 __alloc_size__(1))) ;
7796 extern gpointer g_slice_copy(gsize block_size , gconstpointer mem_block )  __attribute__((__malloc__,   7796 extern gpointer g_slice_copy(gsize block_size , gconstpointer mem_block )  __attribute__((__malloc__,
7797 __alloc_size__(1))) ;   7797 __alloc_size__(1))) ;
7798 extern void g_slice_free1(gsize block_size , gpointer mem_block ) ;   7798 extern void g_slice_free1(gsize block_size , gpointer mem_block ) ;
7799 extern void g_slice_free_chain_with_offset(gsize block_size ,   7799 extern void g_slice_free_chain_with_offset(gsize block_size ,
7800                                            gpointer mem_chain ,   7800                                            gpointer mem_chain ,
7801                                            gsize next_offset ) ;   7801                                            gsize next_offset ) ;
7802 extern void g_slice_set_config(GSliceConfig ckey , gint64 value ) ;   7802 extern void g_slice_set_config(GSliceConfig ckey , gint64 value ) ;
7803 extern gint64 g_slice_get_config(GSliceConfig ckey ) ;   7803 extern gint64 g_slice_get_config(GSliceConfig ckey ) ;
7804 extern gint64 *g_slice_get_config_state(GSliceConfig ckey , gint64 address ,   7804 extern gint64 *g_slice_get_config_state(GSliceConfig ckey , gint64 address ,
7805                                         guint *n_values ) ;   7805                                         guint *n_values ) ;
7806 extern void g_free(gpointer mem ) ;   7806 extern void g_free(gpointer mem ) ;
7807 extern gpointer g_malloc(gsize n_bytes )  __attribute__((__malloc__,   7807 extern gpointer g_malloc(gsize n_bytes )  __attribute__((__malloc__,
7808 __alloc_size__(1))) ;   7808 __alloc_size__(1))) ;
7809 extern gpointer g_malloc0(gsize n_bytes )  __attribute__((__malloc__,   7809 extern gpointer g_malloc0(gsize n_bytes )  __attribute__((__malloc__,
7810 __alloc_size__(1))) ;   7810 __alloc_size__(1))) ;
7811 extern gpointer ( __attribute__((__warn_unused_result__)) g_realloc)(gpointer mem ,   7811 extern gpointer ( __attribute__((__warn_unused_result__)) g_realloc)(gpointer mem ,
7812                                                                      gsize n_bytes ) ;   7812                                                                      gsize n_bytes ) ;
7813 extern gpointer g_try_malloc(gsize n_bytes )  __attribute__((__malloc__,   7813 extern gpointer g_try_malloc(gsize n_bytes )  __attribute__((__malloc__,
7814 __alloc_size__(1))) ;   7814 __alloc_size__(1))) ;
7815 extern gpointer g_try_malloc0(gsize n_bytes )  __attribute__((__malloc__,   7815 extern gpointer g_try_malloc0(gsize n_bytes )  __attribute__((__malloc__,
7816 __alloc_size__(1))) ;   7816 __alloc_size__(1))) ;
7817 extern gpointer ( __attribute__((__warn_unused_result__)) g_try_realloc)(gpointer mem ,   7817 extern gpointer ( __attribute__((__warn_unused_result__)) g_try_realloc)(gpointer mem ,
7818                                                                          gsize n_bytes ) ;   7818                                                                          gsize n_bytes ) ;
7819 extern gpointer g_malloc_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,   7819 extern gpointer g_malloc_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,
7820 __alloc_size__(1,2))) ;   7820 __alloc_size__(1,2))) ;
7821 extern gpointer g_malloc0_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,   7821 extern gpointer g_malloc0_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,
7822 __alloc_size__(1,2))) ;   7822 __alloc_size__(1,2))) ;
7823 extern gpointer ( __attribute__((__warn_unused_result__)) g_realloc_n)(gpointer mem ,   7823 extern gpointer ( __attribute__((__warn_unused_result__)) g_realloc_n)(gpointer mem ,
7824                                                                        gsize n_blocks ,   7824                                                                        gsize n_blocks ,
7825                                                                        gsize n_block_bytes ) ;   7825                                                                        gsize n_block_bytes ) ;
7826 extern gpointer g_try_malloc_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,   7826 extern gpointer g_try_malloc_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,
7827 __alloc_size__(1,2))) ;   7827 __alloc_size__(1,2))) ;
7828 extern gpointer g_try_malloc0_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,   7828 extern gpointer g_try_malloc0_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,
7829 __alloc_size__(1,2))) ;   7829 __alloc_size__(1,2))) ;
7830 extern gpointer ( __attribute__((__warn_unused_result__)) g_try_realloc_n)(gpointer mem ,   7830 extern gpointer ( __attribute__((__warn_unused_result__)) g_try_realloc_n)(gpointer mem ,
7831                                                                            gsize n_blocks ,   7831                                                                            gsize n_blocks ,
7832                                                                            gsize n_block_bytes ) ;   7832                                                                            gsize n_block_bytes ) ;
7833 extern void g_mem_set_vtable(GMemVTable *vtable ) ;   7833 extern void g_mem_set_vtable(GMemVTable *vtable ) ;
7834 extern gboolean g_mem_is_system_malloc(void) ;   7834 extern gboolean g_mem_is_system_malloc(void) ;
7835 extern gboolean g_mem_gc_friendly ;   7835 extern gboolean g_mem_gc_friendly ;
7836 extern GMemVTable *glib_mem_profiler_table ;   7836 extern GMemVTable *glib_mem_profiler_table ;
7837 extern void g_mem_profile(void) ;   7837 extern void g_mem_profile(void) ;
7838 extern GMemChunk *g_mem_chunk_new(gchar const   *name , gint atom_size ,   7838 extern GMemChunk *g_mem_chunk_new(gchar const   *name , gint atom_size ,
7839                                   gsize area_size , gint type ) ;   7839                                   gsize area_size , gint type ) ;
7840 extern void g_mem_chunk_destroy(GMemChunk *mem_chunk ) ;   7840 extern void g_mem_chunk_destroy(GMemChunk *mem_chunk ) ;
7841 extern gpointer g_mem_chunk_alloc(GMemChunk *mem_chunk ) ;   7841 extern gpointer g_mem_chunk_alloc(GMemChunk *mem_chunk ) ;
7842 extern gpointer g_mem_chunk_alloc0(GMemChunk *mem_chunk ) ;   7842 extern gpointer g_mem_chunk_alloc0(GMemChunk *mem_chunk ) ;
7843 extern void g_mem_chunk_free(GMemChunk *mem_chunk , gpointer mem ) ;   7843 extern void g_mem_chunk_free(GMemChunk *mem_chunk , gpointer mem ) ;
7844 extern void g_mem_chunk_clean(GMemChunk *mem_chunk ) ;   7844 extern void g_mem_chunk_clean(GMemChunk *mem_chunk ) ;
7845 extern void g_mem_chunk_reset(GMemChunk *mem_chunk ) ;   7845 extern void g_mem_chunk_reset(GMemChunk *mem_chunk ) ;
7846 extern void g_mem_chunk_print(GMemChunk *mem_chunk ) ;   7846 extern void g_mem_chunk_print(GMemChunk *mem_chunk ) ;
7847 extern void g_mem_chunk_info(void) ;   7847 extern void g_mem_chunk_info(void) ;
7848 extern void g_blow_chunks(void) ;   7848 extern void g_blow_chunks(void) ;
7849 extern GAllocator *g_allocator_new(gchar const   *name , guint n_preallocs ) ;   7849 extern GAllocator *g_allocator_new(gchar const   *name , guint n_preallocs ) ;
7850 extern void g_allocator_free(GAllocator *allocator ) ;   7850 extern void g_allocator_free(GAllocator *allocator ) ;
7851 extern GList *( __attribute__((__warn_unused_result__)) g_list_alloc)(void) ;   7851 extern GList *( __attribute__((__warn_unused_result__)) g_list_alloc)(void) ;
7852 extern void g_list_free(GList *list ) ;   7852 extern void g_list_free(GList *list ) ;
7853 extern void g_list_free_1(GList *list ) ;   7853 extern void g_list_free_1(GList *list ) ;
7854 extern GList *( __attribute__((__warn_unused_result__)) g_list_append)(GList *list ,   7854 extern GList *( __attribute__((__warn_unused_result__)) g_list_append)(GList *list ,
7855                                                                        gpointer data ) ;   7855                                                                        gpointer data ) ;
7856 extern GList *( __attribute__((__warn_unused_result__)) g_list_prepend)(GList *list ,   7856 extern GList *( __attribute__((__warn_unused_result__)) g_list_prepend)(GList *list ,
7857                                                                         gpointer data ) ;   7857                                                                         gpointer data ) ;
7858 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert)(GList *list ,   7858 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert)(GList *list ,
7859                                                                        gpointer data ,   7859                                                                        gpointer data ,
7860                                                                        gint position ) ;   7860                                                                        gint position ) ;
7861 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_sorted)(GList *list ,   7861 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_sorted)(GList *list ,
7862                                                                               gpointer data ,   7862                                                                               gpointer data ,
7863                                                                               gint (*func)(gconstpointer a ,   7863                                                                               gint (*func)(gconstpointer a ,
7864                                                                                            gconstpointer b ) ) ;   7864                                                                                            gconstpointer b ) ) ;
7865 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_sorted_with_data)(GList *list ,   7865 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_sorted_with_data)(GList *list ,
7866                                                                                         gpointer data ,   7866                                                                                         gpointer data ,
7867                                                                                         gint (*func)(gconstpointer a ,   7867                                                                                         gint (*func)(gconstpointer a ,
7868                                                                                                      gconstpointer b ,   7868                                                                                                      gconstpointer b ,
7869                                                                                                      gpointer user_data ) ,   7869                                                                                                      gpointer user_data ) ,
7870                                                                                         gpointer user_data ) ;   7870                                                                                         gpointer user_data ) ;
7871 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_before)(GList *list ,   7871 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_before)(GList *list ,
7872                                                                               GList *sibling ,   7872                                                                               GList *sibling ,
7873                                                                               gpointer data ) ;   7873                                                                               gpointer data ) ;
7874 extern GList *( __attribute__((__warn_unused_result__)) g_list_concat)(GList *list1 ,   7874 extern GList *( __attribute__((__warn_unused_result__)) g_list_concat)(GList *list1 ,
7875                                                                        GList *list2 ) ;   7875                                                                        GList *list2 ) ;
7876 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove)(GList *list ,   7876 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove)(GList *list ,
7877                                                                        gconstpointer data ) ;   7877                                                                        gconstpointer data ) ;
7878 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove_all)(GList *list ,   7878 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove_all)(GList *list ,
7879                                                                            gconstpointer data ) ;   7879                                                                            gconstpointer data ) ;
7880 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove_link)(GList *list ,   7880 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove_link)(GList *list ,
7881                                                                             GList *llink ) ;   7881                                                                             GList *llink ) ;
7882 extern GList *( __attribute__((__warn_unused_result__)) g_list_delete_link)(GList *list ,   7882 extern GList *( __attribute__((__warn_unused_result__)) g_list_delete_link)(GList *list ,
7883                                                                             GList *link_ ) ;   7883                                                                             GList *link_ ) ;
7884 extern GList *( __attribute__((__warn_unused_result__)) g_list_reverse)(GList *list ) ;   7884 extern GList *( __attribute__((__warn_unused_result__)) g_list_reverse)(GList *list ) ;
7885 extern GList *( __attribute__((__warn_unused_result__)) g_list_copy)(GList *list ) ;   7885 extern GList *( __attribute__((__warn_unused_result__)) g_list_copy)(GList *list ) ;
7886 extern GList *g_list_nth(GList *list , guint n ) ;   7886 extern GList *g_list_nth(GList *list , guint n ) ;
7887 extern GList *g_list_nth_prev(GList *list , guint n ) ;   7887 extern GList *g_list_nth_prev(GList *list , guint n ) ;
7888 extern GList *g_list_find(GList *list , gconstpointer data ) ;   7888 extern GList *g_list_find(GList *list , gconstpointer data ) ;
7889 extern GList *g_list_find_custom(GList *list , gconstpointer data ,   7889 extern GList *g_list_find_custom(GList *list , gconstpointer data ,
7890                                  gint (*func)(gconstpointer a , gconstpointer b ) ) ;   7890                                  gint (*func)(gconstpointer a , gconstpointer b ) ) ;
7891 extern gint g_list_position(GList *list , GList *llink ) ;   7891 extern gint g_list_position(GList *list , GList *llink ) ;
7892 extern gint g_list_index(GList *list , gconstpointer data ) ;   7892 extern gint g_list_index(GList *list , gconstpointer data ) ;
7893 extern GList *g_list_last(GList *list ) ;   7893 extern GList *g_list_last(GList *list ) ;
7894 extern GList *g_list_first(GList *list ) ;   7894 extern GList *g_list_first(GList *list ) ;
7895 extern guint g_list_length(GList *list ) ;   7895 extern guint g_list_length(GList *list ) ;
7896 extern void g_list_foreach(GList *list , void (*func)(gpointer data ,   7896 extern void g_list_foreach(GList *list , void (*func)(gpointer data ,
7897                                                       gpointer user_data ) ,   7897                                                       gpointer user_data ) ,
7898                            gpointer user_data ) ;   7898                            gpointer user_data ) ;
7899 extern GList *( __attribute__((__warn_unused_result__)) g_list_sort)(GList *list ,   7899 extern GList *( __attribute__((__warn_unused_result__)) g_list_sort)(GList *list ,
7900                                                                      gint (*compare_func)(gconstpointer a ,   7900                                                                      gint (*compare_func)(gconstpointer a ,
7901                                                                                           gconstpointer b ) ) ;   7901                                                                                           gconstpointer b ) ) ;
7902 extern GList *( __attribute__((__warn_unused_result__)) g_list_sort_with_data)(GList *list ,   7902 extern GList *( __attribute__((__warn_unused_result__)) g_list_sort_with_data)(GList *list ,
7903                                                                                gint (*compare_func)(gconstpointer a ,   7903                                                                                gint (*compare_func)(gconstpointer a ,
7904                                                                                                     gconstpointer b ,   7904                                                                                                     gconstpointer b ,
7905                                                                                                     gpointer user_data ) ,   7905                                                                                                     gpointer user_data ) ,
7906                                                                                gpointer user_data ) ;   7906                                                                                gpointer user_data ) ;
7907 extern gpointer g_list_nth_data(GList *list , guint n ) ;   7907 extern gpointer g_list_nth_data(GList *list , guint n ) ;
7908 extern void g_list_push_allocator(gpointer allocator ) ;   7908 extern void g_list_push_allocator(gpointer allocator ) ;
7909 extern void g_list_pop_allocator(void) ;   7909 extern void g_list_pop_allocator(void) ;
7910 extern GCache *g_cache_new(gpointer (*value_new_func)(gpointer key ) ,   7910 extern GCache *g_cache_new(gpointer (*value_new_func)(gpointer key ) ,
7911                            void (*value_destroy_func)(gpointer value ) ,   7911                            void (*value_destroy_func)(gpointer value ) ,
7912                            gpointer (*key_dup_func)(gpointer value ) ,   7912                            gpointer (*key_dup_func)(gpointer value ) ,
7913                            void (*key_destroy_func)(gpointer value ) ,   7913                            void (*key_destroy_func)(gpointer value ) ,
7914                            guint (*hash_key_func)(gconstpointer key ) ,   7914                            guint (*hash_key_func)(gconstpointer key ) ,
7915                            guint (*hash_value_func)(gconstpointer key ) ,   7915                            guint (*hash_value_func)(gconstpointer key ) ,
7916                            gboolean (*key_equal_func)(gconstpointer a ,   7916                            gboolean (*key_equal_func)(gconstpointer a ,
7917                                                       gconstpointer b ) ) ;   7917                                                       gconstpointer b ) ) ;
7918 extern void g_cache_destroy(GCache *cache ) ;   7918 extern void g_cache_destroy(GCache *cache ) ;
7919 extern gpointer g_cache_insert(GCache *cache , gpointer key ) ;   7919 extern gpointer g_cache_insert(GCache *cache , gpointer key ) ;
7920 extern void g_cache_remove(GCache *cache , gconstpointer value ) ;   7920 extern void g_cache_remove(GCache *cache , gconstpointer value ) ;
7921 extern void g_cache_key_foreach(GCache *cache ,   7921 extern void g_cache_key_foreach(GCache *cache ,
7922                                 void (*func)(gpointer key , gpointer value ,   7922                                 void (*func)(gpointer key , gpointer value ,
7923                                              gpointer user_data ) ,   7923                                              gpointer user_data ) ,
7924                                 gpointer user_data ) ;   7924                                 gpointer user_data ) ;
7925 extern void g_cache_value_foreach(GCache *cache ,   7925 extern void g_cache_value_foreach(GCache *cache ,
7926                                   void (*func)(gpointer key , gpointer value ,   7926                                   void (*func)(gpointer key , gpointer value ,
7927                                                gpointer user_data ) ,   7927                                                gpointer user_data ) ,
7928                                   gpointer user_data ) ;   7928                                   gpointer user_data ) ;
7929 extern gssize g_checksum_type_get_length(GChecksumType checksum_type ) ;   7929 extern gssize g_checksum_type_get_length(GChecksumType checksum_type ) ;
7930 extern GChecksum *g_checksum_new(GChecksumType checksum_type ) ;   7930 extern GChecksum *g_checksum_new(GChecksumType checksum_type ) ;
7931 extern void g_checksum_reset(GChecksum *checksum ) ;   7931 extern void g_checksum_reset(GChecksum *checksum ) ;
7932 extern GChecksum *g_checksum_copy(GChecksum const   *checksum ) ;   7932 extern GChecksum *g_checksum_copy(GChecksum const   *checksum ) ;
7933 extern void g_checksum_free(GChecksum *checksum ) ;   7933 extern void g_checksum_free(GChecksum *checksum ) ;
7934 extern void g_checksum_update(GChecksum *checksum , guchar const   *data ,   7934 extern void g_checksum_update(GChecksum *checksum , guchar const   *data ,
7935                               gssize length ) ;   7935                               gssize length ) ;
7936 extern gchar const   *g_checksum_get_string(GChecksum *checksum ) ;   7936 extern gchar const   *g_checksum_get_string(GChecksum *checksum ) ;
7937 extern void g_checksum_get_digest(GChecksum *checksum , guint8 *buffer ,   7937 extern void g_checksum_get_digest(GChecksum *checksum , guint8 *buffer ,
7938                                   gsize *digest_len ) ;   7938                                   gsize *digest_len ) ;
7939 extern gchar *g_compute_checksum_for_data(GChecksumType checksum_type ,   7939 extern gchar *g_compute_checksum_for_data(GChecksumType checksum_type ,
7940                                           guchar const   *data , gsize length ) ;   7940                                           guchar const   *data , gsize length ) ;
7941 extern gchar *g_compute_checksum_for_string(GChecksumType checksum_type ,   7941 extern gchar *g_compute_checksum_for_string(GChecksumType checksum_type ,
7942                                             gchar const   *str , gssize length ) ;   7942                                             gchar const   *str , gssize length ) ;
7943 extern GCompletion *g_completion_new(gchar *(*func)(gpointer  ) ) ;   7943 extern GCompletion *g_completion_new(gchar *(*func)(gpointer  ) ) ;
7944 extern void g_completion_add_items(GCompletion *cmp , GList *items ) ;   7944 extern void g_completion_add_items(GCompletion *cmp , GList *items ) ;
7945 extern void g_completion_remove_items(GCompletion *cmp , GList *items ) ;   7945 extern void g_completion_remove_items(GCompletion *cmp , GList *items ) ;
7946 extern void g_completion_clear_items(GCompletion *cmp ) ;   7946 extern void g_completion_clear_items(GCompletion *cmp ) ;
7947 extern GList *g_completion_complete(GCompletion *cmp , gchar const   *prefix ,   7947 extern GList *g_completion_complete(GCompletion *cmp , gchar const   *prefix ,
7948                                     gchar **new_prefix ) ;   7948                                     gchar **new_prefix ) ;
7949 extern GList *g_completion_complete_utf8(GCompletion *cmp ,   7949 extern GList *g_completion_complete_utf8(GCompletion *cmp ,
7950                                          gchar const   *prefix ,   7950                                          gchar const   *prefix ,
7951                                          gchar **new_prefix ) ;   7951                                          gchar **new_prefix ) ;
7952 extern void g_completion_set_compare(GCompletion *cmp ,   7952 extern void g_completion_set_compare(GCompletion *cmp ,
7953                                      gint (*strncmp_func)(gchar const   *s1 ,   7953                                      gint (*strncmp_func)(gchar const   *s1 ,
7954                                                           gchar const   *s2 ,   7954                                                           gchar const   *s2 ,
7955                                                           gsize n ) ) ;   7955                                                           gsize n ) ) ;
7956 extern void g_completion_free(GCompletion *cmp ) ;   7956 extern void g_completion_free(GCompletion *cmp ) ;
7957 extern GQuark g_convert_error_quark(void) ;   7957 extern GQuark g_convert_error_quark(void) ;
7958 extern GIConv g_iconv_open(gchar const   *to_codeset ,   7958 extern GIConv g_iconv_open(gchar const   *to_codeset ,
7959                            gchar const   *from_codeset ) ;   7959                            gchar const   *from_codeset ) ;
7960 extern gsize g_iconv(GIConv converter , gchar **inbuf , gsize *inbytes_left ,   7960 extern gsize g_iconv(GIConv converter , gchar **inbuf , gsize *inbytes_left ,
7961                      gchar **outbuf , gsize *outbytes_left ) ;   7961                      gchar **outbuf , gsize *outbytes_left ) ;
7962 extern gint g_iconv_close(GIConv converter ) ;   7962 extern gint g_iconv_close(GIConv converter ) ;
7963 extern gchar *g_convert(gchar const   *str , gssize len ,   7963 extern gchar *g_convert(gchar const   *str , gssize len ,
7964                         gchar const   *to_codeset ,   7964                         gchar const   *to_codeset ,
7965                         gchar const   *from_codeset , gsize *bytes_read ,   7965                         gchar const   *from_codeset , gsize *bytes_read ,
7966                         gsize *bytes_written , GError **error )  __attribute__((__malloc__)) ;   7966                         gsize *bytes_written , GError **error )  __attribute__((__malloc__)) ;
7967 extern gchar *g_convert_with_iconv(gchar const   *str , gssize len ,   7967 extern gchar *g_convert_with_iconv(gchar const   *str , gssize len ,
7968                                    GIConv converter , gsize *bytes_read ,   7968                                    GIConv converter , gsize *bytes_read ,
7969                                    gsize *bytes_written , GError **error )  __attribute__((__malloc__)) ;   7969                                    gsize *bytes_written , GError **error )  __attribute__((__malloc__)) ;
7970 extern gchar *g_convert_with_fallback(gchar const   *str , gssize len ,   7970 extern gchar *g_convert_with_fallback(gchar const   *str , gssize len ,
7971                                       gchar const   *to_codeset ,   7971                                       gchar const   *to_codeset ,
7972                                       gchar const   *from_codeset ,   7972                                       gchar const   *from_codeset ,
7973                                       gchar const   *fallback ,   7973                                       gchar const   *fallback ,
7974                                       gsize *bytes_read , gsize *bytes_written ,   7974                                       gsize *bytes_read , gsize *bytes_written ,
7975                                       GError **error )  __attribute__((__malloc__)) ;   7975                                       GError **error )  __attribute__((__malloc__)) ;
7976 extern gchar *g_locale_to_utf8(gchar const   *opsysstring , gssize len ,   7976 extern gchar *g_locale_to_utf8(gchar const   *opsysstring , gssize len ,
7977                                gsize *bytes_read , gsize *bytes_written ,   7977                                gsize *bytes_read , gsize *bytes_written ,
7978                                GError **error )  __attribute__((__malloc__)) ;   7978                                GError **error )  __attribute__((__malloc__)) ;
7979 extern gchar *g_locale_from_utf8(gchar const   *utf8string , gssize len ,   7979 extern gchar *g_locale_from_utf8(gchar const   *utf8string , gssize len ,
7980                                  gsize *bytes_read , gsize *bytes_written ,   7980                                  gsize *bytes_read , gsize *bytes_written ,
7981                                  GError **error )  __attribute__((__malloc__)) ;   7981                                  GError **error )  __attribute__((__malloc__)) ;
7982 extern gchar *g_filename_to_utf8(gchar const   *opsysstring , gssize len ,   7982 extern gchar *g_filename_to_utf8(gchar const   *opsysstring , gssize len ,
7983                                  gsize *bytes_read , gsize *bytes_written ,   7983                                  gsize *bytes_read , gsize *bytes_written ,
7984                                  GError **error )  __attribute__((__malloc__)) ;   7984                                  GError **error )  __attribute__((__malloc__)) ;
7985 extern gchar *g_filename_from_utf8(gchar const   *utf8string , gssize len ,   7985 extern gchar *g_filename_from_utf8(gchar const   *utf8string , gssize len ,
7986                                    gsize *bytes_read , gsize *bytes_written ,   7986                                    gsize *bytes_read , gsize *bytes_written ,
7987                                    GError **error )  __attribute__((__malloc__)) ;   7987                                    GError **error )  __attribute__((__malloc__)) ;
7988 extern gchar *g_filename_from_uri(gchar const   *uri , gchar **hostname ,   7988 extern gchar *g_filename_from_uri(gchar const   *uri , gchar **hostname ,
7989                                   GError **error )  __attribute__((__malloc__)) ;   7989                                   GError **error )  __attribute__((__malloc__)) ;
7990 extern gchar *g_filename_to_uri(gchar const   *filename ,   7990 extern gchar *g_filename_to_uri(gchar const   *filename ,
7991                                 gchar const   *hostname , GError **error )  __attribute__((__malloc__)) ;   7991                                 gchar const   *hostname , GError **error )  __attribute__((__malloc__)) ;
7992 extern gchar *g_filename_display_name(gchar const   *filename )  __attribute__((__malloc__)) ;   7992 extern gchar *g_filename_display_name(gchar const   *filename )  __attribute__((__malloc__)) ;
7993 extern gboolean g_get_filename_charsets(gchar const   ***charsets ) ;   7993 extern gboolean g_get_filename_charsets(gchar const   ***charsets ) ;
7994 extern gchar *g_filename_display_basename(gchar const   *filename )  __attribute__((__malloc__)) ;   7994 extern gchar *g_filename_display_basename(gchar const   *filename )  __attribute__((__malloc__)) ;
7995 extern gchar **g_uri_list_extract_uris(gchar const   *uri_list )  __attribute__((__malloc__)) ;   7995 extern gchar **g_uri_list_extract_uris(gchar const   *uri_list )  __attribute__((__malloc__)) ;
7996 extern void g_datalist_init(GData **datalist ) ;   7996 extern void g_datalist_init(GData **datalist ) ;
7997 extern void g_datalist_clear(GData **datalist ) ;   7997 extern void g_datalist_clear(GData **datalist ) ;
7998 extern gpointer g_datalist_id_get_data(GData **datalist , GQuark key_id ) ;   7998 extern gpointer g_datalist_id_get_data(GData **datalist , GQuark key_id ) ;
7999 extern void g_datalist_id_set_data_full(GData **datalist , GQuark key_id ,   7999 extern void g_datalist_id_set_data_full(GData **datalist , GQuark key_id ,
8000                                         gpointer data ,   8000                                         gpointer data ,
8001                                         void (*destroy_func)(gpointer data ) ) ;   8001                                         void (*destroy_func)(gpointer data ) ) ;
8002 extern gpointer g_datalist_id_remove_no_notify(GData **datalist , GQuark key_id ) ;   8002 extern gpointer g_datalist_id_remove_no_notify(GData **datalist , GQuark key_id ) ;
8003 extern void g_datalist_foreach(GData **datalist ,   8003 extern void g_datalist_foreach(GData **datalist ,
8004                                void (*func)(GQuark key_id , gpointer data ,   8004                                void (*func)(GQuark key_id , gpointer data ,
8005                                             gpointer user_data ) ,   8005                                             gpointer user_data ) ,
8006                                gpointer user_data ) ;   8006                                gpointer user_data ) ;
8007 extern void g_datalist_set_flags(GData **datalist , guint flags ) ;   8007 extern void g_datalist_set_flags(GData **datalist , guint flags ) ;
8008 extern void g_datalist_unset_flags(GData **datalist , guint flags ) ;   8008 extern void g_datalist_unset_flags(GData **datalist , guint flags ) ;
8009 extern guint g_datalist_get_flags(GData **datalist ) ;   8009 extern guint g_datalist_get_flags(GData **datalist ) ;
8010 extern void g_dataset_destroy(gconstpointer dataset_location ) ;   8010 extern void g_dataset_destroy(gconstpointer dataset_location ) ;
8011 extern gpointer g_dataset_id_get_data(gconstpointer dataset_location ,   8011 extern gpointer g_dataset_id_get_data(gconstpointer dataset_location ,
8012                                       GQuark key_id ) ;   8012                                       GQuark key_id ) ;
8013 extern void g_dataset_id_set_data_full(gconstpointer dataset_location ,   8013 extern void g_dataset_id_set_data_full(gconstpointer dataset_location ,
8014                                        GQuark key_id , gpointer data ,   8014                                        GQuark key_id , gpointer data ,
8015                                        void (*destroy_func)(gpointer data ) ) ;   8015                                        void (*destroy_func)(gpointer data ) ) ;
8016 extern gpointer g_dataset_id_remove_no_notify(gconstpointer dataset_location ,   8016 extern gpointer g_dataset_id_remove_no_notify(gconstpointer dataset_location ,
8017                                               GQuark key_id ) ;   8017                                               GQuark key_id ) ;
8018 extern void g_dataset_foreach(gconstpointer dataset_location ,   8018 extern void g_dataset_foreach(gconstpointer dataset_location ,
8019                               void (*func)(GQuark key_id , gpointer data ,   8019                               void (*func)(GQuark key_id , gpointer data ,
8020                                            gpointer user_data ) ,   8020                                            gpointer user_data ) ,
8021                               gpointer user_data ) ;   8021                               gpointer user_data ) ;
8022 extern GDate *g_date_new(void) ;   8022 extern GDate *g_date_new(void) ;
8023 extern GDate *g_date_new_dmy(GDateDay day , GDateMonth month , GDateYear year ) ;   8023 extern GDate *g_date_new_dmy(GDateDay day , GDateMonth month , GDateYear year ) ;
8024 extern GDate *g_date_new_julian(guint32 julian_day ) ;   8024 extern GDate *g_date_new_julian(guint32 julian_day ) ;
8025 extern void g_date_free(GDate *date ) ;   8025 extern void g_date_free(GDate *date ) ;
8026 extern gboolean g_date_valid(GDate const   *date ) ;   8026 extern gboolean g_date_valid(GDate const   *date ) ;
8027 extern gboolean g_date_valid_day(GDateDay day )  __attribute__((__const__)) ;   8027 extern gboolean g_date_valid_day(GDateDay day )  __attribute__((__const__)) ;
8028 extern gboolean g_date_valid_month(GDateMonth month )  __attribute__((__const__)) ;   8028 extern gboolean g_date_valid_month(GDateMonth month )  __attribute__((__const__)) ;
8029 extern gboolean g_date_valid_year(GDateYear year )  __attribute__((__const__)) ;   8029 extern gboolean g_date_valid_year(GDateYear year )  __attribute__((__const__)) ;
8030 extern gboolean g_date_valid_weekday(GDateWeekday weekday )  __attribute__((__const__)) ;   8030 extern gboolean g_date_valid_weekday(GDateWeekday weekday )  __attribute__((__const__)) ;
8031 extern gboolean g_date_valid_julian(guint32 julian_date )  __attribute__((__const__)) ;   8031 extern gboolean g_date_valid_julian(guint32 julian_date )  __attribute__((__const__)) ;
8032 extern gboolean g_date_valid_dmy(GDateDay day , GDateMonth month ,   8032 extern gboolean g_date_valid_dmy(GDateDay day , GDateMonth month ,
8033                                  GDateYear year )  __attribute__((__const__)) ;   8033                                  GDateYear year )  __attribute__((__const__)) ;
8034 extern GDateWeekday g_date_get_weekday(GDate const   *date ) ;   8034 extern GDateWeekday g_date_get_weekday(GDate const   *date ) ;
8035 extern GDateMonth g_date_get_month(GDate const   *date ) ;   8035 extern GDateMonth g_date_get_month(GDate const   *date ) ;
8036 extern GDateYear g_date_get_year(GDate const   *date ) ;   8036 extern GDateYear g_date_get_year(GDate const   *date ) ;
8037 extern GDateDay g_date_get_day(GDate const   *date ) ;   8037 extern GDateDay g_date_get_day(GDate const   *date ) ;
8038 extern guint32 g_date_get_julian(GDate const   *date ) ;   8038 extern guint32 g_date_get_julian(GDate const   *date ) ;
8039 extern guint g_date_get_day_of_year(GDate const   *date ) ;   8039 extern guint g_date_get_day_of_year(GDate const   *date ) ;
8040 extern guint g_date_get_monday_week_of_year(GDate const   *date ) ;   8040 extern guint g_date_get_monday_week_of_year(GDate const   *date ) ;
8041 extern guint g_date_get_sunday_week_of_year(GDate const   *date ) ;   8041 extern guint g_date_get_sunday_week_of_year(GDate const   *date ) ;
8042 extern guint g_date_get_iso8601_week_of_year(GDate const   *date ) ;   8042 extern guint g_date_get_iso8601_week_of_year(GDate const   *date ) ;
8043 extern void g_date_clear(GDate *date , guint n_dates ) ;   8043 extern void g_date_clear(GDate *date , guint n_dates ) ;
8044 extern void g_date_set_parse(GDate *date , gchar const   *str ) ;   8044 extern void g_date_set_parse(GDate *date , gchar const   *str ) ;
8045 extern void g_date_set_time_t(GDate *date , time_t timet ) ;   8045 extern void g_date_set_time_t(GDate *date , time_t timet ) ;
8046 extern void g_date_set_time_val(GDate *date , GTimeVal *timeval ) ;   8046 extern void g_date_set_time_val(GDate *date , GTimeVal *timeval ) ;
8047 extern void g_date_set_time(GDate *date , GTime time_ ) ;   8047 extern void g_date_set_time(GDate *date , GTime time_ ) ;
8048 extern void g_date_set_month(GDate *date , GDateMonth month ) ;   8048 extern void g_date_set_month(GDate *date , GDateMonth month ) ;
8049 extern void g_date_set_day(GDate *date , GDateDay day ) ;   8049 extern void g_date_set_day(GDate *date , GDateDay day ) ;
8050 extern void g_date_set_year(GDate *date , GDateYear year ) ;   8050 extern void g_date_set_year(GDate *date , GDateYear year ) ;
8051 extern void g_date_set_dmy(GDate *date , GDateDay day , GDateMonth month ,   8051 extern void g_date_set_dmy(GDate *date , GDateDay day , GDateMonth month ,
8052                            GDateYear y ) ;   8052                            GDateYear y ) ;
8053 extern void g_date_set_julian(GDate *date , guint32 julian_date ) ;   8053 extern void g_date_set_julian(GDate *date , guint32 julian_date ) ;
8054 extern gboolean g_date_is_first_of_month(GDate const   *date ) ;   8054 extern gboolean g_date_is_first_of_month(GDate const   *date ) ;
8055 extern gboolean g_date_is_last_of_month(GDate const   *date ) ;   8055 extern gboolean g_date_is_last_of_month(GDate const   *date ) ;
8056 extern void g_date_add_days(GDate *date , guint n_days ) ;   8056 extern void g_date_add_days(GDate *date , guint n_days ) ;
8057 extern void g_date_subtract_days(GDate *date , guint n_days ) ;   8057 extern void g_date_subtract_days(GDate *date , guint n_days ) ;
8058 extern void g_date_add_months(GDate *date , guint n_months ) ;   8058 extern void g_date_add_months(GDate *date , guint n_months ) ;
8059 extern void g_date_subtract_months(GDate *date , guint n_months ) ;   8059 extern void g_date_subtract_months(GDate *date , guint n_months ) ;
8060 extern void g_date_add_years(GDate *date , guint n_years ) ;   8060 extern void g_date_add_years(GDate *date , guint n_years ) ;
8061 extern void g_date_subtract_years(GDate *date , guint n_years ) ;   8061 extern void g_date_subtract_years(GDate *date , guint n_years ) ;
8062 extern gboolean g_date_is_leap_year(GDateYear year )  __attribute__((__const__)) ;   8062 extern gboolean g_date_is_leap_year(GDateYear year )  __attribute__((__const__)) ;
8063 extern guint8 g_date_get_days_in_month(GDateMonth month , GDateYear year )  __attribute__((__const__)) ;   8063 extern guint8 g_date_get_days_in_month(GDateMonth month , GDateYear year )  __attribute__((__const__)) ;
8064 extern guint8 g_date_get_monday_weeks_in_year(GDateYear year )  __attribute__((__const__)) ;   8064 extern guint8 g_date_get_monday_weeks_in_year(GDateYear year )  __attribute__((__const__)) ;
8065 extern guint8 g_date_get_sunday_weeks_in_year(GDateYear year )  __attribute__((__const__)) ;   8065 extern guint8 g_date_get_sunday_weeks_in_year(GDateYear year )  __attribute__((__const__)) ;
8066 extern gint g_date_days_between(GDate const   *date1 , GDate const   *date2 ) ;   8066 extern gint g_date_days_between(GDate const   *date1 , GDate const   *date2 ) ;
8067 extern gint g_date_compare(GDate const   *lhs , GDate const   *rhs ) ;   8067 extern gint g_date_compare(GDate const   *lhs , GDate const   *rhs ) ;
8068 extern void g_date_to_struct_tm(GDate const   *date , struct tm *tm ) ;   8068 extern void g_date_to_struct_tm(GDate const   *date , struct tm *tm ) ;
8069 extern void g_date_clamp(GDate *date , GDate const   *min_date ,   8069 extern void g_date_clamp(GDate *date , GDate const   *min_date ,
8070                          GDate const   *max_date ) ;   8070                          GDate const   *max_date ) ;
8071 extern void g_date_order(GDate *date1 , GDate *date2 ) ;   8071 extern void g_date_order(GDate *date1 , GDate *date2 ) ;
8072 extern gsize g_date_strftime(gchar *s , gsize slen , gchar const   *format ,   8072 extern gsize g_date_strftime(gchar *s , gsize slen , gchar const   *format ,
8073                              GDate const   *date ) ;   8073                              GDate const   *date ) ;
8074 extern GDir *g_dir_open(gchar const   *path , guint flags , GError **error ) ;   8074 extern GDir *g_dir_open(gchar const   *path , guint flags , GError **error ) ;
8075 extern gchar const   *g_dir_read_name(GDir *dir ) ;   8075 extern gchar const   *g_dir_read_name(GDir *dir ) ;
8076 extern void g_dir_rewind(GDir *dir ) ;   8076 extern void g_dir_rewind(GDir *dir ) ;
8077 extern void g_dir_close(GDir *dir ) ;   8077 extern void g_dir_close(GDir *dir ) ;
8078 extern GQuark g_file_error_quark(void) ;   8078 extern GQuark g_file_error_quark(void) ;
8079 extern GFileError g_file_error_from_errno(gint err_no ) ;   8079 extern GFileError g_file_error_from_errno(gint err_no ) ;
8080 extern gboolean g_file_test(gchar const   *filename , GFileTest test ) ;   8080 extern gboolean g_file_test(gchar const   *filename , GFileTest test ) ;
8081 extern gboolean g_file_get_contents(gchar const   *filename , gchar **contents ,   8081 extern gboolean g_file_get_contents(gchar const   *filename , gchar **contents ,
8082                                     gsize *length , GError **error ) ;   8082                                     gsize *length , GError **error ) ;
8083 extern gboolean g_file_set_contents(gchar const   *filename ,   8083 extern gboolean g_file_set_contents(gchar const   *filename ,
8084                                     gchar const   *contents , gssize length ,   8084                                     gchar const   *contents , gssize length ,
8085                                     GError **error ) ;   8085                                     GError **error ) ;
8086 extern gchar *g_file_read_link(gchar const   *filename , GError **error ) ;   8086 extern gchar *g_file_read_link(gchar const   *filename , GError **error ) ;
8087 extern gint g_mkstemp(gchar *tmpl ) ;   8087 extern gint g_mkstemp(gchar *tmpl ) ;
8088 extern gint g_mkstemp_full(gchar *tmpl , int flags , int mode ) ;   8088 extern gint g_mkstemp_full(gchar *tmpl , int flags , int mode ) ;
8089 extern gint g_file_open_tmp(gchar const   *tmpl , gchar **name_used ,   8089 extern gint g_file_open_tmp(gchar const   *tmpl , gchar **name_used ,
8090                             GError **error ) ;   8090                             GError **error ) ;
8091 extern char *g_format_size_for_display(goffset size ) ;   8091 extern char *g_format_size_for_display(goffset size ) ;
8092 extern gchar *g_build_path(gchar const   *separator ,   8092 extern gchar *g_build_path(gchar const   *separator ,
8093                            gchar const   *first_element  , ...)  __attribute__((__sentinel__,   8093                            gchar const   *first_element  , ...)  __attribute__((__sentinel__,
8094 __malloc__)) ;   8094 __malloc__)) ;
8095 extern gchar *g_build_pathv(gchar const   *separator , gchar **args )  __attribute__((__malloc__)) ;   8095 extern gchar *g_build_pathv(gchar const   *separator , gchar **args )  __attribute__((__malloc__)) ;
8096 extern gchar *g_build_filename(gchar const   *first_element  , ...)  __attribute__((__sentinel__,   8096 extern gchar *g_build_filename(gchar const   *first_element  , ...)  __attribute__((__sentinel__,
8097 __malloc__)) ;   8097 __malloc__)) ;
8098 extern gchar *g_build_filenamev(gchar **args )  __attribute__((__malloc__)) ;   8098 extern gchar *g_build_filenamev(gchar **args )  __attribute__((__malloc__)) ;
8099 extern int g_mkdir_with_parents(gchar const   *pathname , int mode ) ;   8099 extern int g_mkdir_with_parents(gchar const   *pathname , int mode ) ;
8100 extern GHashTable *g_hash_table_new(guint (*hash_func)(gconstpointer key ) ,   8100 extern GHashTable *g_hash_table_new(guint (*hash_func)(gconstpointer key ) ,
8101                                     gboolean (*key_equal_func)(gconstpointer a ,   8101                                     gboolean (*key_equal_func)(gconstpointer a ,
8102                                                                gconstpointer b ) ) ;   8102                                                                gconstpointer b ) ) ;
8103 extern GHashTable *g_hash_table_new_full(guint (*hash_func)(gconstpointer key ) ,   8103 extern GHashTable *g_hash_table_new_full(guint (*hash_func)(gconstpointer key ) ,
8104                                          gboolean (*key_equal_func)(gconstpointer a ,   8104                                          gboolean (*key_equal_func)(gconstpointer a ,
8105                                                                     gconstpointer b ) ,   8105                                                                     gconstpointer b ) ,
8106                                          void (*key_destroy_func)(gpointer data ) ,   8106                                          void (*key_destroy_func)(gpointer data ) ,
8107                                          void (*value_destroy_func)(gpointer data ) ) ;   8107                                          void (*value_destroy_func)(gpointer data ) ) ;
8108 extern void g_hash_table_destroy(GHashTable *hash_table ) ;   8108 extern void g_hash_table_destroy(GHashTable *hash_table ) ;
8109 extern void g_hash_table_insert(GHashTable *hash_table , gpointer key ,   8109 extern void g_hash_table_insert(GHashTable *hash_table , gpointer key ,
8110                                 gpointer value ) ;   8110                                 gpointer value ) ;
8111 extern void g_hash_table_replace(GHashTable *hash_table , gpointer key ,   8111 extern void g_hash_table_replace(GHashTable *hash_table , gpointer key ,
8112                                  gpointer value ) ;   8112                                  gpointer value ) ;
8113 extern gboolean g_hash_table_remove(GHashTable *hash_table , gconstpointer key ) ;   8113 extern gboolean g_hash_table_remove(GHashTable *hash_table , gconstpointer key ) ;
8114 extern void g_hash_table_remove_all(GHashTable *hash_table ) ;   8114 extern void g_hash_table_remove_all(GHashTable *hash_table ) ;
8115 extern gboolean g_hash_table_steal(GHashTable *hash_table , gconstpointer key ) ;   8115 extern gboolean g_hash_table_steal(GHashTable *hash_table , gconstpointer key ) ;
8116 extern void g_hash_table_steal_all(GHashTable *hash_table ) ;   8116 extern void g_hash_table_steal_all(GHashTable *hash_table ) ;
8117 extern gpointer g_hash_table_lookup(GHashTable *hash_table , gconstpointer key ) ;   8117 extern gpointer g_hash_table_lookup(GHashTable *hash_table , gconstpointer key ) ;
8118 extern gboolean g_hash_table_lookup_extended(GHashTable *hash_table ,   8118 extern gboolean g_hash_table_lookup_extended(GHashTable *hash_table ,
8119                                              gconstpointer lookup_key ,   8119                                              gconstpointer lookup_key ,
8120                                              gpointer *orig_key ,   8120                                              gpointer *orig_key ,
8121                                              gpointer *value ) ;   8121                                              gpointer *value ) ;
8122 extern void g_hash_table_foreach(GHashTable *hash_table ,   8122 extern void g_hash_table_foreach(GHashTable *hash_table ,
8123                                  void (*func)(gpointer key , gpointer value ,   8123                                  void (*func)(gpointer key , gpointer value ,
8124                                               gpointer user_data ) ,   8124                                               gpointer user_data ) ,
8125                                  gpointer user_data ) ;   8125                                  gpointer user_data ) ;
8126 extern gpointer g_hash_table_find(GHashTable *hash_table ,   8126 extern gpointer g_hash_table_find(GHashTable *hash_table ,
8127                                   gboolean (*predicate)(gpointer key ,   8127                                   gboolean (*predicate)(gpointer key ,
8128                                                         gpointer value ,   8128                                                         gpointer value ,
8129                                                         gpointer user_data ) ,   8129                                                         gpointer user_data ) ,
8130                                   gpointer user_data ) ;   8130                                   gpointer user_data ) ;
8131 extern guint g_hash_table_foreach_remove(GHashTable *hash_table ,   8131 extern guint g_hash_table_foreach_remove(GHashTable *hash_table ,
8132                                          gboolean (*func)(gpointer key ,   8132                                          gboolean (*func)(gpointer key ,
8133                                                           gpointer value ,   8133                                                           gpointer value ,
8134                                                           gpointer user_data ) ,   8134                                                           gpointer user_data ) ,
8135                                          gpointer user_data ) ;   8135                                          gpointer user_data ) ;
8136 extern guint g_hash_table_foreach_steal(GHashTable *hash_table ,   8136 extern guint g_hash_table_foreach_steal(GHashTable *hash_table ,
8137                                         gboolean (*func)(gpointer key ,   8137                                         gboolean (*func)(gpointer key ,
8138                                                          gpointer value ,   8138                                                          gpointer value ,
8139                                                          gpointer user_data ) ,   8139                                                          gpointer user_data ) ,
8140                                         gpointer user_data ) ;   8140                                         gpointer user_data ) ;
8141 extern guint g_hash_table_size(GHashTable *hash_table ) ;   8141 extern guint g_hash_table_size(GHashTable *hash_table ) ;
8142 extern GList *g_hash_table_get_keys(GHashTable *hash_table ) ;   8142 extern GList *g_hash_table_get_keys(GHashTable *hash_table ) ;
8143 extern GList *g_hash_table_get_values(GHashTable *hash_table ) ;   8143 extern GList *g_hash_table_get_values(GHashTable *hash_table ) ;
8144 extern void g_hash_table_iter_init(GHashTableIter *iter ,   8144 extern void g_hash_table_iter_init(GHashTableIter *iter ,
8145                                    GHashTable *hash_table ) ;   8145                                    GHashTable *hash_table ) ;
8146 extern gboolean g_hash_table_iter_next(GHashTableIter *iter , gpointer *key ,   8146 extern gboolean g_hash_table_iter_next(GHashTableIter *iter , gpointer *key ,
8147                                        gpointer *value ) ;   8147                                        gpointer *value ) ;
8148 extern GHashTable *g_hash_table_iter_get_hash_table(GHashTableIter *iter ) ;   8148 extern GHashTable *g_hash_table_iter_get_hash_table(GHashTableIter *iter ) ;
8149 extern void g_hash_table_iter_remove(GHashTableIter *iter ) ;   8149 extern void g_hash_table_iter_remove(GHashTableIter *iter ) ;
8150 extern void g_hash_table_iter_steal(GHashTableIter *iter ) ;   8150 extern void g_hash_table_iter_steal(GHashTableIter *iter ) ;
8151 extern GHashTable *g_hash_table_ref(GHashTable *hash_table ) ;   8151 extern GHashTable *g_hash_table_ref(GHashTable *hash_table ) ;
8152 extern void g_hash_table_unref(GHashTable *hash_table ) ;   8152 extern void g_hash_table_unref(GHashTable *hash_table ) ;
8153 extern gboolean g_str_equal(gconstpointer v1 , gconstpointer v2 ) ;   8153 extern gboolean g_str_equal(gconstpointer v1 , gconstpointer v2 ) ;
8154 extern guint g_str_hash(gconstpointer v ) ;   8154 extern guint g_str_hash(gconstpointer v ) ;
8155 extern gboolean g_int_equal(gconstpointer v1 , gconstpointer v2 ) ;   8155 extern gboolean g_int_equal(gconstpointer v1 , gconstpointer v2 ) ;
8156 extern guint g_int_hash(gconstpointer v ) ;   8156 extern guint g_int_hash(gconstpointer v ) ;
8157 extern gboolean g_int64_equal(gconstpointer v1 , gconstpointer v2 ) ;   8157 extern gboolean g_int64_equal(gconstpointer v1 , gconstpointer v2 ) ;
8158 extern guint g_int64_hash(gconstpointer v ) ;   8158 extern guint g_int64_hash(gconstpointer v ) ;
8159 extern gboolean g_double_equal(gconstpointer v1 , gconstpointer v2 ) ;   8159 extern gboolean g_double_equal(gconstpointer v1 , gconstpointer v2 ) ;
8160 extern guint g_double_hash(gconstpointer v ) ;   8160 extern guint g_double_hash(gconstpointer v ) ;
8161 extern guint g_direct_hash(gconstpointer v )  __attribute__((__const__)) ;   8161 extern guint g_direct_hash(gconstpointer v )  __attribute__((__const__)) ;
8162 extern gboolean g_direct_equal(gconstpointer v1 , gconstpointer v2 )  __attribute__((__const__)) ;   8162 extern gboolean g_direct_equal(gconstpointer v1 , gconstpointer v2 )  __attribute__((__const__)) ;
8163 extern void g_hook_list_init(GHookList *hook_list , guint hook_size ) ;   8163 extern void g_hook_list_init(GHookList *hook_list , guint hook_size ) ;
8164 extern void g_hook_list_clear(GHookList *hook_list ) ;   8164 extern void g_hook_list_clear(GHookList *hook_list ) ;
8165 extern GHook *g_hook_alloc(GHookList *hook_list ) ;   8165 extern GHook *g_hook_alloc(GHookList *hook_list ) ;
8166 extern void g_hook_free(GHookList *hook_list , GHook *hook ) ;   8166 extern void g_hook_free(GHookList *hook_list , GHook *hook ) ;
8167 extern GHook *g_hook_ref(GHookList *hook_list , GHook *hook ) ;   8167 extern GHook *g_hook_ref(GHookList *hook_list , GHook *hook ) ;
8168 extern void g_hook_unref(GHookList *hook_list , GHook *hook ) ;   8168 extern void g_hook_unref(GHookList *hook_list , GHook *hook ) ;
8169 extern gboolean g_hook_destroy(GHookList *hook_list , gulong hook_id ) ;   8169 extern gboolean g_hook_destroy(GHookList *hook_list , gulong hook_id ) ;
8170 extern void g_hook_destroy_link(GHookList *hook_list , GHook *hook ) ;   8170 extern void g_hook_destroy_link(GHookList *hook_list , GHook *hook ) ;
8171 extern void g_hook_prepend(GHookList *hook_list , GHook *hook ) ;   8171 extern void g_hook_prepend(GHookList *hook_list , GHook *hook ) ;
8172 extern void g_hook_insert_before(GHookList *hook_list , GHook *sibling ,   8172 extern void g_hook_insert_before(GHookList *hook_list , GHook *sibling ,
8173                                  GHook *hook ) ;   8173                                  GHook *hook ) ;
8174 extern void g_hook_insert_sorted(GHookList *hook_list , GHook *hook ,   8174 extern void g_hook_insert_sorted(GHookList *hook_list , GHook *hook ,
8175                                  gint (*func)(GHook *new_hook , GHook *sibling ) ) ;   8175                                  gint (*func)(GHook *new_hook , GHook *sibling ) ) ;
8176 extern GHook *g_hook_get(GHookList *hook_list , gulong hook_id ) ;   8176 extern GHook *g_hook_get(GHookList *hook_list , gulong hook_id ) ;
8177 extern GHook *g_hook_find(GHookList *hook_list , gboolean need_valids ,   8177 extern GHook *g_hook_find(GHookList *hook_list , gboolean need_valids ,
8178                           gboolean (*func)(GHook *hook , gpointer data ) ,   8178                           gboolean (*func)(GHook *hook , gpointer data ) ,
8179                           gpointer data ) ;   8179                           gpointer data ) ;
8180 extern GHook *g_hook_find_data(GHookList *hook_list , gboolean need_valids ,   8180 extern GHook *g_hook_find_data(GHookList *hook_list , gboolean need_valids ,
8181                                gpointer data ) ;   8181                                gpointer data ) ;
8182 extern GHook *g_hook_find_func(GHookList *hook_list , gboolean need_valids ,   8182 extern GHook *g_hook_find_func(GHookList *hook_list , gboolean need_valids ,
8183                                gpointer func ) ;   8183                                gpointer func ) ;
8184 extern GHook *g_hook_find_func_data(GHookList *hook_list ,   8184 extern GHook *g_hook_find_func_data(GHookList *hook_list ,
8185                                     gboolean need_valids , gpointer func ,   8185                                     gboolean need_valids , gpointer func ,
8186                                     gpointer data ) ;   8186                                     gpointer data ) ;
8187 extern GHook *g_hook_first_valid(GHookList *hook_list , gboolean may_be_in_call ) ;   8187 extern GHook *g_hook_first_valid(GHookList *hook_list , gboolean may_be_in_call ) ;
8188 extern GHook *g_hook_next_valid(GHookList *hook_list , GHook *hook ,   8188 extern GHook *g_hook_next_valid(GHookList *hook_list , GHook *hook ,
8189                                 gboolean may_be_in_call ) ;   8189                                 gboolean may_be_in_call ) ;
8190 extern gint g_hook_compare_ids(GHook *new_hook , GHook *sibling ) ;   8190 extern gint g_hook_compare_ids(GHook *new_hook , GHook *sibling ) ;
8191 extern void g_hook_list_invoke(GHookList *hook_list , gboolean may_recurse ) ;   8191 extern void g_hook_list_invoke(GHookList *hook_list , gboolean may_recurse ) ;
8192 extern void g_hook_list_invoke_check(GHookList *hook_list ,   8192 extern void g_hook_list_invoke_check(GHookList *hook_list ,
8193                                      gboolean may_recurse ) ;   8193                                      gboolean may_recurse ) ;
8194 extern void g_hook_list_marshal(GHookList *hook_list , gboolean may_recurse ,   8194 extern void g_hook_list_marshal(GHookList *hook_list , gboolean may_recurse ,
8195                                 void (*marshaller)(GHook *hook ,   8195                                 void (*marshaller)(GHook *hook ,
8196                                                    gpointer marshal_data ) ,   8196                                                    gpointer marshal_data ) ,
8197                                 gpointer marshal_data ) ;   8197                                 gpointer marshal_data ) ;
8198 extern void g_hook_list_marshal_check(GHookList *hook_list ,   8198 extern void g_hook_list_marshal_check(GHookList *hook_list ,
8199                                       gboolean may_recurse ,   8199                                       gboolean may_recurse ,
8200                                       gboolean (*marshaller)(GHook *hook ,   8200                                       gboolean (*marshaller)(GHook *hook ,
8201                                                              gpointer marshal_data ) ,   8201                                                              gpointer marshal_data ) ,
8202                                       gpointer marshal_data ) ;   8202                                       gpointer marshal_data ) ;
8203 extern gboolean g_hostname_is_non_ascii(gchar const   *hostname ) ;   8203 extern gboolean g_hostname_is_non_ascii(gchar const   *hostname ) ;
8204 extern gboolean g_hostname_is_ascii_encoded(gchar const   *hostname ) ;   8204 extern gboolean g_hostname_is_ascii_encoded(gchar const   *hostname ) ;
8205 extern gboolean g_hostname_is_ip_address(gchar const   *hostname ) ;   8205 extern gboolean g_hostname_is_ip_address(gchar const   *hostname ) ;
8206 extern gchar *g_hostname_to_ascii(gchar const   *hostname ) ;   8206 extern gchar *g_hostname_to_ascii(gchar const   *hostname ) ;
8207 extern gchar *g_hostname_to_unicode(gchar const   *hostname ) ;   8207 extern gchar *g_hostname_to_unicode(gchar const   *hostname ) ;
8208 extern gint g_poll(GPollFD *fds , guint nfds , gint timeout ) ;   8208 extern gint g_poll(GPollFD *fds , guint nfds , gint timeout ) ;
8209 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_alloc)(void) ;   8209 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_alloc)(void) ;
8210 extern void g_slist_free(GSList *list ) ;   8210 extern void g_slist_free(GSList *list ) ;
8211 extern void g_slist_free_1(GSList *list ) ;   8211 extern void g_slist_free_1(GSList *list ) ;
8212 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_append)(GSList *list ,   8212 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_append)(GSList *list ,
8213                                                                          gpointer data ) ;   8213                                                                          gpointer data ) ;
8214 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_prepend)(GSList *list ,   8214 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_prepend)(GSList *list ,
8215                                                                           gpointer data ) ;   8215                                                                           gpointer data ) ;
8216 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert)(GSList *list ,   8216 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert)(GSList *list ,
8217                                                                          gpointer data ,   8217                                                                          gpointer data ,
8218                                                                          gint position ) ;   8218                                                                          gint position ) ;
8219 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_sorted)(GSList *list ,   8219 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_sorted)(GSList *list ,
8220                                                                                 gpointer data ,   8220                                                                                 gpointer data ,
8221                                                                                 gint (*func)(gconstpointer a ,   8221                                                                                 gint (*func)(gconstpointer a ,
8222                                                                                              gconstpointer b ) ) ;   8222                                                                                              gconstpointer b ) ) ;
8223 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_sorted_with_data)(GSList *list ,   8223 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_sorted_with_data)(GSList *list ,
8224                                                                                           gpointer data ,   8224                                                                                           gpointer data ,
8225                                                                                           gint (*func)(gconstpointer a ,   8225                                                                                           gint (*func)(gconstpointer a ,
8226                                                                                                        gconstpointer b ,   8226                                                                                                        gconstpointer b ,
8227                                                                                                        gpointer user_data ) ,   8227                                                                                                        gpointer user_data ) ,
8228                                                                                           gpointer user_data ) ;   8228                                                                                           gpointer user_data ) ;
8229 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_before)(GSList *slist ,   8229 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_before)(GSList *slist ,
8230                                                                                 GSList *sibling ,   8230                                                                                 GSList *sibling ,
8231                                                                                 gpointer data ) ;   8231                                                                                 gpointer data ) ;
8232 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_concat)(GSList *list1 ,   8232 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_concat)(GSList *list1 ,
8233                                                                          GSList *list2 ) ;   8233                                                                          GSList *list2 ) ;
8234 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove)(GSList *list ,   8234 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove)(GSList *list ,
8235                                                                          gconstpointer data ) ;   8235                                                                          gconstpointer data ) ;
8236 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove_all)(GSList *list ,   8236 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove_all)(GSList *list ,
8237                                                                              gconstpointer data ) ;   8237                                                                              gconstpointer data ) ;
8238 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove_link)(GSList *list ,   8238 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove_link)(GSList *list ,
8239                                                                               GSList *link_ ) ;   8239                                                                               GSList *link_ ) ;
8240 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_delete_link)(GSList *list ,   8240 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_delete_link)(GSList *list ,
8241                                                                               GSList *link_ ) ;   8241                                                                               GSList *link_ ) ;
8242 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_reverse)(GSList *list ) ;   8242 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_reverse)(GSList *list ) ;
8243 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_copy)(GSList *list ) ;   8243 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_copy)(GSList *list ) ;
8244 extern GSList *g_slist_nth(GSList *list , guint n ) ;   8244 extern GSList *g_slist_nth(GSList *list , guint n ) ;
8245 extern GSList *g_slist_find(GSList *list , gconstpointer data ) ;   8245 extern GSList *g_slist_find(GSList *list , gconstpointer data ) ;
8246 extern GSList *g_slist_find_custom(GSList *list , gconstpointer data ,   8246 extern GSList *g_slist_find_custom(GSList *list , gconstpointer data ,
8247                                    gint (*func)(gconstpointer a ,   8247                                    gint (*func)(gconstpointer a ,
8248                                                 gconstpointer b ) ) ;   8248                                                 gconstpointer b ) ) ;
8249 extern gint g_slist_position(GSList *list , GSList *llink ) ;   8249 extern gint g_slist_position(GSList *list , GSList *llink ) ;
8250 extern gint g_slist_index(GSList *list , gconstpointer data ) ;   8250 extern gint g_slist_index(GSList *list , gconstpointer data ) ;
8251 extern GSList *g_slist_last(GSList *list ) ;   8251 extern GSList *g_slist_last(GSList *list ) ;
8252 extern guint g_slist_length(GSList *list ) ;   8252 extern guint g_slist_length(GSList *list ) ;
8253 extern void g_slist_foreach(GSList *list , void (*func)(gpointer data ,   8253 extern void g_slist_foreach(GSList *list , void (*func)(gpointer data ,
8254                                                         gpointer user_data ) ,   8254                                                         gpointer user_data ) ,
8255                             gpointer user_data ) ;   8255                             gpointer user_data ) ;
8256 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_sort)(GSList *list ,   8256 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_sort)(GSList *list ,
8257                                                                        gint (*compare_func)(gconstpointer a ,   8257                                                                        gint (*compare_func)(gconstpointer a ,
8258                                                                                             gconstpointer b ) ) ;   8258                                                                                             gconstpointer b ) ) ;
8259 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_sort_with_data)(GSList *list ,   8259 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_sort_with_data)(GSList *list ,
8260                                                                                  gint (*compare_func)(gconstpointer a ,   8260                                                                                  gint (*compare_func)(gconstpointer a ,
8261                                                                                                       gconstpointer b ,   8261                                                                                                       gconstpointer b ,
8262                                                                                                       gpointer user_data ) ,   8262                                                                                                       gpointer user_data ) ,
8263                                                                                  gpointer user_data ) ;   8263                                                                                  gpointer user_data ) ;
8264 extern gpointer g_slist_nth_data(GSList *list , guint n ) ;   8264 extern gpointer g_slist_nth_data(GSList *list , guint n ) ;
8265 extern void g_slist_push_allocator(gpointer dummy ) ;   8265 extern void g_slist_push_allocator(gpointer dummy ) ;
8266 extern void g_slist_pop_allocator(void) ;   8266 extern void g_slist_pop_allocator(void) ;
8267 extern GMainContext *g_main_context_new(void) ;   8267 extern GMainContext *g_main_context_new(void) ;
8268 extern GMainContext *g_main_context_ref(GMainContext *context ) ;   8268 extern GMainContext *g_main_context_ref(GMainContext *context ) ;
8269 extern void g_main_context_unref(GMainContext *context ) ;   8269 extern void g_main_context_unref(GMainContext *context ) ;
8270 extern GMainContext *g_main_context_default(void) ;   8270 extern GMainContext *g_main_context_default(void) ;
8271 extern gboolean g_main_context_iteration(GMainContext *context ,   8271 extern gboolean g_main_context_iteration(GMainContext *context ,
8272                                          gboolean may_block ) ;   8272                                          gboolean may_block ) ;
8273 extern gboolean g_main_context_pending(GMainContext *context ) ;   8273 extern gboolean g_main_context_pending(GMainContext *context ) ;
8274 extern GSource *g_main_context_find_source_by_id(GMainContext *context ,   8274 extern GSource *g_main_context_find_source_by_id(GMainContext *context ,
8275                                                  guint source_id ) ;   8275                                                  guint source_id ) ;
8276 extern GSource *g_main_context_find_source_by_user_data(GMainContext *context ,   8276 extern GSource *g_main_context_find_source_by_user_data(GMainContext *context ,
8277                                                         gpointer user_data ) ;   8277                                                         gpointer user_data ) ;
8278 extern GSource *g_main_context_find_source_by_funcs_user_data(GMainContext *context ,   8278 extern GSource *g_main_context_find_source_by_funcs_user_data(GMainContext *context ,
8279                                                               GSourceFuncs *funcs ,   8279                                                               GSourceFuncs *funcs ,
8280                                                               gpointer user_data ) ;   8280                                                               gpointer user_data ) ;
8281 extern void g_main_context_wakeup(GMainContext *context ) ;   8281 extern void g_main_context_wakeup(GMainContext *context ) ;
8282 extern gboolean g_main_context_acquire(GMainContext *context ) ;   8282 extern gboolean g_main_context_acquire(GMainContext *context ) ;
8283 extern void g_main_context_release(GMainContext *context ) ;   8283 extern void g_main_context_release(GMainContext *context ) ;
8284 extern gboolean g_main_context_is_owner(GMainContext *context ) ;   8284 extern gboolean g_main_context_is_owner(GMainContext *context ) ;
8285 extern gboolean g_main_context_wait(GMainContext *context , GCond *cond ,   8285 extern gboolean g_main_context_wait(GMainContext *context , GCond *cond ,
8286                                     GMutex *mutex ) ;   8286                                     GMutex *mutex ) ;
8287 extern gboolean g_main_context_prepare(GMainContext *context , gint *priority ) ;   8287 extern gboolean g_main_context_prepare(GMainContext *context , gint *priority ) ;
8288 extern gint g_main_context_query(GMainContext *context , gint max_priority ,   8288 extern gint g_main_context_query(GMainContext *context , gint max_priority ,
8289                                  gint *timeout_ , GPollFD *fds , gint n_fds ) ;   8289                                  gint *timeout_ , GPollFD *fds , gint n_fds ) ;
8290 extern gint g_main_context_check(GMainContext *context , gint max_priority ,   8290 extern gint g_main_context_check(GMainContext *context , gint max_priority ,
8291                                  GPollFD *fds , gint n_fds ) ;   8291                                  GPollFD *fds , gint n_fds ) ;
8292 extern void g_main_context_dispatch(GMainContext *context ) ;   8292 extern void g_main_context_dispatch(GMainContext *context ) ;
8293 extern void g_main_context_set_poll_func(GMainContext *context ,   8293 extern void g_main_context_set_poll_func(GMainContext *context ,
8294                                          gint (*func)(GPollFD *ufds ,   8294                                          gint (*func)(GPollFD *ufds ,
8295                                                       guint nfsd ,   8295                                                       guint nfsd ,
8296                                                       gint timeout_ ) ) ;   8296                                                       gint timeout_ ) ) ;
8297 extern GPollFunc g_main_context_get_poll_func(GMainContext *context ) ;   8297 extern GPollFunc g_main_context_get_poll_func(GMainContext *context ) ;
8298 extern void g_main_context_add_poll(GMainContext *context , GPollFD *fd ,   8298 extern void g_main_context_add_poll(GMainContext *context , GPollFD *fd ,
8299                                     gint priority ) ;   8299                                     gint priority ) ;
8300 extern void g_main_context_remove_poll(GMainContext *context , GPollFD *fd ) ;   8300 extern void g_main_context_remove_poll(GMainContext *context , GPollFD *fd ) ;
8301 extern gint g_main_depth(void) ;   8301 extern gint g_main_depth(void) ;
8302 extern GSource *g_main_current_source(void) ;   8302 extern GSource *g_main_current_source(void) ;
8303 extern void g_main_context_push_thread_default(GMainContext *context ) ;   8303 extern void g_main_context_push_thread_default(GMainContext *context ) ;
8304 extern void g_main_context_pop_thread_default(GMainContext *context ) ;   8304 extern void g_main_context_pop_thread_default(GMainContext *context ) ;
8305 extern GMainContext *g_main_context_get_thread_default(void) ;   8305 extern GMainContext *g_main_context_get_thread_default(void) ;
8306 extern GMainLoop *g_main_loop_new(GMainContext *context , gboolean is_running ) ;   8306 extern GMainLoop *g_main_loop_new(GMainContext *context , gboolean is_running ) ;
8307 extern void g_main_loop_run(GMainLoop *loop ) ;   8307 extern void g_main_loop_run(GMainLoop *loop ) ;
8308 extern void g_main_loop_quit(GMainLoop *loop ) ;   8308 extern void g_main_loop_quit(GMainLoop *loop ) ;
8309 extern GMainLoop *g_main_loop_ref(GMainLoop *loop ) ;   8309 extern GMainLoop *g_main_loop_ref(GMainLoop *loop ) ;
8310 extern void g_main_loop_unref(GMainLoop *loop ) ;   8310 extern void g_main_loop_unref(GMainLoop *loop ) ;
8311 extern gboolean g_main_loop_is_running(GMainLoop *loop ) ;   8311 extern gboolean g_main_loop_is_running(GMainLoop *loop ) ;
8312 extern GMainContext *g_main_loop_get_context(GMainLoop *loop ) ;   8312 extern GMainContext *g_main_loop_get_context(GMainLoop *loop ) ;
8313 extern GSource *g_source_new(GSourceFuncs *source_funcs , guint struct_size ) ;   8313 extern GSource *g_source_new(GSourceFuncs *source_funcs , guint struct_size ) ;
8314 extern GSource *g_source_ref(GSource *source ) ;   8314 extern GSource *g_source_ref(GSource *source ) ;
8315 extern void g_source_unref(GSource *source ) ;   8315 extern void g_source_unref(GSource *source ) ;
8316 extern guint g_source_attach(GSource *source , GMainContext *context ) ;   8316 extern guint g_source_attach(GSource *source , GMainContext *context ) ;
8317 extern void g_source_destroy(GSource *source ) ;   8317 extern void g_source_destroy(GSource *source ) ;
8318 extern void g_source_set_priority(GSource *source , gint priority ) ;   8318 extern void g_source_set_priority(GSource *source , gint priority ) ;
8319 extern gint g_source_get_priority(GSource *source ) ;   8319 extern gint g_source_get_priority(GSource *source ) ;
8320 extern void g_source_set_can_recurse(GSource *source , gboolean can_recurse ) ;   8320 extern void g_source_set_can_recurse(GSource *source , gboolean can_recurse ) ;
8321 extern gboolean g_source_get_can_recurse(GSource *source ) ;   8321 extern gboolean g_source_get_can_recurse(GSource *source ) ;
8322 extern guint g_source_get_id(GSource *source ) ;   8322 extern guint g_source_get_id(GSource *source ) ;
8323 extern GMainContext *g_source_get_context(GSource *source ) ;   8323 extern GMainContext *g_source_get_context(GSource *source ) ;
8324 extern void g_source_set_callback(GSource *source ,   8324 extern void g_source_set_callback(GSource *source ,
8325                                   gboolean (*func)(gpointer data ) ,   8325                                   gboolean (*func)(gpointer data ) ,
8326                                   gpointer data ,   8326                                   gpointer data ,
8327                                   void (*notify)(gpointer data ) ) ;   8327                                   void (*notify)(gpointer data ) ) ;
8328 extern void g_source_set_funcs(GSource *source , GSourceFuncs *funcs ) ;   8328 extern void g_source_set_funcs(GSource *source , GSourceFuncs *funcs ) ;
8329 extern gboolean g_source_is_destroyed(GSource *source ) ;   8329 extern gboolean g_source_is_destroyed(GSource *source ) ;
8330 extern void g_source_set_callback_indirect(GSource *source ,   8330 extern void g_source_set_callback_indirect(GSource *source ,
8331                                            gpointer callback_data ,   8331                                            gpointer callback_data ,
8332                                            GSourceCallbackFuncs *callback_funcs ) ;   8332                                            GSourceCallbackFuncs *callback_funcs ) ;
8333 extern void g_source_add_poll(GSource *source , GPollFD *fd ) ;   8333 extern void g_source_add_poll(GSource *source , GPollFD *fd ) ;
8334 extern void g_source_remove_poll(GSource *source , GPollFD *fd ) ;   8334 extern void g_source_remove_poll(GSource *source , GPollFD *fd ) ;
8335 extern void g_source_get_current_time(GSource *source , GTimeVal *timeval ) ;   8335 extern void g_source_get_current_time(GSource *source , GTimeVal *timeval ) ;
8336 extern GSource *g_idle_source_new(void) ;   8336 extern GSource *g_idle_source_new(void) ;
8337 extern GSource *g_child_watch_source_new(GPid pid ) ;   8337 extern GSource *g_child_watch_source_new(GPid pid ) ;
8338 extern GSource *g_timeout_source_new(guint interval ) ;   8338 extern GSource *g_timeout_source_new(guint interval ) ;
8339 extern GSource *g_timeout_source_new_seconds(guint interval ) ;   8339 extern GSource *g_timeout_source_new_seconds(guint interval ) ;
8340 extern void g_get_current_time(GTimeVal *result ) ;   8340 extern void g_get_current_time(GTimeVal *result ) ;
8341 extern gboolean g_source_remove(guint tag ) ;   8341 extern gboolean g_source_remove(guint tag ) ;
8342 extern gboolean g_source_remove_by_user_data(gpointer user_data ) ;   8342 extern gboolean g_source_remove_by_user_data(gpointer user_data ) ;
8343 extern gboolean g_source_remove_by_funcs_user_data(GSourceFuncs *funcs ,   8343 extern gboolean g_source_remove_by_funcs_user_data(GSourceFuncs *funcs ,
8344                                                    gpointer user_data ) ;   8344                                                    gpointer user_data ) ;
8345 extern guint g_timeout_add_full(gint priority , guint interval ,   8345 extern guint g_timeout_add_full(gint priority , guint interval ,
8346                                 gboolean (*function)(gpointer data ) ,   8346                                 gboolean (*function)(gpointer data ) ,
8347                                 gpointer data , void (*notify)(gpointer data ) ) ;   8347                                 gpointer data , void (*notify)(gpointer data ) ) ;
8348 extern guint g_timeout_add(guint interval ,   8348 extern guint g_timeout_add(guint interval ,
8349                            gboolean (*function)(gpointer data ) , gpointer data ) ;   8349                            gboolean (*function)(gpointer data ) , gpointer data ) ;
8350 extern guint g_timeout_add_seconds_full(gint priority , guint interval ,   8350 extern guint g_timeout_add_seconds_full(gint priority , guint interval ,
8351                                         gboolean (*function)(gpointer data ) ,   8351                                         gboolean (*function)(gpointer data ) ,
8352                                         gpointer data ,   8352                                         gpointer data ,
8353                                         void (*notify)(gpointer data ) ) ;   8353                                         void (*notify)(gpointer data ) ) ;
8354 extern guint g_timeout_add_seconds(guint interval ,   8354 extern guint g_timeout_add_seconds(guint interval ,
8355                                    gboolean (*function)(gpointer data ) ,   8355                                    gboolean (*function)(gpointer data ) ,
8356                                    gpointer data ) ;   8356                                    gpointer data ) ;
8357 extern guint g_child_watch_add_full(gint priority , GPid pid ,   8357 extern guint g_child_watch_add_full(gint priority , GPid pid ,
8358                                     void (*function)(GPid pid , gint status ,   8358                                     void (*function)(GPid pid , gint status ,
8359                                                      gpointer data ) ,   8359                                                      gpointer data ) ,
8360                                     gpointer data ,   8360                                     gpointer data ,
8361                                     void (*notify)(gpointer data ) ) ;   8361                                     void (*notify)(gpointer data ) ) ;
8362 extern guint g_child_watch_add(GPid pid , void (*function)(GPid pid ,   8362 extern guint g_child_watch_add(GPid pid , void (*function)(GPid pid ,
8363                                                            gint status ,   8363                                                            gint status ,
8364                                                            gpointer data ) ,   8364                                                            gpointer data ) ,
8365                                gpointer data ) ;   8365                                gpointer data ) ;
8366 extern guint g_idle_add(gboolean (*function)(gpointer data ) , gpointer data ) ;   8366 extern guint g_idle_add(gboolean (*function)(gpointer data ) , gpointer data ) ;
8367 extern guint g_idle_add_full(gint priority ,   8367 extern guint g_idle_add_full(gint priority ,
8368                              gboolean (*function)(gpointer data ) ,   8368                              gboolean (*function)(gpointer data ) ,
8369                              gpointer data , void (*notify)(gpointer data ) ) ;   8369                              gpointer data , void (*notify)(gpointer data ) ) ;
8370 extern gboolean g_idle_remove_by_data(gpointer data ) ;   8370 extern gboolean g_idle_remove_by_data(gpointer data ) ;
8371 extern GSourceFuncs g_timeout_funcs ;   8371 extern GSourceFuncs g_timeout_funcs ;
8372 extern GSourceFuncs g_child_watch_funcs ;   8372 extern GSourceFuncs g_child_watch_funcs ;
8373 extern GSourceFuncs g_idle_funcs ;   8373 extern GSourceFuncs g_idle_funcs ;
8374 extern gboolean g_get_charset(char const   **charset ) ;   8374 extern gboolean g_get_charset(char const   **charset ) ;
8375 extern gboolean g_unichar_isalnum(gunichar c )  __attribute__((__const__)) ;   8375 extern gboolean g_unichar_isalnum(gunichar c )  __attribute__((__const__)) ;
8376 extern gboolean g_unichar_isalpha(gunichar c )  __attribute__((__const__)) ;   8376 extern gboolean g_unichar_isalpha(gunichar c )  __attribute__((__const__)) ;
8377 extern gboolean g_unichar_iscntrl(gunichar c )  __attribute__((__const__)) ;   8377 extern gboolean g_unichar_iscntrl(gunichar c )  __attribute__((__const__)) ;
8378 extern gboolean g_unichar_isdigit(gunichar c )  __attribute__((__const__)) ;   8378 extern gboolean g_unichar_isdigit(gunichar c )  __attribute__((__const__)) ;
8379 extern gboolean g_unichar_isgraph(gunichar c )  __attribute__((__const__)) ;   8379 extern gboolean g_unichar_isgraph(gunichar c )  __attribute__((__const__)) ;
8380 extern gboolean g_unichar_islower(gunichar c )  __attribute__((__const__)) ;   8380 extern gboolean g_unichar_islower(gunichar c )  __attribute__((__const__)) ;
8381 extern gboolean g_unichar_isprint(gunichar c )  __attribute__((__const__)) ;   8381 extern gboolean g_unichar_isprint(gunichar c )  __attribute__((__const__)) ;
8382 extern gboolean g_unichar_ispunct(gunichar c )  __attribute__((__const__)) ;   8382 extern gboolean g_unichar_ispunct(gunichar c )  __attribute__((__const__)) ;
8383 extern gboolean g_unichar_isspace(gunichar c )  __attribute__((__const__)) ;   8383 extern gboolean g_unichar_isspace(gunichar c )  __attribute__((__const__)) ;
8384 extern gboolean g_unichar_isupper(gunichar c )  __attribute__((__const__)) ;   8384 extern gboolean g_unichar_isupper(gunichar c )  __attribute__((__const__)) ;
8385 extern gboolean g_unichar_isxdigit(gunichar c )  __attribute__((__const__)) ;   8385 extern gboolean g_unichar_isxdigit(gunichar c )  __attribute__((__const__)) ;
8386 extern gboolean g_unichar_istitle(gunichar c )  __attribute__((__const__)) ;   8386 extern gboolean g_unichar_istitle(gunichar c )  __attribute__((__const__)) ;
8387 extern gboolean g_unichar_isdefined(gunichar c )  __attribute__((__const__)) ;   8387 extern gboolean g_unichar_isdefined(gunichar c )  __attribute__((__const__)) ;
8388 extern gboolean g_unichar_iswide(gunichar c )  __attribute__((__const__)) ;   8388 extern gboolean g_unichar_iswide(gunichar c )  __attribute__((__const__)) ;
8389 extern gboolean g_unichar_iswide_cjk(gunichar c )  __attribute__((__const__)) ;   8389 extern gboolean g_unichar_iswide_cjk(gunichar c )  __attribute__((__const__)) ;
8390 extern gboolean g_unichar_iszerowidth(gunichar c )  __attribute__((__const__)) ;   8390 extern gboolean g_unichar_iszerowidth(gunichar c )  __attribute__((__const__)) ;
8391 extern gboolean g_unichar_ismark(gunichar c )  __attribute__((__const__)) ;   8391 extern gboolean g_unichar_ismark(gunichar c )  __attribute__((__const__)) ;
8392 extern gunichar g_unichar_toupper(gunichar c )  __attribute__((__const__)) ;   8392 extern gunichar g_unichar_toupper(gunichar c )  __attribute__((__const__)) ;
8393 extern gunichar g_unichar_tolower(gunichar c )  __attribute__((__const__)) ;   8393 extern gunichar g_unichar_tolower(gunichar c )  __attribute__((__const__)) ;
8394 extern gunichar g_unichar_totitle(gunichar c )  __attribute__((__const__)) ;   8394 extern gunichar g_unichar_totitle(gunichar c )  __attribute__((__const__)) ;
8395 extern gint g_unichar_digit_value(gunichar c )  __attribute__((__const__)) ;   8395 extern gint g_unichar_digit_value(gunichar c )  __attribute__((__const__)) ;
8396 extern gint g_unichar_xdigit_value(gunichar c )  __attribute__((__const__)) ;   8396 extern gint g_unichar_xdigit_value(gunichar c )  __attribute__((__const__)) ;
8397 extern GUnicodeType g_unichar_type(gunichar c )  __attribute__((__const__)) ;   8397 extern GUnicodeType g_unichar_type(gunichar c )  __attribute__((__const__)) ;
8398 extern GUnicodeBreakType g_unichar_break_type(gunichar c )  __attribute__((__const__)) ;   8398 extern GUnicodeBreakType g_unichar_break_type(gunichar c )  __attribute__((__const__)) ;
8399 extern gint g_unichar_combining_class(gunichar uc )  __attribute__((__const__)) ;   8399 extern gint g_unichar_combining_class(gunichar uc )  __attribute__((__const__)) ;
8400 extern void g_unicode_canonical_ordering(gunichar *string , gsize len ) ;   8400 extern void g_unicode_canonical_ordering(gunichar *string , gsize len ) ;
8401 extern gunichar *g_unicode_canonical_decomposition(gunichar ch ,   8401 extern gunichar *g_unicode_canonical_decomposition(gunichar ch ,
8402                                                    gsize *result_len )  __attribute__((__malloc__)) ;   8402                                                    gsize *result_len )  __attribute__((__malloc__)) ;
8403 extern gchar const   * const  g_utf8_skip ;   8403 extern gchar const   * const  g_utf8_skip ;
8404 extern gunichar g_utf8_get_char(gchar const   *p )  __attribute__((__pure__)) ;   8404 extern gunichar g_utf8_get_char(gchar const   *p )  __attribute__((__pure__)) ;
8405 extern gunichar g_utf8_get_char_validated(gchar const   *p , gssize max_len )  __attribute__((__pure__)) ;   8405 extern gunichar g_utf8_get_char_validated(gchar const   *p , gssize max_len )  __attribute__((__pure__)) ;
8406 extern gchar *g_utf8_offset_to_pointer(gchar const   *str , glong offset )  __attribute__((__pure__)) ;   8406 extern gchar *g_utf8_offset_to_pointer(gchar const   *str , glong offset )  __attribute__((__pure__)) ;
8407 extern glong g_utf8_pointer_to_offset(gchar const   *str , gchar const   *pos )  __attribute__((__pure__)) ;   8407 extern glong g_utf8_pointer_to_offset(gchar const   *str , gchar const   *pos )  __attribute__((__pure__)) ;
8408 extern gchar *g_utf8_prev_char(gchar const   *p )  __attribute__((__pure__)) ;   8408 extern gchar *g_utf8_prev_char(gchar const   *p )  __attribute__((__pure__)) ;
8409 extern gchar *g_utf8_find_next_char(gchar const   *p , gchar const   *end )  __attribute__((__pure__)) ;   8409 extern gchar *g_utf8_find_next_char(gchar const   *p , gchar const   *end )  __attribute__((__pure__)) ;
8410 extern gchar *g_utf8_find_prev_char(gchar const   *str , gchar const   *p )  __attribute__((__pure__)) ;   8410 extern gchar *g_utf8_find_prev_char(gchar const   *str , gchar const   *p )  __attribute__((__pure__)) ;
8411 extern glong g_utf8_strlen(gchar const   *p , gssize max )  __attribute__((__pure__)) ;   8411 extern glong g_utf8_strlen(gchar const   *p , gssize max )  __attribute__((__pure__)) ;
8412 extern gchar *g_utf8_strncpy(gchar *dest , gchar const   *src , gsize n ) ;   8412 extern gchar *g_utf8_strncpy(gchar *dest , gchar const   *src , gsize n ) ;
8413 extern gchar *g_utf8_strchr(gchar const   *p , gssize len , gunichar c ) ;   8413 extern gchar *g_utf8_strchr(gchar const   *p , gssize len , gunichar c ) ;
8414 extern gchar *g_utf8_strrchr(gchar const   *p , gssize len , gunichar c ) ;   8414 extern gchar *g_utf8_strrchr(gchar const   *p , gssize len , gunichar c ) ;
8415 extern gchar *g_utf8_strreverse(gchar const   *str , gssize len ) ;   8415 extern gchar *g_utf8_strreverse(gchar const   *str , gssize len ) ;
8416 extern gunichar2 *g_utf8_to_utf16(gchar const   *str , glong len ,   8416 extern gunichar2 *g_utf8_to_utf16(gchar const   *str , glong len ,
8417                                   glong *items_read , glong *items_written ,   8417                                   glong *items_read , glong *items_written ,
8418                                   GError **error )  __attribute__((__malloc__)) ;   8418                                   GError **error )  __attribute__((__malloc__)) ;
8419 extern gunichar *g_utf8_to_ucs4(gchar const   *str , glong len ,   8419 extern gunichar *g_utf8_to_ucs4(gchar const   *str , glong len ,
8420                                 glong *items_read , glong *items_written ,   8420                                 glong *items_read , glong *items_written ,
8421                                 GError **error )  __attribute__((__malloc__)) ;   8421                                 GError **error )  __attribute__((__malloc__)) ;
8422 extern gunichar *g_utf8_to_ucs4_fast(gchar const   *str , glong len ,   8422 extern gunichar *g_utf8_to_ucs4_fast(gchar const   *str , glong len ,
8423                                      glong *items_written )  __attribute__((__malloc__)) ;   8423                                      glong *items_written )  __attribute__((__malloc__)) ;
8424 extern gunichar *g_utf16_to_ucs4(gunichar2 const   *str , glong len ,   8424 extern gunichar *g_utf16_to_ucs4(gunichar2 const   *str , glong len ,
8425                                  glong *items_read , glong *items_written ,   8425                                  glong *items_read , glong *items_written ,
8426                                  GError **error )  __attribute__((__malloc__)) ;   8426                                  GError **error )  __attribute__((__malloc__)) ;
8427 extern gchar *g_utf16_to_utf8(gunichar2 const   *str , glong len ,   8427 extern gchar *g_utf16_to_utf8(gunichar2 const   *str , glong len ,
8428                               glong *items_read , glong *items_written ,   8428                               glong *items_read , glong *items_written ,
8429                               GError **error )  __attribute__((__malloc__)) ;   8429                               GError **error )  __attribute__((__malloc__)) ;
8430 extern gunichar2 *g_ucs4_to_utf16(gunichar const   *str , glong len ,   8430 extern gunichar2 *g_ucs4_to_utf16(gunichar const   *str , glong len ,
8431                                   glong *items_read , glong *items_written ,   8431                                   glong *items_read , glong *items_written ,
8432                                   GError **error )  __attribute__((__malloc__)) ;   8432                                   GError **error )  __attribute__((__malloc__)) ;
8433 extern gchar *g_ucs4_to_utf8(gunichar const   *str , glong len ,   8433 extern gchar *g_ucs4_to_utf8(gunichar const   *str , glong len ,
8434                              glong *items_read , glong *items_written ,   8434                              glong *items_read , glong *items_written ,
8435                              GError **error )  __attribute__((__malloc__)) ;   8435                              GError **error )  __attribute__((__malloc__)) ;
8436 extern gint g_unichar_to_utf8(gunichar c , gchar *outbuf ) ;   8436 extern gint g_unichar_to_utf8(gunichar c , gchar *outbuf ) ;
8437 extern gboolean g_utf8_validate(gchar const   *str , gssize max_len ,   8437 extern gboolean g_utf8_validate(gchar const   *str , gssize max_len ,
8438                                 gchar const   **end ) ;   8438                                 gchar const   **end ) ;
8439 extern gboolean g_unichar_validate(gunichar ch )  __attribute__((__const__)) ;   8439 extern gboolean g_unichar_validate(gunichar ch )  __attribute__((__const__)) ;
8440 extern gchar *g_utf8_strup(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   8440 extern gchar *g_utf8_strup(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
8441 extern gchar *g_utf8_strdown(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   8441 extern gchar *g_utf8_strdown(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
8442 extern gchar *g_utf8_casefold(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   8442 extern gchar *g_utf8_casefold(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
8443 extern gchar *g_utf8_normalize(gchar const   *str , gssize len ,   8443 extern gchar *g_utf8_normalize(gchar const   *str , gssize len ,
8444                                GNormalizeMode mode )  __attribute__((__malloc__)) ;   8444                                GNormalizeMode mode )  __attribute__((__malloc__)) ;
8445 extern gint g_utf8_collate(gchar const   *str1 , gchar const   *str2 )  __attribute__((__pure__)) ;   8445 extern gint g_utf8_collate(gchar const   *str1 , gchar const   *str2 )  __attribute__((__pure__)) ;
8446 extern gchar *g_utf8_collate_key(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   8446 extern gchar *g_utf8_collate_key(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
8447 extern gchar *g_utf8_collate_key_for_filename(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   8447 extern gchar *g_utf8_collate_key_for_filename(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
8448 extern gboolean g_unichar_get_mirror_char(gunichar ch , gunichar *mirrored_ch ) ;   8448 extern gboolean g_unichar_get_mirror_char(gunichar ch , gunichar *mirrored_ch ) ;
8449 extern GUnicodeScript g_unichar_get_script(gunichar ch )  __attribute__((__const__)) ;   8449 extern GUnicodeScript g_unichar_get_script(gunichar ch )  __attribute__((__const__)) ;
8450 extern gchar *_g_utf8_make_valid(gchar const   *name ) ;   8450 extern gchar *_g_utf8_make_valid(gchar const   *name ) ;
8451 extern GStringChunk *g_string_chunk_new(gsize size ) ;   8451 extern GStringChunk *g_string_chunk_new(gsize size ) ;
8452 extern void g_string_chunk_free(GStringChunk *chunk ) ;   8452 extern void g_string_chunk_free(GStringChunk *chunk ) ;
8453 extern void g_string_chunk_clear(GStringChunk *chunk ) ;   8453 extern void g_string_chunk_clear(GStringChunk *chunk ) ;
8454 extern gchar *g_string_chunk_insert(GStringChunk *chunk , gchar const   *string ) ;   8454 extern gchar *g_string_chunk_insert(GStringChunk *chunk , gchar const   *string ) ;
8455 extern gchar *g_string_chunk_insert_len(GStringChunk *chunk ,   8455 extern gchar *g_string_chunk_insert_len(GStringChunk *chunk ,
8456                                         gchar const   *string , gssize len ) ;   8456                                         gchar const   *string , gssize len ) ;
8457 extern gchar *g_string_chunk_insert_const(GStringChunk *chunk ,   8457 extern gchar *g_string_chunk_insert_const(GStringChunk *chunk ,
8458                                           gchar const   *string ) ;   8458                                           gchar const   *string ) ;
8459 extern GString *g_string_new(gchar const   *init ) ;   8459 extern GString *g_string_new(gchar const   *init ) ;
8460 extern GString *g_string_new_len(gchar const   *init , gssize len ) ;   8460 extern GString *g_string_new_len(gchar const   *init , gssize len ) ;
8461 extern GString *g_string_sized_new(gsize dfl_size ) ;   8461 extern GString *g_string_sized_new(gsize dfl_size ) ;
8462 extern gchar *g_string_free(GString *string , gboolean free_segment ) ;   8462 extern gchar *g_string_free(GString *string , gboolean free_segment ) ;
8463 extern gboolean g_string_equal(GString const   *v , GString const   *v2 ) ;   8463 extern gboolean g_string_equal(GString const   *v , GString const   *v2 ) ;
8464 extern guint g_string_hash(GString const   *str ) ;   8464 extern guint g_string_hash(GString const   *str ) ;
8465 extern GString *g_string_assign(GString *string , gchar const   *rval ) ;   8465 extern GString *g_string_assign(GString *string , gchar const   *rval ) ;
8466 extern GString *g_string_truncate(GString *string , gsize len ) ;   8466 extern GString *g_string_truncate(GString *string , gsize len ) ;
8467 extern GString *g_string_set_size(GString *string , gsize len ) ;   8467 extern GString *g_string_set_size(GString *string , gsize len ) ;
8468 extern GString *g_string_insert_len(GString *string , gssize pos ,   8468 extern GString *g_string_insert_len(GString *string , gssize pos ,
8469                                     gchar const   *val , gssize len ) ;   8469                                     gchar const   *val , gssize len ) ;
8470 extern GString *g_string_append(GString *string , gchar const   *val ) ;   8470 extern GString *g_string_append(GString *string , gchar const   *val ) ;
8471 extern GString *g_string_append_len(GString *string , gchar const   *val ,   8471 extern GString *g_string_append_len(GString *string , gchar const   *val ,
8472                                     gssize len ) ;   8472                                     gssize len ) ;
8473 extern GString *g_string_append_c(GString *string , gchar c ) ;   8473 extern GString *g_string_append_c(GString *string , gchar c ) ;
8474 extern GString *g_string_append_unichar(GString *string , gunichar wc ) ;   8474 extern GString *g_string_append_unichar(GString *string , gunichar wc ) ;
8475 extern GString *g_string_prepend(GString *string , gchar const   *val ) ;   8475 extern GString *g_string_prepend(GString *string , gchar const   *val ) ;
8476 extern GString *g_string_prepend_c(GString *string , gchar c ) ;   8476 extern GString *g_string_prepend_c(GString *string , gchar c ) ;
8477 extern GString *g_string_prepend_unichar(GString *string , gunichar wc ) ;   8477 extern GString *g_string_prepend_unichar(GString *string , gunichar wc ) ;
8478 extern GString *g_string_prepend_len(GString *string , gchar const   *val ,   8478 extern GString *g_string_prepend_len(GString *string , gchar const   *val ,
8479                                      gssize len ) ;   8479                                      gssize len ) ;
8480 extern GString *g_string_insert(GString *string , gssize pos ,   8480 extern GString *g_string_insert(GString *string , gssize pos ,
8481                                 gchar const   *val ) ;   8481                                 gchar const   *val ) ;
8482 extern GString *g_string_insert_c(GString *string , gssize pos , gchar c ) ;   8482 extern GString *g_string_insert_c(GString *string , gssize pos , gchar c ) ;
8483 extern GString *g_string_insert_unichar(GString *string , gssize pos ,   8483 extern GString *g_string_insert_unichar(GString *string , gssize pos ,
8484                                         gunichar wc ) ;   8484                                         gunichar wc ) ;
8485 extern GString *g_string_overwrite(GString *string , gsize pos ,   8485 extern GString *g_string_overwrite(GString *string , gsize pos ,
8486                                    gchar const   *val ) ;   8486                                    gchar const   *val ) ;
8487 extern GString *g_string_overwrite_len(GString *string , gsize pos ,   8487 extern GString *g_string_overwrite_len(GString *string , gsize pos ,
8488                                        gchar const   *val , gssize len ) ;   8488                                        gchar const   *val , gssize len ) ;
8489 extern GString *g_string_erase(GString *string , gssize pos , gssize len ) ;   8489 extern GString *g_string_erase(GString *string , gssize pos , gssize len ) ;
8490 extern GString *g_string_ascii_down(GString *string ) ;   8490 extern GString *g_string_ascii_down(GString *string ) ;
8491 extern GString *g_string_ascii_up(GString *string ) ;   8491 extern GString *g_string_ascii_up(GString *string ) ;
8492 extern void g_string_vprintf(GString *string , gchar const   *format ,   8492 extern void g_string_vprintf(GString *string , gchar const   *format ,
8493                              va_list args ) ;   8493                              va_list args ) ;
8494 extern void ( /* format attribute */  g_string_printf)(GString *string ,   8494 extern void ( /* format attribute */  g_string_printf)(GString *string ,
8495                                                        gchar const   *format   8495                                                        gchar const   *format
8496                                                        , ...) ;   8496                                                        , ...) ;
8497 extern void g_string_append_vprintf(GString *string , gchar const   *format ,   8497 extern void g_string_append_vprintf(GString *string , gchar const   *format ,
8498                                     va_list args ) ;   8498                                     va_list args ) ;
8499 extern void ( /* format attribute */  g_string_append_printf)(GString *string ,   8499 extern void ( /* format attribute */  g_string_append_printf)(GString *string ,
8500                                                               gchar const   *format   8500                                                               gchar const   *format
8501                                                               , ...) ;   8501                                                               , ...) ;
8502 extern GString *g_string_append_uri_escaped(GString *string ,   8502 extern GString *g_string_append_uri_escaped(GString *string ,
8503                                             char const   *unescaped ,   8503                                             char const   *unescaped ,
8504                                             char const   *reserved_chars_allowed ,   8504                                             char const   *reserved_chars_allowed ,
8505                                             gboolean allow_utf8 ) ;   8505                                             gboolean allow_utf8 ) ;
8506 __inline static GString *g_string_append_c_inline(GString *gstring , gchar c )   8506 __inline static GString *g_string_append_c_inline(GString *gstring , gchar c )
8507 {   8507 {
8508   gsize tmp ;   8508   gsize tmp ;
8509     8509  
8510   {   8510   {
8511   if (gstring->len + 1U < gstring->allocated_len) {   8511   if (gstring->len + 1U < gstring->allocated_len) {
8512     tmp = gstring->len;   8512     tmp = gstring->len;
8513     (gstring->len) ++;   8513     (gstring->len) ++;
8514     *(gstring->str + tmp) = c;   8514     *(gstring->str + tmp) = c;
8515     *(gstring->str + gstring->len) = (gchar )0;   8515     *(gstring->str + gstring->len) = (gchar )0;
8516   } else {   8516   } else {
8517     g_string_insert_c(gstring, -1, c);   8517     g_string_insert_c(gstring, -1, c);
8518   }   8518   }
8519   return (gstring);   8519   return (gstring);
8520 }   8520 }
8521 }   8521 }
8522 extern GString *g_string_down(GString *string ) ;   8522 extern GString *g_string_down(GString *string ) ;
8523 extern GString *g_string_up(GString *string ) ;   8523 extern GString *g_string_up(GString *string ) ;
8524 extern void g_io_channel_init(GIOChannel *channel ) ;   8524 extern void g_io_channel_init(GIOChannel *channel ) ;
8525 extern GIOChannel *g_io_channel_ref(GIOChannel *channel ) ;   8525 extern GIOChannel *g_io_channel_ref(GIOChannel *channel ) ;
8526 extern void g_io_channel_unref(GIOChannel *channel ) ;   8526 extern void g_io_channel_unref(GIOChannel *channel ) ;
8527 extern GIOError g_io_channel_read(GIOChannel *channel , gchar *buf ,   8527 extern GIOError g_io_channel_read(GIOChannel *channel , gchar *buf ,
8528                                   gsize count , gsize *bytes_read ) ;   8528                                   gsize count , gsize *bytes_read ) ;
8529 extern GIOError g_io_channel_write(GIOChannel *channel , gchar const   *buf ,   8529 extern GIOError g_io_channel_write(GIOChannel *channel , gchar const   *buf ,
8530                                    gsize count , gsize *bytes_written ) ;   8530                                    gsize count , gsize *bytes_written ) ;
8531 extern GIOError g_io_channel_seek(GIOChannel *channel , gint64 offset ,   8531 extern GIOError g_io_channel_seek(GIOChannel *channel , gint64 offset ,
8532                                   GSeekType type ) ;   8532                                   GSeekType type ) ;
8533 extern void g_io_channel_close(GIOChannel *channel ) ;   8533 extern void g_io_channel_close(GIOChannel *channel ) ;
8534 extern GIOStatus g_io_channel_shutdown(GIOChannel *channel , gboolean flush ,   8534 extern GIOStatus g_io_channel_shutdown(GIOChannel *channel , gboolean flush ,
8535                                        GError **err ) ;   8535                                        GError **err ) ;
8536 extern guint g_io_add_watch_full(GIOChannel *channel , gint priority ,   8536 extern guint g_io_add_watch_full(GIOChannel *channel , gint priority ,
8537                                  GIOCondition condition ,   8537                                  GIOCondition condition ,
8538                                  gboolean (*func)(GIOChannel *source ,   8538                                  gboolean (*func)(GIOChannel *source ,
8539                                                   GIOCondition condition ,   8539                                                   GIOCondition condition ,
8540                                                   gpointer data ) ,   8540                                                   gpointer data ) ,
8541                                  gpointer user_data ,   8541                                  gpointer user_data ,
8542                                  void (*notify)(gpointer data ) ) ;   8542                                  void (*notify)(gpointer data ) ) ;
8543 extern GSource *g_io_create_watch(GIOChannel *channel , GIOCondition condition ) ;   8543 extern GSource *g_io_create_watch(GIOChannel *channel , GIOCondition condition ) ;
8544 extern guint g_io_add_watch(GIOChannel *channel , GIOCondition condition ,   8544 extern guint g_io_add_watch(GIOChannel *channel , GIOCondition condition ,
8545                             gboolean (*func)(GIOChannel *source ,   8545                             gboolean (*func)(GIOChannel *source ,
8546                                              GIOCondition condition ,   8546                                              GIOCondition condition ,
8547                                              gpointer data ) ,   8547                                              gpointer data ) ,
8548                             gpointer user_data ) ;   8548                             gpointer user_data ) ;
8549 extern void g_io_channel_set_buffer_size(GIOChannel *channel , gsize size ) ;   8549 extern void g_io_channel_set_buffer_size(GIOChannel *channel , gsize size ) ;
8550 extern gsize g_io_channel_get_buffer_size(GIOChannel *channel ) ;   8550 extern gsize g_io_channel_get_buffer_size(GIOChannel *channel ) ;
8551 extern GIOCondition g_io_channel_get_buffer_condition(GIOChannel *channel ) ;   8551 extern GIOCondition g_io_channel_get_buffer_condition(GIOChannel *channel ) ;
8552 extern GIOStatus g_io_channel_set_flags(GIOChannel *channel , GIOFlags flags ,   8552 extern GIOStatus g_io_channel_set_flags(GIOChannel *channel , GIOFlags flags ,
8553                                         GError **error ) ;   8553                                         GError **error ) ;
8554 extern GIOFlags g_io_channel_get_flags(GIOChannel *channel ) ;   8554 extern GIOFlags g_io_channel_get_flags(GIOChannel *channel ) ;
8555 extern void g_io_channel_set_line_term(GIOChannel *channel ,   8555 extern void g_io_channel_set_line_term(GIOChannel *channel ,
8556                                        gchar const   *line_term , gint length ) ;   8556                                        gchar const   *line_term , gint length ) ;
8557 extern gchar const   *g_io_channel_get_line_term(GIOChannel *channel ,   8557 extern gchar const   *g_io_channel_get_line_term(GIOChannel *channel ,
8558                                                  gint *length ) ;   8558                                                  gint *length ) ;
8559 extern void g_io_channel_set_buffered(GIOChannel *channel , gboolean buffered ) ;   8559 extern void g_io_channel_set_buffered(GIOChannel *channel , gboolean buffered ) ;
8560 extern gboolean g_io_channel_get_buffered(GIOChannel *channel ) ;   8560 extern gboolean g_io_channel_get_buffered(GIOChannel *channel ) ;
8561 extern GIOStatus g_io_channel_set_encoding(GIOChannel *channel ,   8561 extern GIOStatus g_io_channel_set_encoding(GIOChannel *channel ,
8562                                            gchar const   *encoding ,   8562                                            gchar const   *encoding ,
8563                                            GError **error ) ;   8563                                            GError **error ) ;
8564 extern gchar const   *g_io_channel_get_encoding(GIOChannel *channel ) ;   8564 extern gchar const   *g_io_channel_get_encoding(GIOChannel *channel ) ;
8565 extern void g_io_channel_set_close_on_unref(GIOChannel *channel ,   8565 extern void g_io_channel_set_close_on_unref(GIOChannel *channel ,
8566                                             gboolean do_close ) ;   8566                                             gboolean do_close ) ;
8567 extern gboolean g_io_channel_get_close_on_unref(GIOChannel *channel ) ;   8567 extern gboolean g_io_channel_get_close_on_unref(GIOChannel *channel ) ;
8568 extern GIOStatus g_io_channel_flush(GIOChannel *channel , GError **error ) ;   8568 extern GIOStatus g_io_channel_flush(GIOChannel *channel , GError **error ) ;
8569 extern GIOStatus g_io_channel_read_line(GIOChannel *channel ,   8569 extern GIOStatus g_io_channel_read_line(GIOChannel *channel ,
8570                                         gchar **str_return , gsize *length ,   8570                                         gchar **str_return , gsize *length ,
8571                                         gsize *terminator_pos , GError **error ) ;   8571                                         gsize *terminator_pos , GError **error ) ;
8572 extern GIOStatus g_io_channel_read_line_string(GIOChannel *channel ,   8572 extern GIOStatus g_io_channel_read_line_string(GIOChannel *channel ,
8573                                                GString *buffer ,   8573                                                GString *buffer ,
8574                                                gsize *terminator_pos ,   8574                                                gsize *terminator_pos ,
8575                                                GError **error ) ;   8575                                                GError **error ) ;
8576 extern GIOStatus g_io_channel_read_to_end(GIOChannel *channel ,   8576 extern GIOStatus g_io_channel_read_to_end(GIOChannel *channel ,
8577                                           gchar **str_return , gsize *length ,   8577                                           gchar **str_return , gsize *length ,
8578                                           GError **error ) ;   8578                                           GError **error ) ;
8579 extern GIOStatus g_io_channel_read_chars(GIOChannel *channel , gchar *buf ,   8579 extern GIOStatus g_io_channel_read_chars(GIOChannel *channel , gchar *buf ,
8580                                          gsize count , gsize *bytes_read ,   8580                                          gsize count , gsize *bytes_read ,
8581                                          GError **error ) ;   8581                                          GError **error ) ;
8582 extern GIOStatus g_io_channel_read_unichar(GIOChannel *channel ,   8582 extern GIOStatus g_io_channel_read_unichar(GIOChannel *channel ,
8583                                            gunichar *thechar , GError **error ) ;   8583                                            gunichar *thechar , GError **error ) ;
8584 extern GIOStatus g_io_channel_write_chars(GIOChannel *channel ,   8584 extern GIOStatus g_io_channel_write_chars(GIOChannel *channel ,
8585                                           gchar const   *buf , gssize count ,   8585                                           gchar const   *buf , gssize count ,
8586                                           gsize *bytes_written , GError **error ) ;   8586                                           gsize *bytes_written , GError **error ) ;
8587 extern GIOStatus g_io_channel_write_unichar(GIOChannel *channel ,   8587 extern GIOStatus g_io_channel_write_unichar(GIOChannel *channel ,
8588                                             gunichar thechar , GError **error ) ;   8588                                             gunichar thechar , GError **error ) ;
8589 extern GIOStatus g_io_channel_seek_position(GIOChannel *channel ,   8589 extern GIOStatus g_io_channel_seek_position(GIOChannel *channel ,
8590                                             gint64 offset , GSeekType type ,   8590                                             gint64 offset , GSeekType type ,
8591                                             GError **error ) ;   8591                                             GError **error ) ;
8592 extern GIOChannel *g_io_channel_new_file(gchar const   *filename ,   8592 extern GIOChannel *g_io_channel_new_file(gchar const   *filename ,
8593                                          gchar const   *mode , GError **error ) ;   8593                                          gchar const   *mode , GError **error ) ;
8594 extern GQuark g_io_channel_error_quark(void) ;   8594 extern GQuark g_io_channel_error_quark(void) ;
8595 extern GIOChannelError g_io_channel_error_from_errno(gint en ) ;   8595 extern GIOChannelError g_io_channel_error_from_errno(gint en ) ;
8596 extern GIOChannel *g_io_channel_unix_new(int fd ) ;   8596 extern GIOChannel *g_io_channel_unix_new(int fd ) ;
8597 extern gint g_io_channel_unix_get_fd(GIOChannel *channel ) ;   8597 extern gint g_io_channel_unix_get_fd(GIOChannel *channel ) ;
8598 extern GSourceFuncs g_io_watch_funcs ;   8598 extern GSourceFuncs g_io_watch_funcs ;
8599 extern GQuark g_key_file_error_quark(void) ;   8599 extern GQuark g_key_file_error_quark(void) ;
8600 extern GKeyFile *g_key_file_new(void) ;   8600 extern GKeyFile *g_key_file_new(void) ;
8601 extern void g_key_file_free(GKeyFile *key_file ) ;   8601 extern void g_key_file_free(GKeyFile *key_file ) ;
8602 extern void g_key_file_set_list_separator(GKeyFile *key_file , gchar separator ) ;   8602 extern void g_key_file_set_list_separator(GKeyFile *key_file , gchar separator ) ;
8603 extern gboolean g_key_file_load_from_file(GKeyFile *key_file ,   8603 extern gboolean g_key_file_load_from_file(GKeyFile *key_file ,
8604                                           gchar const   *file ,   8604                                           gchar const   *file ,
8605                                           GKeyFileFlags flags , GError **error ) ;   8605                                           GKeyFileFlags flags , GError **error ) ;
8606 extern gboolean g_key_file_load_from_data(GKeyFile *key_file ,   8606 extern gboolean g_key_file_load_from_data(GKeyFile *key_file ,
8607                                           gchar const   *data , gsize length ,   8607                                           gchar const   *data , gsize length ,
8608                                           GKeyFileFlags flags , GError **error ) ;   8608                                           GKeyFileFlags flags , GError **error ) ;
8609 extern gboolean g_key_file_load_from_dirs(GKeyFile *key_file ,   8609 extern gboolean g_key_file_load_from_dirs(GKeyFile *key_file ,
8610                                           gchar const   *file ,   8610                                           gchar const   *file ,
8611                                           gchar const   **search_dirs ,   8611                                           gchar const   **search_dirs ,
8612                                           gchar **full_path ,   8612                                           gchar **full_path ,
8613                                           GKeyFileFlags flags , GError **error ) ;   8613                                           GKeyFileFlags flags , GError **error ) ;
8614 extern gboolean g_key_file_load_from_data_dirs(GKeyFile *key_file ,   8614 extern gboolean g_key_file_load_from_data_dirs(GKeyFile *key_file ,
8615                                                gchar const   *file ,   8615                                                gchar const   *file ,
8616                                                gchar **full_path ,   8616                                                gchar **full_path ,
8617                                                GKeyFileFlags flags ,   8617                                                GKeyFileFlags flags ,
8618                                                GError **error ) ;   8618                                                GError **error ) ;
8619 extern gchar *g_key_file_to_data(GKeyFile *key_file , gsize *length ,   8619 extern gchar *g_key_file_to_data(GKeyFile *key_file , gsize *length ,
8620                                  GError **error )  __attribute__((__malloc__)) ;   8620                                  GError **error )  __attribute__((__malloc__)) ;
8621 extern gchar *g_key_file_get_start_group(GKeyFile *key_file )  __attribute__((__malloc__)) ;   8621 extern gchar *g_key_file_get_start_group(GKeyFile *key_file )  __attribute__((__malloc__)) ;
8622 extern gchar **g_key_file_get_groups(GKeyFile *key_file , gsize *length )  __attribute__((__malloc__)) ;   8622 extern gchar **g_key_file_get_groups(GKeyFile *key_file , gsize *length )  __attribute__((__malloc__)) ;
8623 extern gchar **g_key_file_get_keys(GKeyFile *key_file ,   8623 extern gchar **g_key_file_get_keys(GKeyFile *key_file ,
8624                                    gchar const   *group_name , gsize *length ,   8624                                    gchar const   *group_name , gsize *length ,
8625                                    GError **error )  __attribute__((__malloc__)) ;   8625                                    GError **error )  __attribute__((__malloc__)) ;
8626 extern gboolean g_key_file_has_group(GKeyFile *key_file ,   8626 extern gboolean g_key_file_has_group(GKeyFile *key_file ,
8627                                      gchar const   *group_name ) ;   8627                                      gchar const   *group_name ) ;
8628 extern gboolean g_key_file_has_key(GKeyFile *key_file ,   8628 extern gboolean g_key_file_has_key(GKeyFile *key_file ,
8629                                    gchar const   *group_name ,   8629                                    gchar const   *group_name ,
8630                                    gchar const   *key , GError **error ) ;   8630                                    gchar const   *key , GError **error ) ;
8631 extern gchar *g_key_file_get_value(GKeyFile *key_file ,   8631 extern gchar *g_key_file_get_value(GKeyFile *key_file ,
8632                                    gchar const   *group_name ,   8632                                    gchar const   *group_name ,
8633                                    gchar const   *key , GError **error )  __attribute__((__malloc__)) ;   8633                                    gchar const   *key , GError **error )  __attribute__((__malloc__)) ;
8634 extern void g_key_file_set_value(GKeyFile *key_file ,   8634 extern void g_key_file_set_value(GKeyFile *key_file ,
8635                                  gchar const   *group_name ,   8635                                  gchar const   *group_name ,
8636                                  gchar const   *key , gchar const   *value ) ;   8636                                  gchar const   *key , gchar const   *value ) ;
8637 extern gchar *g_key_file_get_string(GKeyFile *key_file ,   8637 extern gchar *g_key_file_get_string(GKeyFile *key_file ,
8638                                     gchar const   *group_name ,   8638                                     gchar const   *group_name ,
8639                                     gchar const   *key , GError **error )  __attribute__((__malloc__)) ;   8639                                     gchar const   *key , GError **error )  __attribute__((__malloc__)) ;
8640 extern void g_key_file_set_string(GKeyFile *key_file ,   8640 extern void g_key_file_set_string(GKeyFile *key_file ,
8641                                   gchar const   *group_name ,   8641                                   gchar const   *group_name ,
8642                                   gchar const   *key , gchar const   *string ) ;   8642                                   gchar const   *key , gchar const   *string ) ;
8643 extern gchar *g_key_file_get_locale_string(GKeyFile *key_file ,   8643 extern gchar *g_key_file_get_locale_string(GKeyFile *key_file ,
8644                                            gchar const   *group_name ,   8644                                            gchar const   *group_name ,
8645                                            gchar const   *key ,   8645                                            gchar const   *key ,
8646                                            gchar const   *locale ,   8646                                            gchar const   *locale ,
8647                                            GError **error )  __attribute__((__malloc__)) ;   8647                                            GError **error )  __attribute__((__malloc__)) ;
8648 extern void g_key_file_set_locale_string(GKeyFile *key_file ,   8648 extern void g_key_file_set_locale_string(GKeyFile *key_file ,
8649                                          gchar const   *group_name ,   8649                                          gchar const   *group_name ,
8650                                          gchar const   *key ,   8650                                          gchar const   *key ,
8651                                          gchar const   *locale ,   8651                                          gchar const   *locale ,
8652                                          gchar const   *string ) ;   8652                                          gchar const   *string ) ;
8653 extern gboolean g_key_file_get_boolean(GKeyFile *key_file ,   8653 extern gboolean g_key_file_get_boolean(GKeyFile *key_file ,
8654                                        gchar const   *group_name ,   8654                                        gchar const   *group_name ,
8655                                        gchar const   *key , GError **error ) ;   8655                                        gchar const   *key , GError **error ) ;
8656 extern void g_key_file_set_boolean(GKeyFile *key_file ,   8656 extern void g_key_file_set_boolean(GKeyFile *key_file ,
8657                                    gchar const   *group_name ,   8657                                    gchar const   *group_name ,
8658                                    gchar const   *key , gboolean value ) ;   8658                                    gchar const   *key , gboolean value ) ;
8659 extern gint g_key_file_get_integer(GKeyFile *key_file ,   8659 extern gint g_key_file_get_integer(GKeyFile *key_file ,
8660                                    gchar const   *group_name ,   8660                                    gchar const   *group_name ,
8661                                    gchar const   *key , GError **error ) ;   8661                                    gchar const   *key , GError **error ) ;
8662 extern void g_key_file_set_integer(GKeyFile *key_file ,   8662 extern void g_key_file_set_integer(GKeyFile *key_file ,
8663                                    gchar const   *group_name ,   8663                                    gchar const   *group_name ,
8664                                    gchar const   *key , gint value ) ;   8664                                    gchar const   *key , gint value ) ;
8665 extern gdouble g_key_file_get_double(GKeyFile *key_file ,   8665 extern gdouble g_key_file_get_double(GKeyFile *key_file ,
8666                                      gchar const   *group_name ,   8666                                      gchar const   *group_name ,
8667                                      gchar const   *key , GError **error ) ;   8667                                      gchar const   *key , GError **error ) ;
8668 extern void g_key_file_set_double(GKeyFile *key_file ,   8668 extern void g_key_file_set_double(GKeyFile *key_file ,
8669                                   gchar const   *group_name ,   8669                                   gchar const   *group_name ,
8670                                   gchar const   *key , gdouble value ) ;   8670                                   gchar const   *key , gdouble value ) ;
8671 extern gchar **g_key_file_get_string_list(GKeyFile *key_file ,   8671 extern gchar **g_key_file_get_string_list(GKeyFile *key_file ,
8672                                           gchar const   *group_name ,   8672                                           gchar const   *group_name ,
8673                                           gchar const   *key , gsize *length ,   8673                                           gchar const   *key , gsize *length ,
8674                                           GError **error )  __attribute__((__malloc__)) ;   8674                                           GError **error )  __attribute__((__malloc__)) ;
8675 extern void g_key_file_set_string_list(GKeyFile *key_file ,   8675 extern void g_key_file_set_string_list(GKeyFile *key_file ,
8676                                        gchar const   *group_name ,   8676                                        gchar const   *group_name ,
8677                                        gchar const   *key ,   8677                                        gchar const   *key ,
8678                                        gchar const   * const  *list ,   8678                                        gchar const   * const  *list ,
8679                                        gsize length ) ;   8679                                        gsize length ) ;
8680 extern gchar **g_key_file_get_locale_string_list(GKeyFile *key_file ,   8680 extern gchar **g_key_file_get_locale_string_list(GKeyFile *key_file ,
8681                                                  gchar const   *group_name ,   8681                                                  gchar const   *group_name ,
8682                                                  gchar const   *key ,   8682                                                  gchar const   *key ,
8683                                                  gchar const   *locale ,   8683                                                  gchar const   *locale ,
8684                                                  gsize *length , GError **error )  __attribute__((__malloc__)) ;   8684                                                  gsize *length , GError **error )  __attribute__((__malloc__)) ;
8685 extern void g_key_file_set_locale_string_list(GKeyFile *key_file ,   8685 extern void g_key_file_set_locale_string_list(GKeyFile *key_file ,
8686                                               gchar const   *group_name ,   8686                                               gchar const   *group_name ,
8687                                               gchar const   *key ,   8687                                               gchar const   *key ,
8688                                               gchar const   *locale ,   8688                                               gchar const   *locale ,
8689                                               gchar const   * const  *list ,   8689                                               gchar const   * const  *list ,
8690                                               gsize length ) ;   8690                                               gsize length ) ;
8691 extern gboolean *g_key_file_get_boolean_list(GKeyFile *key_file ,   8691 extern gboolean *g_key_file_get_boolean_list(GKeyFile *key_file ,
8692                                              gchar const   *group_name ,   8692                                              gchar const   *group_name ,
8693                                              gchar const   *key ,   8693                                              gchar const   *key ,
8694                                              gsize *length , GError **error )  __attribute__((__malloc__)) ;   8694                                              gsize *length , GError **error )  __attribute__((__malloc__)) ;
8695 extern void g_key_file_set_boolean_list(GKeyFile *key_file ,   8695 extern void g_key_file_set_boolean_list(GKeyFile *key_file ,
8696                                         gchar const   *group_name ,   8696                                         gchar const   *group_name ,
8697                                         gchar const   *key , gboolean *list ,   8697                                         gchar const   *key , gboolean *list ,
8698                                         gsize length ) ;   8698                                         gsize length ) ;
8699 extern gint *g_key_file_get_integer_list(GKeyFile *key_file ,   8699 extern gint *g_key_file_get_integer_list(GKeyFile *key_file ,
8700                                          gchar const   *group_name ,   8700                                          gchar const   *group_name ,
8701                                          gchar const   *key , gsize *length ,   8701                                          gchar const   *key , gsize *length ,
8702                                          GError **error )  __attribute__((__malloc__)) ;   8702                                          GError **error )  __attribute__((__malloc__)) ;
8703 extern void g_key_file_set_double_list(GKeyFile *key_file ,   8703 extern void g_key_file_set_double_list(GKeyFile *key_file ,
8704                                        gchar const   *group_name ,   8704                                        gchar const   *group_name ,
8705                                        gchar const   *key , gdouble *list ,   8705                                        gchar const   *key , gdouble *list ,
8706                                        gsize length ) ;   8706                                        gsize length ) ;
8707 extern gdouble *g_key_file_get_double_list(GKeyFile *key_file ,   8707 extern gdouble *g_key_file_get_double_list(GKeyFile *key_file ,
8708                                            gchar const   *group_name ,   8708                                            gchar const   *group_name ,
8709                                            gchar const   *key , gsize *length ,   8709                                            gchar const   *key , gsize *length ,
8710                                            GError **error )  __attribute__((__malloc__)) ;   8710                                            GError **error )  __attribute__((__malloc__)) ;
8711 extern void g_key_file_set_integer_list(GKeyFile *key_file ,   8711 extern void g_key_file_set_integer_list(GKeyFile *key_file ,
8712                                         gchar const   *group_name ,   8712                                         gchar const   *group_name ,
8713                                         gchar const   *key , gint *list ,   8713                                         gchar const   *key , gint *list ,
8714                                         gsize length ) ;   8714                                         gsize length ) ;
8715 extern gboolean g_key_file_set_comment(GKeyFile *key_file ,   8715 extern gboolean g_key_file_set_comment(GKeyFile *key_file ,
8716                                        gchar const   *group_name ,   8716                                        gchar const   *group_name ,
8717                                        gchar const   *key ,   8717                                        gchar const   *key ,
8718                                        gchar const   *comment , GError **error ) ;   8718                                        gchar const   *comment , GError **error ) ;
8719 extern gchar *g_key_file_get_comment(GKeyFile *key_file ,   8719 extern gchar *g_key_file_get_comment(GKeyFile *key_file ,
8720                                      gchar const   *group_name ,   8720                                      gchar const   *group_name ,
8721                                      gchar const   *key , GError **error )  __attribute__((__malloc__)) ;   8721                                      gchar const   *key , GError **error )  __attribute__((__malloc__)) ;
8722 extern gboolean g_key_file_remove_comment(GKeyFile *key_file ,   8722 extern gboolean g_key_file_remove_comment(GKeyFile *key_file ,
8723                                           gchar const   *group_name ,   8723                                           gchar const   *group_name ,
8724                                           gchar const   *key , GError **error ) ;   8724                                           gchar const   *key , GError **error ) ;
8725 extern gboolean g_key_file_remove_key(GKeyFile *key_file ,   8725 extern gboolean g_key_file_remove_key(GKeyFile *key_file ,
8726                                       gchar const   *group_name ,   8726                                       gchar const   *group_name ,
8727                                       gchar const   *key , GError **error ) ;   8727                                       gchar const   *key , GError **error ) ;
8728 extern gboolean g_key_file_remove_group(GKeyFile *key_file ,   8728 extern gboolean g_key_file_remove_group(GKeyFile *key_file ,
8729                                         gchar const   *group_name ,   8729                                         gchar const   *group_name ,
8730                                         GError **error ) ;   8730                                         GError **error ) ;
8731 extern GMappedFile *g_mapped_file_new(gchar const   *filename ,   8731 extern GMappedFile *g_mapped_file_new(gchar const   *filename ,
8732                                       gboolean writable , GError **error )  __attribute__((__malloc__)) ;   8732                                       gboolean writable , GError **error )  __attribute__((__malloc__)) ;
8733 extern gsize g_mapped_file_get_length(GMappedFile *file ) ;   8733 extern gsize g_mapped_file_get_length(GMappedFile *file ) ;
8734 extern gchar *g_mapped_file_get_contents(GMappedFile *file ) ;   8734 extern gchar *g_mapped_file_get_contents(GMappedFile *file ) ;
8735 extern GMappedFile *g_mapped_file_ref(GMappedFile *file ) ;   8735 extern GMappedFile *g_mapped_file_ref(GMappedFile *file ) ;
8736 extern void g_mapped_file_unref(GMappedFile *file ) ;   8736 extern void g_mapped_file_unref(GMappedFile *file ) ;
8737 extern void g_mapped_file_free(GMappedFile *file ) ;   8737 extern void g_mapped_file_free(GMappedFile *file ) ;
8738 extern GQuark g_markup_error_quark(void) ;   8738 extern GQuark g_markup_error_quark(void) ;
8739 extern GMarkupParseContext *g_markup_parse_context_new(GMarkupParser const   *parser ,   8739 extern GMarkupParseContext *g_markup_parse_context_new(GMarkupParser const   *parser ,
8740                                                        GMarkupParseFlags flags ,   8740                                                        GMarkupParseFlags flags ,
8741                                                        gpointer user_data ,   8741                                                        gpointer user_data ,
8742                                                        void (*user_data_dnotify)(gpointer data ) ) ;   8742                                                        void (*user_data_dnotify)(gpointer data ) ) ;
8743 extern void g_markup_parse_context_free(GMarkupParseContext *context ) ;   8743 extern void g_markup_parse_context_free(GMarkupParseContext *context ) ;
8744 extern gboolean g_markup_parse_context_parse(GMarkupParseContext *context ,   8744 extern gboolean g_markup_parse_context_parse(GMarkupParseContext *context ,
8745                                              gchar const   *text ,   8745                                              gchar const   *text ,
8746                                              gssize text_len , GError **error ) ;   8746                                              gssize text_len , GError **error ) ;
8747 extern void g_markup_parse_context_push(GMarkupParseContext *context ,   8747 extern void g_markup_parse_context_push(GMarkupParseContext *context ,
8748                                         GMarkupParser *parser ,   8748                                         GMarkupParser *parser ,
8749                                         gpointer user_data ) ;   8749                                         gpointer user_data ) ;
8750 extern gpointer g_markup_parse_context_pop(GMarkupParseContext *context ) ;   8750 extern gpointer g_markup_parse_context_pop(GMarkupParseContext *context ) ;
8751 extern gboolean g_markup_parse_context_end_parse(GMarkupParseContext *context ,   8751 extern gboolean g_markup_parse_context_end_parse(GMarkupParseContext *context ,
8752                                                  GError **error ) ;   8752                                                  GError **error ) ;
8753 extern gchar const   *g_markup_parse_context_get_element(GMarkupParseContext *context ) ;   8753 extern gchar const   *g_markup_parse_context_get_element(GMarkupParseContext *context ) ;
8754 extern GSList const   *g_markup_parse_context_get_element_stack(GMarkupParseContext *context ) ;   8754 extern GSList const   *g_markup_parse_context_get_element_stack(GMarkupParseContext *context ) ;
8755 extern void g_markup_parse_context_get_position(GMarkupParseContext *context ,   8755 extern void g_markup_parse_context_get_position(GMarkupParseContext *context ,
8756                                                 gint *line_number ,   8756                                                 gint *line_number ,
8757                                                 gint *char_number ) ;   8757                                                 gint *char_number ) ;
8758 extern gpointer g_markup_parse_context_get_user_data(GMarkupParseContext *context ) ;   8758 extern gpointer g_markup_parse_context_get_user_data(GMarkupParseContext *context ) ;
8759 extern gchar *g_markup_escape_text(gchar const   *text , gssize length ) ;   8759 extern gchar *g_markup_escape_text(gchar const   *text , gssize length ) ;
8760 extern gchar *( /* format attribute */  g_markup_printf_escaped)(char const   *format   8760 extern gchar *( /* format attribute */  g_markup_printf_escaped)(char const   *format
8761                                                                  , ...) ;   8761                                                                  , ...) ;
8762 extern gchar *g_markup_vprintf_escaped(char const   *format , va_list args ) ;   8762 extern gchar *g_markup_vprintf_escaped(char const   *format , va_list args ) ;
8763 extern gboolean g_markup_collect_attributes(gchar const   *element_name ,   8763 extern gboolean g_markup_collect_attributes(gchar const   *element_name ,
8764                                             gchar const   **attribute_names ,   8764                                             gchar const   **attribute_names ,
8765                                             gchar const   **attribute_values ,   8765                                             gchar const   **attribute_values ,
8766                                             GError **error ,   8766                                             GError **error ,
8767                                             GMarkupCollectType first_type ,   8767                                             GMarkupCollectType first_type ,
8768                                             gchar const   *first_attr  , ...) ;   8768                                             gchar const   *first_attr  , ...) ;
8769 extern gsize g_printf_string_upper_bound(gchar const   *format , va_list args ) ;   8769 extern gsize g_printf_string_upper_bound(gchar const   *format , va_list args ) ;
8770 extern guint g_log_set_handler(gchar const   *log_domain ,   8770 extern guint g_log_set_handler(gchar const   *log_domain ,
8771                                GLogLevelFlags log_levels ,   8771                                GLogLevelFlags log_levels ,
8772                                void (*log_func)(gchar const   *log_domain ,   8772                                void (*log_func)(gchar const   *log_domain ,
8773                                                 GLogLevelFlags log_level ,   8773                                                 GLogLevelFlags log_level ,
8774                                                 gchar const   *message ,   8774                                                 gchar const   *message ,
8775                                                 gpointer user_data ) ,   8775                                                 gpointer user_data ) ,
8776                                gpointer user_data ) ;   8776                                gpointer user_data ) ;
8777 extern void g_log_remove_handler(gchar const   *log_domain , guint handler_id ) ;   8777 extern void g_log_remove_handler(gchar const   *log_domain , guint handler_id ) ;
8778 extern void g_log_default_handler(gchar const   *log_domain ,   8778 extern void g_log_default_handler(gchar const   *log_domain ,
8779                                   GLogLevelFlags log_level ,   8779                                   GLogLevelFlags log_level ,
8780                                   gchar const   *message , gpointer unused_data ) ;   8780                                   gchar const   *message , gpointer unused_data ) ;
8781 extern GLogFunc g_log_set_default_handler(void (*log_func)(gchar const   *log_domain ,   8781 extern GLogFunc g_log_set_default_handler(void (*log_func)(gchar const   *log_domain ,
8782                                                            GLogLevelFlags log_level ,   8782                                                            GLogLevelFlags log_level ,
8783                                                            gchar const   *message ,   8783                                                            gchar const   *message ,
8784                                                            gpointer user_data ) ,   8784                                                            gpointer user_data ) ,
8785                                           gpointer user_data ) ;   8785                                           gpointer user_data ) ;
8786 extern void ( /* format attribute */  g_log)(gchar const   *log_domain ,   8786 extern void ( /* format attribute */  g_log)(gchar const   *log_domain ,
8787                                              GLogLevelFlags log_level ,   8787                                              GLogLevelFlags log_level ,
8788                                              gchar const   *format  , ...) ;   8788                                              gchar const   *format  , ...) ;
8789 extern void g_logv(gchar const   *log_domain , GLogLevelFlags log_level ,   8789 extern void g_logv(gchar const   *log_domain , GLogLevelFlags log_level ,
8790                    gchar const   *format , va_list args ) ;   8790                    gchar const   *format , va_list args ) ;
8791 extern GLogLevelFlags g_log_set_fatal_mask(gchar const   *log_domain ,   8791 extern GLogLevelFlags g_log_set_fatal_mask(gchar const   *log_domain ,
8792                                            GLogLevelFlags fatal_mask ) ;   8792                                            GLogLevelFlags fatal_mask ) ;
8793 extern GLogLevelFlags g_log_set_always_fatal(GLogLevelFlags fatal_mask ) ;   8793 extern GLogLevelFlags g_log_set_always_fatal(GLogLevelFlags fatal_mask ) ;
8794 extern void __attribute__((__visibility__("hidden")))  _g_log_fallback_handler(gchar const   *log_domain ,   8794 extern void __attribute__((__visibility__("hidden")))  _g_log_fallback_handler(gchar const   *log_domain ,
8795                                                                                GLogLevelFlags log_level ,   8795                                                                                GLogLevelFlags log_level ,
8796                                                                                gchar const   *message ,   8796                                                                                gchar const   *message ,
8797                                                                                gpointer unused_data ) ;   8797                                                                                gpointer unused_data ) ;
8798 extern void g_return_if_fail_warning(char const   *log_domain ,   8798 extern void g_return_if_fail_warning(char const   *log_domain ,
8799                                      char const   *pretty_function ,   8799                                      char const   *pretty_function ,
8800                                      char const   *expression ) ;   8800                                      char const   *expression ) ;
8801 extern void g_warn_message(char const   *domain , char const   *file ,   8801 extern void g_warn_message(char const   *domain , char const   *file ,
8802                            int line , char const   *func ,   8802                            int line , char const   *func ,
8803                            char const   *warnexpr ) ;   8803                            char const   *warnexpr ) ;
8804 extern  __attribute__((__noreturn__)) void g_assert_warning(char const   *log_domain ,   8804 extern  __attribute__((__noreturn__)) void g_assert_warning(char const   *log_domain ,
8805                                                             char const   *file ,   8805                                                             char const   *file ,
8806                                                             int const   line ,   8806                                                             int const   line ,
8807                                                             char const   *pretty_function ,   8807                                                             char const   *pretty_function ,
8808                                                             char const   *expression ) ;   8808                                                             char const   *expression ) ;
8809 extern void ( /* format attribute */  g_print)(gchar const   *format  , ...) ;   8809 extern void ( /* format attribute */  g_print)(gchar const   *format  , ...) ;
8810 extern GPrintFunc g_set_print_handler(void (*func)(gchar const   *string ) ) ;   8810 extern GPrintFunc g_set_print_handler(void (*func)(gchar const   *string ) ) ;
8811 extern void ( /* format attribute */  g_printerr)(gchar const   *format  , ...) ;   8811 extern void ( /* format attribute */  g_printerr)(gchar const   *format  , ...) ;
8812 extern GPrintFunc g_set_printerr_handler(void (*func)(gchar const   *string ) ) ;   8812 extern GPrintFunc g_set_printerr_handler(void (*func)(gchar const   *string ) ) ;
8813 extern GNode *g_node_new(gpointer data ) ;   8813 extern GNode *g_node_new(gpointer data ) ;
8814 extern void g_node_destroy(GNode *root ) ;   8814 extern void g_node_destroy(GNode *root ) ;
8815 extern void g_node_unlink(GNode *node ) ;   8815 extern void g_node_unlink(GNode *node ) ;
8816 extern GNode *g_node_copy_deep(GNode *node ,   8816 extern GNode *g_node_copy_deep(GNode *node ,
8817                                gpointer (*copy_func)(gconstpointer src ,   8817                                gpointer (*copy_func)(gconstpointer src ,
8818                                                      gpointer data ) ,   8818                                                      gpointer data ) ,
8819                                gpointer data ) ;   8819                                gpointer data ) ;
8820 extern GNode *g_node_copy(GNode *node ) ;   8820 extern GNode *g_node_copy(GNode *node ) ;
8821 extern GNode *g_node_insert(GNode *parent , gint position , GNode *node ) ;   8821 extern GNode *g_node_insert(GNode *parent , gint position , GNode *node ) ;
8822 extern GNode *g_node_insert_before(GNode *parent , GNode *sibling , GNode *node ) ;   8822 extern GNode *g_node_insert_before(GNode *parent , GNode *sibling , GNode *node ) ;
8823 extern GNode *g_node_insert_after(GNode *parent , GNode *sibling , GNode *node ) ;   8823 extern GNode *g_node_insert_after(GNode *parent , GNode *sibling , GNode *node ) ;
8824 extern GNode *g_node_prepend(GNode *parent , GNode *node ) ;   8824 extern GNode *g_node_prepend(GNode *parent , GNode *node ) ;
8825 extern guint g_node_n_nodes(GNode *root , GTraverseFlags flags ) ;   8825 extern guint g_node_n_nodes(GNode *root , GTraverseFlags flags ) ;
8826 extern GNode *g_node_get_root(GNode *node ) ;   8826 extern GNode *g_node_get_root(GNode *node ) ;
8827 extern gboolean g_node_is_ancestor(GNode *node , GNode *descendant ) ;   8827 extern gboolean g_node_is_ancestor(GNode *node , GNode *descendant ) ;
8828 extern guint g_node_depth(GNode *node ) ;   8828 extern guint g_node_depth(GNode *node ) ;
8829 extern GNode *g_node_find(GNode *root , GTraverseType order ,   8829 extern GNode *g_node_find(GNode *root , GTraverseType order ,
8830                           GTraverseFlags flags , gpointer data ) ;   8830                           GTraverseFlags flags , gpointer data ) ;
8831 extern void g_node_traverse(GNode *root , GTraverseType order ,   8831 extern void g_node_traverse(GNode *root , GTraverseType order ,
8832                             GTraverseFlags flags , gint max_depth ,   8832                             GTraverseFlags flags , gint max_depth ,
8833                             gboolean (*func)(GNode *node , gpointer data ) ,   8833                             gboolean (*func)(GNode *node , gpointer data ) ,
8834                             gpointer data ) ;   8834                             gpointer data ) ;
8835 extern guint g_node_max_height(GNode *root ) ;   8835 extern guint g_node_max_height(GNode *root ) ;
8836 extern void g_node_children_foreach(GNode *node , GTraverseFlags flags ,   8836 extern void g_node_children_foreach(GNode *node , GTraverseFlags flags ,
8837                                     void (*func)(GNode *node , gpointer data ) ,   8837                                     void (*func)(GNode *node , gpointer data ) ,
8838                                     gpointer data ) ;   8838                                     gpointer data ) ;
8839 extern void g_node_reverse_children(GNode *node ) ;   8839 extern void g_node_reverse_children(GNode *node ) ;
8840 extern guint g_node_n_children(GNode *node ) ;   8840 extern guint g_node_n_children(GNode *node ) ;
8841 extern GNode *g_node_nth_child(GNode *node , guint n ) ;   8841 extern GNode *g_node_nth_child(GNode *node , guint n ) ;
8842 extern GNode *g_node_last_child(GNode *node ) ;   8842 extern GNode *g_node_last_child(GNode *node ) ;
8843 extern GNode *g_node_find_child(GNode *node , GTraverseFlags flags ,   8843 extern GNode *g_node_find_child(GNode *node , GTraverseFlags flags ,
8844                                 gpointer data ) ;   8844                                 gpointer data ) ;
8845 extern gint g_node_child_position(GNode *node , GNode *child ) ;   8845 extern gint g_node_child_position(GNode *node , GNode *child ) ;
8846 extern gint g_node_child_index(GNode *node , gpointer data ) ;   8846 extern gint g_node_child_index(GNode *node , gpointer data ) ;
8847 extern GNode *g_node_first_sibling(GNode *node ) ;   8847 extern GNode *g_node_first_sibling(GNode *node ) ;
8848 extern GNode *g_node_last_sibling(GNode *node ) ;   8848 extern GNode *g_node_last_sibling(GNode *node ) ;
8849 extern void g_node_push_allocator(gpointer dummy ) ;   8849 extern void g_node_push_allocator(gpointer dummy ) ;
8850 extern void g_node_pop_allocator(void) ;   8850 extern void g_node_pop_allocator(void) ;
8851 extern GQuark g_option_error_quark(void) ;   8851 extern GQuark g_option_error_quark(void) ;
8852 extern GOptionContext *g_option_context_new(gchar const   *parameter_string ) ;   8852 extern GOptionContext *g_option_context_new(gchar const   *parameter_string ) ;
8853 extern void g_option_context_set_summary(GOptionContext *context ,   8853 extern void g_option_context_set_summary(GOptionContext *context ,
8854                                          gchar const   *summary ) ;   8854                                          gchar const   *summary ) ;
8855 extern gchar const   *g_option_context_get_summary(GOptionContext *context ) ;   8855 extern gchar const   *g_option_context_get_summary(GOptionContext *context ) ;
8856 extern void g_option_context_set_description(GOptionContext *context ,   8856 extern void g_option_context_set_description(GOptionContext *context ,
8857                                              gchar const   *description ) ;   8857                                              gchar const   *description ) ;
8858 extern gchar const   *g_option_context_get_description(GOptionContext *context ) ;   8858 extern gchar const   *g_option_context_get_description(GOptionContext *context ) ;
8859 extern void g_option_context_free(GOptionContext *context ) ;   8859 extern void g_option_context_free(GOptionContext *context ) ;
8860 extern void g_option_context_set_help_enabled(GOptionContext *context ,   8860 extern void g_option_context_set_help_enabled(GOptionContext *context ,
8861                                               gboolean help_enabled ) ;   8861                                               gboolean help_enabled ) ;
8862 extern gboolean g_option_context_get_help_enabled(GOptionContext *context ) ;   8862 extern gboolean g_option_context_get_help_enabled(GOptionContext *context ) ;
8863 extern void g_option_context_set_ignore_unknown_options(GOptionContext *context ,   8863 extern void g_option_context_set_ignore_unknown_options(GOptionContext *context ,
8864                                                         gboolean ignore_unknown ) ;   8864                                                         gboolean ignore_unknown ) ;
8865 extern gboolean g_option_context_get_ignore_unknown_options(GOptionContext *context ) ;   8865 extern gboolean g_option_context_get_ignore_unknown_options(GOptionContext *context ) ;
8866 extern void g_option_context_add_main_entries(GOptionContext *context ,   8866 extern void g_option_context_add_main_entries(GOptionContext *context ,
8867                                               GOptionEntry const   *entries ,   8867                                               GOptionEntry const   *entries ,
8868                                               gchar const   *translation_domain ) ;   8868                                               gchar const   *translation_domain ) ;
8869 extern gboolean g_option_context_parse(GOptionContext *context , gint *argc ,   8869 extern gboolean g_option_context_parse(GOptionContext *context , gint *argc ,
8870                                        gchar ***argv , GError **error ) ;   8870                                        gchar ***argv , GError **error ) ;
8871 extern void g_option_context_set_translate_func(GOptionContext *context ,   8871 extern void g_option_context_set_translate_func(GOptionContext *context ,
8872                                                 gchar const   *(*func)(gchar const   *str ,   8872                                                 gchar const   *(*func)(gchar const   *str ,
8873                                                                        gpointer data ) ,   8873                                                                        gpointer data ) ,
8874                                                 gpointer data ,   8874                                                 gpointer data ,
8875                                                 void (*destroy_notify)(gpointer data ) ) ;   8875                                                 void (*destroy_notify)(gpointer data ) ) ;
8876 extern void g_option_context_set_translation_domain(GOptionContext *context ,   8876 extern void g_option_context_set_translation_domain(GOptionContext *context ,
8877                                                     gchar const   *domain ) ;   8877                                                     gchar const   *domain ) ;
8878 extern void g_option_context_add_group(GOptionContext *context ,   8878 extern void g_option_context_add_group(GOptionContext *context ,
8879                                        GOptionGroup *group ) ;   8879                                        GOptionGroup *group ) ;
8880 extern void g_option_context_set_main_group(GOptionContext *context ,   8880 extern void g_option_context_set_main_group(GOptionContext *context ,
8881                                             GOptionGroup *group ) ;   8881                                             GOptionGroup *group ) ;
8882 extern GOptionGroup *g_option_context_get_main_group(GOptionContext *context ) ;   8882 extern GOptionGroup *g_option_context_get_main_group(GOptionContext *context ) ;
8883 extern gchar *g_option_context_get_help(GOptionContext *context ,   8883 extern gchar *g_option_context_get_help(GOptionContext *context ,
8884                                         gboolean main_help ,   8884                                         gboolean main_help ,
8885                                         GOptionGroup *group ) ;   8885                                         GOptionGroup *group ) ;
8886 extern GOptionGroup *g_option_group_new(gchar const   *name ,   8886 extern GOptionGroup *g_option_group_new(gchar const   *name ,
8887                                         gchar const   *description ,   8887                                         gchar const   *description ,
8888                                         gchar const   *help_description ,   8888                                         gchar const   *help_description ,
8889                                         gpointer user_data ,   8889                                         gpointer user_data ,
8890                                         void (*destroy)(gpointer data ) ) ;   8890                                         void (*destroy)(gpointer data ) ) ;
8891 extern void g_option_group_set_parse_hooks(GOptionGroup *group ,   8891 extern void g_option_group_set_parse_hooks(GOptionGroup *group ,
8892                                            gboolean (*pre_parse_func)(GOptionContext *context ,   8892                                            gboolean (*pre_parse_func)(GOptionContext *context ,
8893                                                                       GOptionGroup *group ,   8893                                                                       GOptionGroup *group ,
8894                                                                       gpointer data ,   8894                                                                       gpointer data ,
8895                                                                       GError **error ) ,   8895                                                                       GError **error ) ,
8896                                            gboolean (*post_parse_func)(GOptionContext *context ,   8896                                            gboolean (*post_parse_func)(GOptionContext *context ,
8897                                                                        GOptionGroup *group ,   8897                                                                        GOptionGroup *group ,
8898                                                                        gpointer data ,   8898                                                                        gpointer data ,
8899                                                                        GError **error ) ) ;   8899                                                                        GError **error ) ) ;
8900 extern void g_option_group_set_error_hook(GOptionGroup *group ,   8900 extern void g_option_group_set_error_hook(GOptionGroup *group ,
8901                                           void (*error_func)(GOptionContext *context ,   8901                                           void (*error_func)(GOptionContext *context ,
8902                                                              GOptionGroup *group ,   8902                                                              GOptionGroup *group ,
8903                                                              gpointer data ,   8903                                                              gpointer data ,
8904                                                              GError **error ) ) ;   8904                                                              GError **error ) ) ;
8905 extern void g_option_group_free(GOptionGroup *group ) ;   8905 extern void g_option_group_free(GOptionGroup *group ) ;
8906 extern void g_option_group_add_entries(GOptionGroup *group ,   8906 extern void g_option_group_add_entries(GOptionGroup *group ,
8907                                        GOptionEntry const   *entries ) ;   8907                                        GOptionEntry const   *entries ) ;
8908 extern void g_option_group_set_translate_func(GOptionGroup *group ,   8908 extern void g_option_group_set_translate_func(GOptionGroup *group ,
8909                                               gchar const   *(*func)(gchar const   *str ,   8909                                               gchar const   *(*func)(gchar const   *str ,
8910                                                                      gpointer data ) ,   8910                                                                      gpointer data ) ,
8911                                               gpointer data ,   8911                                               gpointer data ,
8912                                               void (*destroy_notify)(gpointer data ) ) ;   8912                                               void (*destroy_notify)(gpointer data ) ) ;
8913 extern void g_option_group_set_translation_domain(GOptionGroup *group ,   8913 extern void g_option_group_set_translation_domain(GOptionGroup *group ,
8914                                                   gchar const   *domain ) ;   8914                                                   gchar const   *domain ) ;
8915 extern GPatternSpec *g_pattern_spec_new(gchar const   *pattern ) ;   8915 extern GPatternSpec *g_pattern_spec_new(gchar const   *pattern ) ;
8916 extern void g_pattern_spec_free(GPatternSpec *pspec ) ;   8916 extern void g_pattern_spec_free(GPatternSpec *pspec ) ;
8917 extern gboolean g_pattern_spec_equal(GPatternSpec *pspec1 ,   8917 extern gboolean g_pattern_spec_equal(GPatternSpec *pspec1 ,
8918                                      GPatternSpec *pspec2 ) ;   8918                                      GPatternSpec *pspec2 ) ;
8919 extern gboolean g_pattern_match(GPatternSpec *pspec , guint string_length ,   8919 extern gboolean g_pattern_match(GPatternSpec *pspec , guint string_length ,
8920                                 gchar const   *string ,   8920                                 gchar const   *string ,
8921                                 gchar const   *string_reversed ) ;   8921                                 gchar const   *string_reversed ) ;
8922 extern gboolean g_pattern_match_string(GPatternSpec *pspec ,   8922 extern gboolean g_pattern_match_string(GPatternSpec *pspec ,
8923                                        gchar const   *string ) ;   8923                                        gchar const   *string ) ;
8924 extern gboolean g_pattern_match_simple(gchar const   *pattern ,   8924 extern gboolean g_pattern_match_simple(gchar const   *pattern ,
8925                                        gchar const   *string ) ;   8925                                        gchar const   *string ) ;
8926 extern guint g_spaced_primes_closest(guint num )  __attribute__((__const__)) ;   8926 extern guint g_spaced_primes_closest(guint num )  __attribute__((__const__)) ;
8927 extern void g_qsort_with_data(gconstpointer pbase , gint total_elems ,   8927 extern void g_qsort_with_data(gconstpointer pbase , gint total_elems ,
8928                               gsize size ,   8928                               gsize size ,
8929                               gint (*compare_func)(gconstpointer a ,   8929                               gint (*compare_func)(gconstpointer a ,
8930                                                    gconstpointer b ,   8930                                                    gconstpointer b ,
8931                                                    gpointer user_data ) ,   8931                                                    gpointer user_data ) ,
8932                               gpointer user_data ) ;   8932                               gpointer user_data ) ;
8933 extern GQueue *g_queue_new(void) ;   8933 extern GQueue *g_queue_new(void) ;
8934 extern void g_queue_free(GQueue *queue ) ;   8934 extern void g_queue_free(GQueue *queue ) ;
8935 extern void g_queue_init(GQueue *queue ) ;   8935 extern void g_queue_init(GQueue *queue ) ;
8936 extern void g_queue_clear(GQueue *queue ) ;   8936 extern void g_queue_clear(GQueue *queue ) ;
8937 extern gboolean g_queue_is_empty(GQueue *queue ) ;   8937 extern gboolean g_queue_is_empty(GQueue *queue ) ;
8938 extern guint g_queue_get_length(GQueue *queue ) ;   8938 extern guint g_queue_get_length(GQueue *queue ) ;
8939 extern void g_queue_reverse(GQueue *queue ) ;   8939 extern void g_queue_reverse(GQueue *queue ) ;
8940 extern GQueue *g_queue_copy(GQueue *queue ) ;   8940 extern GQueue *g_queue_copy(GQueue *queue ) ;
8941 extern void g_queue_foreach(GQueue *queue , void (*func)(gpointer data ,   8941 extern void g_queue_foreach(GQueue *queue , void (*func)(gpointer data ,
8942                                                          gpointer user_data ) ,   8942                                                          gpointer user_data ) ,
8943                             gpointer user_data ) ;   8943                             gpointer user_data ) ;
8944 extern GList *g_queue_find(GQueue *queue , gconstpointer data ) ;   8944 extern GList *g_queue_find(GQueue *queue , gconstpointer data ) ;
8945 extern GList *g_queue_find_custom(GQueue *queue , gconstpointer data ,   8945 extern GList *g_queue_find_custom(GQueue *queue , gconstpointer data ,
8946                                   gint (*func)(gconstpointer a ,   8946                                   gint (*func)(gconstpointer a ,
8947                                                gconstpointer b ) ) ;   8947                                                gconstpointer b ) ) ;
8948 extern void g_queue_sort(GQueue *queue ,   8948 extern void g_queue_sort(GQueue *queue ,
8949                          gint (*compare_func)(gconstpointer a ,   8949                          gint (*compare_func)(gconstpointer a ,
8950                                               gconstpointer b ,   8950                                               gconstpointer b ,
8951                                               gpointer user_data ) ,   8951                                               gpointer user_data ) ,
8952                          gpointer user_data ) ;   8952                          gpointer user_data ) ;
8953 extern void g_queue_push_head(GQueue *queue , gpointer data ) ;   8953 extern void g_queue_push_head(GQueue *queue , gpointer data ) ;
8954 extern void g_queue_push_tail(GQueue *queue , gpointer data ) ;   8954 extern void g_queue_push_tail(GQueue *queue , gpointer data ) ;
8955 extern void g_queue_push_nth(GQueue *queue , gpointer data , gint n ) ;   8955 extern void g_queue_push_nth(GQueue *queue , gpointer data , gint n ) ;
8956 extern gpointer g_queue_pop_head(GQueue *queue ) ;   8956 extern gpointer g_queue_pop_head(GQueue *queue ) ;
8957 extern gpointer g_queue_pop_tail(GQueue *queue ) ;   8957 extern gpointer g_queue_pop_tail(GQueue *queue ) ;
8958 extern gpointer g_queue_pop_nth(GQueue *queue , guint n ) ;   8958 extern gpointer g_queue_pop_nth(GQueue *queue , guint n ) ;
8959 extern gpointer g_queue_peek_head(GQueue *queue ) ;   8959 extern gpointer g_queue_peek_head(GQueue *queue ) ;
8960 extern gpointer g_queue_peek_tail(GQueue *queue ) ;   8960 extern gpointer g_queue_peek_tail(GQueue *queue ) ;
8961 extern gpointer g_queue_peek_nth(GQueue *queue , guint n ) ;   8961 extern gpointer g_queue_peek_nth(GQueue *queue , guint n ) ;
8962 extern gint g_queue_index(GQueue *queue , gconstpointer data ) ;   8962 extern gint g_queue_index(GQueue *queue , gconstpointer data ) ;
8963 extern void g_queue_remove(GQueue *queue , gconstpointer data ) ;   8963 extern void g_queue_remove(GQueue *queue , gconstpointer data ) ;
8964 extern void g_queue_remove_all(GQueue *queue , gconstpointer data ) ;   8964 extern void g_queue_remove_all(GQueue *queue , gconstpointer data ) ;
8965 extern void g_queue_insert_before(GQueue *queue , GList *sibling ,   8965 extern void g_queue_insert_before(GQueue *queue , GList *sibling ,
8966                                   gpointer data ) ;   8966                                   gpointer data ) ;
8967 extern void g_queue_insert_after(GQueue *queue , GList *sibling , gpointer data ) ;   8967 extern void g_queue_insert_after(GQueue *queue , GList *sibling , gpointer data ) ;
8968 extern void g_queue_insert_sorted(GQueue *queue , gpointer data ,   8968 extern void g_queue_insert_sorted(GQueue *queue , gpointer data ,
8969                                   gint (*func)(gconstpointer a ,   8969                                   gint (*func)(gconstpointer a ,
8970                                                gconstpointer b ,   8970                                                gconstpointer b ,
8971                                                gpointer user_data ) ,   8971                                                gpointer user_data ) ,
8972                                   gpointer user_data ) ;   8972                                   gpointer user_data ) ;
8973 extern void g_queue_push_head_link(GQueue *queue , GList *link_ ) ;   8973 extern void g_queue_push_head_link(GQueue *queue , GList *link_ ) ;
8974 extern void g_queue_push_tail_link(GQueue *queue , GList *link_ ) ;   8974 extern void g_queue_push_tail_link(GQueue *queue , GList *link_ ) ;
8975 extern void g_queue_push_nth_link(GQueue *queue , gint n , GList *link_ ) ;   8975 extern void g_queue_push_nth_link(GQueue *queue , gint n , GList *link_ ) ;
8976 extern GList *g_queue_pop_head_link(GQueue *queue ) ;   8976 extern GList *g_queue_pop_head_link(GQueue *queue ) ;
8977 extern GList *g_queue_pop_tail_link(GQueue *queue ) ;   8977 extern GList *g_queue_pop_tail_link(GQueue *queue ) ;
8978 extern GList *g_queue_pop_nth_link(GQueue *queue , guint n ) ;   8978 extern GList *g_queue_pop_nth_link(GQueue *queue , guint n ) ;
8979 extern GList *g_queue_peek_head_link(GQueue *queue ) ;   8979 extern GList *g_queue_peek_head_link(GQueue *queue ) ;
8980 extern GList *g_queue_peek_tail_link(GQueue *queue ) ;   8980 extern GList *g_queue_peek_tail_link(GQueue *queue ) ;
8981 extern GList *g_queue_peek_nth_link(GQueue *queue , guint n ) ;   8981 extern GList *g_queue_peek_nth_link(GQueue *queue , guint n ) ;
8982 extern gint g_queue_link_index(GQueue *queue , GList *link_ ) ;   8982 extern gint g_queue_link_index(GQueue *queue , GList *link_ ) ;
8983 extern void g_queue_unlink(GQueue *queue , GList *link_ ) ;   8983 extern void g_queue_unlink(GQueue *queue , GList *link_ ) ;
8984 extern void g_queue_delete_link(GQueue *queue , GList *link_ ) ;   8984 extern void g_queue_delete_link(GQueue *queue , GList *link_ ) ;
8985 extern GRand *g_rand_new_with_seed(guint32 seed ) ;   8985 extern GRand *g_rand_new_with_seed(guint32 seed ) ;
8986 extern GRand *g_rand_new_with_seed_array(guint32 const   *seed ,   8986 extern GRand *g_rand_new_with_seed_array(guint32 const   *seed ,
8987                                          guint seed_length ) ;   8987                                          guint seed_length ) ;
8988 extern GRand *g_rand_new(void) ;   8988 extern GRand *g_rand_new(void) ;
8989 extern void g_rand_free(GRand *rand_ ) ;   8989 extern void g_rand_free(GRand *rand_ ) ;
8990 extern GRand *g_rand_copy(GRand *rand_ ) ;   8990 extern GRand *g_rand_copy(GRand *rand_ ) ;
8991 extern void g_rand_set_seed(GRand *rand_ , guint32 seed ) ;   8991 extern void g_rand_set_seed(GRand *rand_ , guint32 seed ) ;
8992 extern void g_rand_set_seed_array(GRand *rand_ , guint32 const   *seed ,   8992 extern void g_rand_set_seed_array(GRand *rand_ , guint32 const   *seed ,
8993                                   guint seed_length ) ;   8993                                   guint seed_length ) ;
8994 extern guint32 g_rand_int(GRand *rand_ ) ;   8994 extern guint32 g_rand_int(GRand *rand_ ) ;
8995 extern gint32 g_rand_int_range(GRand *rand_ , gint32 begin , gint32 end ) ;   8995 extern gint32 g_rand_int_range(GRand *rand_ , gint32 begin , gint32 end ) ;
8996 extern gdouble g_rand_double(GRand *rand_ ) ;   8996 extern gdouble g_rand_double(GRand *rand_ ) ;
8997 extern gdouble g_rand_double_range(GRand *rand_ , gdouble begin , gdouble end ) ;   8997 extern gdouble g_rand_double_range(GRand *rand_ , gdouble begin , gdouble end ) ;
8998 extern void g_random_set_seed(guint32 seed ) ;   8998 extern void g_random_set_seed(guint32 seed ) ;
8999 extern guint32 g_random_int(void) ;   8999 extern guint32 g_random_int(void) ;
9000 extern gint32 g_random_int_range(gint32 begin , gint32 end ) ;   9000 extern gint32 g_random_int_range(gint32 begin , gint32 end ) ;
9001 extern gdouble g_random_double(void) ;   9001 extern gdouble g_random_double(void) ;
9002 extern gdouble g_random_double_range(gdouble begin , gdouble end ) ;   9002 extern gdouble g_random_double_range(gdouble begin , gdouble end ) ;
9003 extern GRelation *g_relation_new(gint fields ) ;   9003 extern GRelation *g_relation_new(gint fields ) ;
9004 extern void g_relation_destroy(GRelation *relation ) ;   9004 extern void g_relation_destroy(GRelation *relation ) ;
9005 extern void g_relation_index(GRelation *relation , gint field ,   9005 extern void g_relation_index(GRelation *relation , gint field ,
9006                              guint (*hash_func)(gconstpointer key ) ,   9006                              guint (*hash_func)(gconstpointer key ) ,
9007                              gboolean (*key_equal_func)(gconstpointer a ,   9007                              gboolean (*key_equal_func)(gconstpointer a ,
9008                                                         gconstpointer b ) ) ;   9008                                                         gconstpointer b ) ) ;
9009 extern void g_relation_insert(GRelation *relation  , ...) ;   9009 extern void g_relation_insert(GRelation *relation  , ...) ;
9010 extern gint g_relation_delete(GRelation *relation , gconstpointer key ,   9010 extern gint g_relation_delete(GRelation *relation , gconstpointer key ,
9011                               gint field ) ;   9011                               gint field ) ;
9012 extern GTuples *g_relation_select(GRelation *relation , gconstpointer key ,   9012 extern GTuples *g_relation_select(GRelation *relation , gconstpointer key ,
9013                                   gint field ) ;   9013                                   gint field ) ;
9014 extern gint g_relation_count(GRelation *relation , gconstpointer key ,   9014 extern gint g_relation_count(GRelation *relation , gconstpointer key ,
9015                              gint field ) ;   9015                              gint field ) ;
9016 extern gboolean g_relation_exists(GRelation *relation  , ...) ;   9016 extern gboolean g_relation_exists(GRelation *relation  , ...) ;
9017 extern void g_relation_print(GRelation *relation ) ;   9017 extern void g_relation_print(GRelation *relation ) ;
9018 extern void g_tuples_destroy(GTuples *tuples ) ;   9018 extern void g_tuples_destroy(GTuples *tuples ) ;
9019 extern gpointer g_tuples_index(GTuples *tuples , gint index_ , gint field ) ;   9019 extern gpointer g_tuples_index(GTuples *tuples , gint index_ , gint field ) ;
9020 extern GQuark g_regex_error_quark(void) ;   9020 extern GQuark g_regex_error_quark(void) ;
9021 extern GRegex *g_regex_new(gchar const   *pattern ,   9021 extern GRegex *g_regex_new(gchar const   *pattern ,
9022                            GRegexCompileFlags compile_options ,   9022                            GRegexCompileFlags compile_options ,
9023                            GRegexMatchFlags match_options , GError **error ) ;   9023                            GRegexMatchFlags match_options , GError **error ) ;
9024 extern GRegex *g_regex_ref(GRegex *regex ) ;   9024 extern GRegex *g_regex_ref(GRegex *regex ) ;
9025 extern void g_regex_unref(GRegex *regex ) ;   9025 extern void g_regex_unref(GRegex *regex ) ;
9026 extern gchar const   *g_regex_get_pattern(GRegex const   *regex ) ;   9026 extern gchar const   *g_regex_get_pattern(GRegex const   *regex ) ;
9027 extern gint g_regex_get_max_backref(GRegex const   *regex ) ;   9027 extern gint g_regex_get_max_backref(GRegex const   *regex ) ;
9028 extern gint g_regex_get_capture_count(GRegex const   *regex ) ;   9028 extern gint g_regex_get_capture_count(GRegex const   *regex ) ;
9029 extern gint g_regex_get_string_number(GRegex const   *regex ,   9029 extern gint g_regex_get_string_number(GRegex const   *regex ,
9030                                       gchar const   *name ) ;   9030                                       gchar const   *name ) ;
9031 extern gchar *g_regex_escape_string(gchar const   *string , gint length ) ;   9031 extern gchar *g_regex_escape_string(gchar const   *string , gint length ) ;
9032 extern gboolean g_regex_match_simple(gchar const   *pattern ,   9032 extern gboolean g_regex_match_simple(gchar const   *pattern ,
9033                                      gchar const   *string ,   9033                                      gchar const   *string ,
9034                                      GRegexCompileFlags compile_options ,   9034                                      GRegexCompileFlags compile_options ,
9035                                      GRegexMatchFlags match_options ) ;   9035                                      GRegexMatchFlags match_options ) ;
9036 extern gboolean g_regex_match(GRegex const   *regex , gchar const   *string ,   9036 extern gboolean g_regex_match(GRegex const   *regex , gchar const   *string ,
9037                               GRegexMatchFlags match_options ,   9037                               GRegexMatchFlags match_options ,
9038                               GMatchInfo **match_info ) ;   9038                               GMatchInfo **match_info ) ;
9039 extern gboolean g_regex_match_full(GRegex const   *regex ,   9039 extern gboolean g_regex_match_full(GRegex const   *regex ,
9040                                    gchar const   *string , gssize string_len ,   9040                                    gchar const   *string , gssize string_len ,
9041                                    gint start_position ,   9041                                    gint start_position ,
9042                                    GRegexMatchFlags match_options ,   9042                                    GRegexMatchFlags match_options ,
9043                                    GMatchInfo **match_info , GError **error ) ;   9043                                    GMatchInfo **match_info , GError **error ) ;
9044 extern gboolean g_regex_match_all(GRegex const   *regex ,   9044 extern gboolean g_regex_match_all(GRegex const   *regex ,
9045                                   gchar const   *string ,   9045                                   gchar const   *string ,
9046                                   GRegexMatchFlags match_options ,   9046                                   GRegexMatchFlags match_options ,
9047                                   GMatchInfo **match_info ) ;   9047                                   GMatchInfo **match_info ) ;
9048 extern gboolean g_regex_match_all_full(GRegex const   *regex ,   9048 extern gboolean g_regex_match_all_full(GRegex const   *regex ,
9049                                        gchar const   *string ,   9049                                        gchar const   *string ,
9050                                        gssize string_len , gint start_position ,   9050                                        gssize string_len , gint start_position ,
9051                                        GRegexMatchFlags match_options ,   9051                                        GRegexMatchFlags match_options ,
9052                                        GMatchInfo **match_info , GError **error ) ;   9052                                        GMatchInfo **match_info , GError **error ) ;
9053 extern gchar **g_regex_split_simple(gchar const   *pattern ,   9053 extern gchar **g_regex_split_simple(gchar const   *pattern ,
9054                                     gchar const   *string ,   9054                                     gchar const   *string ,
9055                                     GRegexCompileFlags compile_options ,   9055                                     GRegexCompileFlags compile_options ,
9056                                     GRegexMatchFlags match_options ) ;   9056                                     GRegexMatchFlags match_options ) ;
9057 extern gchar **g_regex_split(GRegex const   *regex , gchar const   *string ,   9057 extern gchar **g_regex_split(GRegex const   *regex , gchar const   *string ,
9058                              GRegexMatchFlags match_options ) ;   9058                              GRegexMatchFlags match_options ) ;
9059 extern gchar **g_regex_split_full(GRegex const   *regex ,   9059 extern gchar **g_regex_split_full(GRegex const   *regex ,
9060                                   gchar const   *string , gssize string_len ,   9060                                   gchar const   *string , gssize string_len ,
9061                                   gint start_position ,   9061                                   gint start_position ,
9062                                   GRegexMatchFlags match_options ,   9062                                   GRegexMatchFlags match_options ,
9063                                   gint max_tokens , GError **error ) ;   9063                                   gint max_tokens , GError **error ) ;
9064 extern gchar *g_regex_replace(GRegex const   *regex , gchar const   *string ,   9064 extern gchar *g_regex_replace(GRegex const   *regex , gchar const   *string ,
9065                               gssize string_len , gint start_position ,   9065                               gssize string_len , gint start_position ,
9066                               gchar const   *replacement ,   9066                               gchar const   *replacement ,
9067                               GRegexMatchFlags match_options , GError **error ) ;   9067                               GRegexMatchFlags match_options , GError **error ) ;
9068 extern gchar *g_regex_replace_literal(GRegex const   *regex ,   9068 extern gchar *g_regex_replace_literal(GRegex const   *regex ,
9069                                       gchar const   *string ,   9069                                       gchar const   *string ,
9070                                       gssize string_len , gint start_position ,   9070                                       gssize string_len , gint start_position ,
9071                                       gchar const   *replacement ,   9071                                       gchar const   *replacement ,
9072                                       GRegexMatchFlags match_options ,   9072                                       GRegexMatchFlags match_options ,
9073                                       GError **error ) ;   9073                                       GError **error ) ;
9074 extern gchar *g_regex_replace_eval(GRegex const   *regex ,   9074 extern gchar *g_regex_replace_eval(GRegex const   *regex ,
9075                                    gchar const   *string , gssize string_len ,   9075                                    gchar const   *string , gssize string_len ,
9076                                    gint start_position ,   9076                                    gint start_position ,
9077                                    GRegexMatchFlags match_options ,   9077                                    GRegexMatchFlags match_options ,
9078                                    gboolean (*eval)(GMatchInfo const   *match_info ,   9078                                    gboolean (*eval)(GMatchInfo const   *match_info ,
9079                                                     GString *result ,   9079                                                     GString *result ,
9080                                                     gpointer user_data ) ,   9080                                                     gpointer user_data ) ,
9081                                    gpointer user_data , GError **error ) ;   9081                                    gpointer user_data , GError **error ) ;
9082 extern gboolean g_regex_check_replacement(gchar const   *replacement ,   9082 extern gboolean g_regex_check_replacement(gchar const   *replacement ,
9083                                           gboolean *has_references ,   9083                                           gboolean *has_references ,
9084                                           GError **error ) ;   9084                                           GError **error ) ;
9085 extern GRegex *g_match_info_get_regex(GMatchInfo const   *match_info ) ;   9085 extern GRegex *g_match_info_get_regex(GMatchInfo const   *match_info ) ;
9086 extern gchar const   *g_match_info_get_string(GMatchInfo const   *match_info ) ;   9086 extern gchar const   *g_match_info_get_string(GMatchInfo const   *match_info ) ;
9087 extern void g_match_info_free(GMatchInfo *match_info ) ;   9087 extern void g_match_info_free(GMatchInfo *match_info ) ;
9088 extern gboolean g_match_info_next(GMatchInfo *match_info , GError **error ) ;   9088 extern gboolean g_match_info_next(GMatchInfo *match_info , GError **error ) ;
9089 extern gboolean g_match_info_matches(GMatchInfo const   *match_info ) ;   9089 extern gboolean g_match_info_matches(GMatchInfo const   *match_info ) ;
9090 extern gint g_match_info_get_match_count(GMatchInfo const   *match_info ) ;   9090 extern gint g_match_info_get_match_count(GMatchInfo const   *match_info ) ;
9091 extern gboolean g_match_info_is_partial_match(GMatchInfo const   *match_info ) ;   9091 extern gboolean g_match_info_is_partial_match(GMatchInfo const   *match_info ) ;
9092 extern gchar *g_match_info_expand_references(GMatchInfo const   *match_info ,   9092 extern gchar *g_match_info_expand_references(GMatchInfo const   *match_info ,
9093                                              gchar const   *string_to_expand ,   9093                                              gchar const   *string_to_expand ,
9094                                              GError **error ) ;   9094                                              GError **error ) ;
9095 extern gchar *g_match_info_fetch(GMatchInfo const   *match_info ,   9095 extern gchar *g_match_info_fetch(GMatchInfo const   *match_info ,
9096                                  gint match_num ) ;   9096                                  gint match_num ) ;
9097 extern gboolean g_match_info_fetch_pos(GMatchInfo const   *match_info ,   9097 extern gboolean g_match_info_fetch_pos(GMatchInfo const   *match_info ,
9098                                        gint match_num , gint *start_pos ,   9098                                        gint match_num , gint *start_pos ,
9099                                        gint *end_pos ) ;   9099                                        gint *end_pos ) ;
9100 extern gchar *g_match_info_fetch_named(GMatchInfo const   *match_info ,   9100 extern gchar *g_match_info_fetch_named(GMatchInfo const   *match_info ,
9101                                        gchar const   *name ) ;   9101                                        gchar const   *name ) ;
9102 extern gboolean g_match_info_fetch_named_pos(GMatchInfo const   *match_info ,   9102 extern gboolean g_match_info_fetch_named_pos(GMatchInfo const   *match_info ,
9103                                              gchar const   *name ,   9103                                              gchar const   *name ,
9104                                              gint *start_pos , gint *end_pos ) ;   9104                                              gint *start_pos , gint *end_pos ) ;
9105 extern gchar **g_match_info_fetch_all(GMatchInfo const   *match_info ) ;   9105 extern gchar **g_match_info_fetch_all(GMatchInfo const   *match_info ) ;
9106 extern GScanner *g_scanner_new(GScannerConfig const   *config_templ ) ;   9106 extern GScanner *g_scanner_new(GScannerConfig const   *config_templ ) ;
9107 extern void g_scanner_destroy(GScanner *scanner ) ;   9107 extern void g_scanner_destroy(GScanner *scanner ) ;
9108 extern void g_scanner_input_file(GScanner *scanner , gint input_fd ) ;   9108 extern void g_scanner_input_file(GScanner *scanner , gint input_fd ) ;
9109 extern void g_scanner_sync_file_offset(GScanner *scanner ) ;   9109 extern void g_scanner_sync_file_offset(GScanner *scanner ) ;
9110 extern void g_scanner_input_text(GScanner *scanner , gchar const   *text ,   9110 extern void g_scanner_input_text(GScanner *scanner , gchar const   *text ,
9111                                  guint text_len ) ;   9111                                  guint text_len ) ;
9112 extern GTokenType g_scanner_get_next_token(GScanner *scanner ) ;   9112 extern GTokenType g_scanner_get_next_token(GScanner *scanner ) ;
9113 extern GTokenType g_scanner_peek_next_token(GScanner *scanner ) ;   9113 extern GTokenType g_scanner_peek_next_token(GScanner *scanner ) ;
9114 extern GTokenType g_scanner_cur_token(GScanner *scanner ) ;   9114 extern GTokenType g_scanner_cur_token(GScanner *scanner ) ;
9115 extern GTokenValue g_scanner_cur_value(GScanner *scanner ) ;   9115 extern GTokenValue g_scanner_cur_value(GScanner *scanner ) ;
9116 extern guint g_scanner_cur_line(GScanner *scanner ) ;   9116 extern guint g_scanner_cur_line(GScanner *scanner ) ;
9117 extern guint g_scanner_cur_position(GScanner *scanner ) ;   9117 extern guint g_scanner_cur_position(GScanner *scanner ) ;
9118 extern gboolean g_scanner_eof(GScanner *scanner ) ;   9118 extern gboolean g_scanner_eof(GScanner *scanner ) ;
9119 extern guint g_scanner_set_scope(GScanner *scanner , guint scope_id ) ;   9119 extern guint g_scanner_set_scope(GScanner *scanner , guint scope_id ) ;
9120 extern void g_scanner_scope_add_symbol(GScanner *scanner , guint scope_id ,   9120 extern void g_scanner_scope_add_symbol(GScanner *scanner , guint scope_id ,
9121                                        gchar const   *symbol , gpointer value ) ;   9121                                        gchar const   *symbol , gpointer value ) ;
9122 extern void g_scanner_scope_remove_symbol(GScanner *scanner , guint scope_id ,   9122 extern void g_scanner_scope_remove_symbol(GScanner *scanner , guint scope_id ,
9123                                           gchar const   *symbol ) ;   9123                                           gchar const   *symbol ) ;
9124 extern gpointer g_scanner_scope_lookup_symbol(GScanner *scanner ,   9124 extern gpointer g_scanner_scope_lookup_symbol(GScanner *scanner ,
9125                                               guint scope_id ,   9125                                               guint scope_id ,
9126                                               gchar const   *symbol ) ;   9126                                               gchar const   *symbol ) ;
9127 extern void g_scanner_scope_foreach_symbol(GScanner *scanner , guint scope_id ,   9127 extern void g_scanner_scope_foreach_symbol(GScanner *scanner , guint scope_id ,
9128                                            void (*func)(gpointer key ,   9128                                            void (*func)(gpointer key ,
9129                                                         gpointer value ,   9129                                                         gpointer value ,
9130                                                         gpointer user_data ) ,   9130                                                         gpointer user_data ) ,
9131                                            gpointer user_data ) ;   9131                                            gpointer user_data ) ;
9132 extern gpointer g_scanner_lookup_symbol(GScanner *scanner ,   9132 extern gpointer g_scanner_lookup_symbol(GScanner *scanner ,
9133                                         gchar const   *symbol ) ;   9133                                         gchar const   *symbol ) ;
9134 extern void g_scanner_unexp_token(GScanner *scanner ,   9134 extern void g_scanner_unexp_token(GScanner *scanner ,
9135                                   GTokenType expected_token ,   9135                                   GTokenType expected_token ,
9136                                   gchar const   *identifier_spec ,   9136                                   gchar const   *identifier_spec ,
9137                                   gchar const   *symbol_spec ,   9137                                   gchar const   *symbol_spec ,
9138                                   gchar const   *symbol_name ,   9138                                   gchar const   *symbol_name ,
9139                                   gchar const   *message , gint is_error ) ;   9139                                   gchar const   *message , gint is_error ) ;
9140 extern void ( /* format attribute */  g_scanner_error)(GScanner *scanner ,   9140 extern void ( /* format attribute */  g_scanner_error)(GScanner *scanner ,
9141                                                        gchar const   *format   9141                                                        gchar const   *format
9142                                                        , ...) ;   9142                                                        , ...) ;
9143 extern void ( /* format attribute */  g_scanner_warn)(GScanner *scanner ,   9143 extern void ( /* format attribute */  g_scanner_warn)(GScanner *scanner ,
9144                                                       gchar const   *format   9144                                                       gchar const   *format
9145                                                       , ...) ;   9145                                                       , ...) ;
9146 extern GSequence *g_sequence_new(void (*data_destroy)(gpointer data ) ) ;   9146 extern GSequence *g_sequence_new(void (*data_destroy)(gpointer data ) ) ;
9147 extern void g_sequence_free(GSequence *seq ) ;   9147 extern void g_sequence_free(GSequence *seq ) ;
9148 extern gint g_sequence_get_length(GSequence *seq ) ;   9148 extern gint g_sequence_get_length(GSequence *seq ) ;
9149 extern void g_sequence_foreach(GSequence *seq ,   9149 extern void g_sequence_foreach(GSequence *seq ,
9150                                void (*func)(gpointer data , gpointer user_data ) ,   9150                                void (*func)(gpointer data , gpointer user_data ) ,
9151                                gpointer user_data ) ;   9151                                gpointer user_data ) ;
9152 extern void g_sequence_foreach_range(GSequenceIter *begin , GSequenceIter *end ,   9152 extern void g_sequence_foreach_range(GSequenceIter *begin , GSequenceIter *end ,
9153                                      void (*func)(gpointer data ,   9153                                      void (*func)(gpointer data ,
9154                                                   gpointer user_data ) ,   9154                                                   gpointer user_data ) ,
9155                                      gpointer user_data ) ;   9155                                      gpointer user_data ) ;
9156 extern void g_sequence_sort(GSequence *seq ,   9156 extern void g_sequence_sort(GSequence *seq ,
9157                             gint (*cmp_func)(gconstpointer a ,   9157                             gint (*cmp_func)(gconstpointer a ,
9158                                              gconstpointer b ,   9158                                              gconstpointer b ,
9159                                              gpointer user_data ) ,   9159                                              gpointer user_data ) ,
9160                             gpointer cmp_data ) ;   9160                             gpointer cmp_data ) ;
9161 extern void g_sequence_sort_iter(GSequence *seq ,   9161 extern void g_sequence_sort_iter(GSequence *seq ,
9162                                  gint (*cmp_func)(GSequenceIter *a ,   9162                                  gint (*cmp_func)(GSequenceIter *a ,
9163                                                   GSequenceIter *b ,   9163                                                   GSequenceIter *b ,
9164                                                   gpointer data ) ,   9164                                                   gpointer data ) ,
9165                                  gpointer cmp_data ) ;   9165                                  gpointer cmp_data ) ;
9166 extern GSequenceIter *g_sequence_get_begin_iter(GSequence *seq ) ;   9166 extern GSequenceIter *g_sequence_get_begin_iter(GSequence *seq ) ;
9167 extern GSequenceIter *g_sequence_get_end_iter(GSequence *seq ) ;   9167 extern GSequenceIter *g_sequence_get_end_iter(GSequence *seq ) ;
9168 extern GSequenceIter *g_sequence_get_iter_at_pos(GSequence *seq , gint pos ) ;   9168 extern GSequenceIter *g_sequence_get_iter_at_pos(GSequence *seq , gint pos ) ;
9169 extern GSequenceIter *g_sequence_append(GSequence *seq , gpointer data ) ;   9169 extern GSequenceIter *g_sequence_append(GSequence *seq , gpointer data ) ;
9170 extern GSequenceIter *g_sequence_prepend(GSequence *seq , gpointer data ) ;   9170 extern GSequenceIter *g_sequence_prepend(GSequence *seq , gpointer data ) ;
9171 extern GSequenceIter *g_sequence_insert_before(GSequenceIter *iter ,   9171 extern GSequenceIter *g_sequence_insert_before(GSequenceIter *iter ,
9172                                                gpointer data ) ;   9172                                                gpointer data ) ;
9173 extern void g_sequence_move(GSequenceIter *src , GSequenceIter *dest ) ;   9173 extern void g_sequence_move(GSequenceIter *src , GSequenceIter *dest ) ;
9174 extern void g_sequence_swap(GSequenceIter *a , GSequenceIter *b ) ;   9174 extern void g_sequence_swap(GSequenceIter *a , GSequenceIter *b ) ;
9175 extern GSequenceIter *g_sequence_insert_sorted(GSequence *seq , gpointer data ,   9175 extern GSequenceIter *g_sequence_insert_sorted(GSequence *seq , gpointer data ,
9176                                                gint (*cmp_func)(gconstpointer a ,   9176                                                gint (*cmp_func)(gconstpointer a ,
9177                                                                 gconstpointer b ,   9177                                                                 gconstpointer b ,
9178                                                                 gpointer user_data ) ,   9178                                                                 gpointer user_data ) ,
9179                                                gpointer cmp_data ) ;   9179                                                gpointer cmp_data ) ;
9180 extern GSequenceIter *g_sequence_insert_sorted_iter(GSequence *seq ,   9180 extern GSequenceIter *g_sequence_insert_sorted_iter(GSequence *seq ,
9181                                                     gpointer data ,   9181                                                     gpointer data ,
9182                                                     gint (*iter_cmp)(GSequenceIter *a ,   9182                                                     gint (*iter_cmp)(GSequenceIter *a ,
9183                                                                      GSequenceIter *b ,   9183                                                                      GSequenceIter *b ,
9184                                                                      gpointer data ) ,   9184                                                                      gpointer data ) ,
9185                                                     gpointer cmp_data ) ;   9185                                                     gpointer cmp_data ) ;
9186 extern void g_sequence_sort_changed(GSequenceIter *iter ,   9186 extern void g_sequence_sort_changed(GSequenceIter *iter ,
9187                                     gint (*cmp_func)(gconstpointer a ,   9187                                     gint (*cmp_func)(gconstpointer a ,
9188                                                      gconstpointer b ,   9188                                                      gconstpointer b ,
9189                                                      gpointer user_data ) ,   9189                                                      gpointer user_data ) ,
9190                                     gpointer cmp_data ) ;   9190                                     gpointer cmp_data ) ;
9191 extern void g_sequence_sort_changed_iter(GSequenceIter *iter ,   9191 extern void g_sequence_sort_changed_iter(GSequenceIter *iter ,
9192                                          gint (*iter_cmp)(GSequenceIter *a ,   9192                                          gint (*iter_cmp)(GSequenceIter *a ,
9193                                                           GSequenceIter *b ,   9193                                                           GSequenceIter *b ,
9194                                                           gpointer data ) ,   9194                                                           gpointer data ) ,
9195                                          gpointer cmp_data ) ;   9195                                          gpointer cmp_data ) ;
9196 extern void g_sequence_remove(GSequenceIter *iter ) ;   9196 extern void g_sequence_remove(GSequenceIter *iter ) ;
9197 extern void g_sequence_remove_range(GSequenceIter *begin , GSequenceIter *end ) ;   9197 extern void g_sequence_remove_range(GSequenceIter *begin , GSequenceIter *end ) ;
9198 extern void g_sequence_move_range(GSequenceIter *dest , GSequenceIter *begin ,   9198 extern void g_sequence_move_range(GSequenceIter *dest , GSequenceIter *begin ,
9199                                   GSequenceIter *end ) ;   9199                                   GSequenceIter *end ) ;
9200 extern GSequenceIter *g_sequence_search(GSequence *seq , gpointer data ,   9200 extern GSequenceIter *g_sequence_search(GSequence *seq , gpointer data ,
9201                                         gint (*cmp_func)(gconstpointer a ,   9201                                         gint (*cmp_func)(gconstpointer a ,
9202                                                          gconstpointer b ,   9202                                                          gconstpointer b ,
9203                                                          gpointer user_data ) ,   9203                                                          gpointer user_data ) ,
9204                                         gpointer cmp_data ) ;   9204                                         gpointer cmp_data ) ;
9205 extern GSequenceIter *g_sequence_search_iter(GSequence *seq , gpointer data ,   9205 extern GSequenceIter *g_sequence_search_iter(GSequence *seq , gpointer data ,
9206                                              gint (*iter_cmp)(GSequenceIter *a ,   9206                                              gint (*iter_cmp)(GSequenceIter *a ,
9207                                                               GSequenceIter *b ,   9207                                                               GSequenceIter *b ,
9208                                                               gpointer data ) ,   9208                                                               gpointer data ) ,
9209                                              gpointer cmp_data ) ;   9209                                              gpointer cmp_data ) ;
9210 extern gpointer g_sequence_get(GSequenceIter *iter ) ;   9210 extern gpointer g_sequence_get(GSequenceIter *iter ) ;
9211 extern void g_sequence_set(GSequenceIter *iter , gpointer data ) ;   9211 extern void g_sequence_set(GSequenceIter *iter , gpointer data ) ;
9212 extern gboolean g_sequence_iter_is_begin(GSequenceIter *iter ) ;   9212 extern gboolean g_sequence_iter_is_begin(GSequenceIter *iter ) ;
9213 extern gboolean g_sequence_iter_is_end(GSequenceIter *iter ) ;   9213 extern gboolean g_sequence_iter_is_end(GSequenceIter *iter ) ;
9214 extern GSequenceIter *g_sequence_iter_next(GSequenceIter *iter ) ;   9214 extern GSequenceIter *g_sequence_iter_next(GSequenceIter *iter ) ;
9215 extern GSequenceIter *g_sequence_iter_prev(GSequenceIter *iter ) ;   9215 extern GSequenceIter *g_sequence_iter_prev(GSequenceIter *iter ) ;
9216 extern gint g_sequence_iter_get_position(GSequenceIter *iter ) ;   9216 extern gint g_sequence_iter_get_position(GSequenceIter *iter ) ;
9217 extern GSequenceIter *g_sequence_iter_move(GSequenceIter *iter , gint delta ) ;   9217 extern GSequenceIter *g_sequence_iter_move(GSequenceIter *iter , gint delta ) ;
9218 extern GSequence *g_sequence_iter_get_sequence(GSequenceIter *iter ) ;   9218 extern GSequence *g_sequence_iter_get_sequence(GSequenceIter *iter ) ;
9219 extern gint g_sequence_iter_compare(GSequenceIter *a , GSequenceIter *b ) ;   9219 extern gint g_sequence_iter_compare(GSequenceIter *a , GSequenceIter *b ) ;
9220 extern GSequenceIter *g_sequence_range_get_midpoint(GSequenceIter *begin ,   9220 extern GSequenceIter *g_sequence_range_get_midpoint(GSequenceIter *begin ,
9221                                                     GSequenceIter *end ) ;   9221                                                     GSequenceIter *end ) ;
9222 extern GQuark g_shell_error_quark(void) ;   9222 extern GQuark g_shell_error_quark(void) ;
9223 extern gchar *g_shell_quote(gchar const   *unquoted_string ) ;   9223 extern gchar *g_shell_quote(gchar const   *unquoted_string ) ;
9224 extern gchar *g_shell_unquote(gchar const   *quoted_string , GError **error ) ;   9224 extern gchar *g_shell_unquote(gchar const   *quoted_string , GError **error ) ;
9225 extern gboolean g_shell_parse_argv(gchar const   *command_line , gint *argcp ,   9225 extern gboolean g_shell_parse_argv(gchar const   *command_line , gint *argcp ,
9226                                    gchar ***argvp , GError **error ) ;   9226                                    gchar ***argvp , GError **error ) ;
9227 extern GQuark g_spawn_error_quark(void) ;   9227 extern GQuark g_spawn_error_quark(void) ;
9228 extern gboolean g_spawn_async(gchar const   *working_directory , gchar **argv ,   9228 extern gboolean g_spawn_async(gchar const   *working_directory , gchar **argv ,
9229                               gchar **envp , GSpawnFlags flags ,   9229                               gchar **envp , GSpawnFlags flags ,
9230                               void (*child_setup)(gpointer user_data ) ,   9230                               void (*child_setup)(gpointer user_data ) ,
9231                               gpointer user_data , GPid *child_pid ,   9231                               gpointer user_data , GPid *child_pid ,
9232                               GError **error ) ;   9232                               GError **error ) ;
9233 extern gboolean g_spawn_async_with_pipes(gchar const   *working_directory ,   9233 extern gboolean g_spawn_async_with_pipes(gchar const   *working_directory ,
9234                                          gchar **argv , gchar **envp ,   9234                                          gchar **argv , gchar **envp ,
9235                                          GSpawnFlags flags ,   9235                                          GSpawnFlags flags ,
9236                                          void (*child_setup)(gpointer user_data ) ,   9236                                          void (*child_setup)(gpointer user_data ) ,
9237                                          gpointer user_data , GPid *child_pid ,   9237                                          gpointer user_data , GPid *child_pid ,
9238                                          gint *standard_input ,   9238                                          gint *standard_input ,
9239                                          gint *standard_output ,   9239                                          gint *standard_output ,
9240                                          gint *standard_error , GError **error ) ;   9240                                          gint *standard_error , GError **error ) ;
9241 extern gboolean g_spawn_sync(gchar const   *working_directory , gchar **argv ,   9241 extern gboolean g_spawn_sync(gchar const   *working_directory , gchar **argv ,
9242                              gchar **envp , GSpawnFlags flags ,   9242                              gchar **envp , GSpawnFlags flags ,
9243                              void (*child_setup)(gpointer user_data ) ,   9243                              void (*child_setup)(gpointer user_data ) ,
9244                              gpointer user_data , gchar **standard_output ,   9244                              gpointer user_data , gchar **standard_output ,
9245                              gchar **standard_error , gint *exit_status ,   9245                              gchar **standard_error , gint *exit_status ,
9246                              GError **error ) ;   9246                              GError **error ) ;
9247 extern gboolean g_spawn_command_line_sync(gchar const   *command_line ,   9247 extern gboolean g_spawn_command_line_sync(gchar const   *command_line ,
9248                                           gchar **standard_output ,   9248                                           gchar **standard_output ,
9249                                           gchar **standard_error ,   9249                                           gchar **standard_error ,
9250                                           gint *exit_status , GError **error ) ;   9250                                           gint *exit_status , GError **error ) ;
9251 extern gboolean g_spawn_command_line_async(gchar const   *command_line ,   9251 extern gboolean g_spawn_command_line_async(gchar const   *command_line ,
9252                                            GError **error ) ;   9252                                            GError **error ) ;
9253 extern void g_spawn_close_pid(GPid pid ) ;   9253 extern void g_spawn_close_pid(GPid pid ) ;
9254 extern guint16 const   * const  g_ascii_table ;   9254 extern guint16 const   * const  g_ascii_table ;
9255 extern gchar g_ascii_tolower(gchar c )  __attribute__((__const__)) ;   9255 extern gchar g_ascii_tolower(gchar c )  __attribute__((__const__)) ;
9256 extern gchar g_ascii_toupper(gchar c )  __attribute__((__const__)) ;   9256 extern gchar g_ascii_toupper(gchar c )  __attribute__((__const__)) ;
9257 extern gint g_ascii_digit_value(gchar c )  __attribute__((__const__)) ;   9257 extern gint g_ascii_digit_value(gchar c )  __attribute__((__const__)) ;
9258 extern gint g_ascii_xdigit_value(gchar c )  __attribute__((__const__)) ;   9258 extern gint g_ascii_xdigit_value(gchar c )  __attribute__((__const__)) ;
9259 extern gchar *g_strdelimit(gchar *string , gchar const   *delimiters ,   9259 extern gchar *g_strdelimit(gchar *string , gchar const   *delimiters ,
9260                            gchar new_delimiter ) ;   9260                            gchar new_delimiter ) ;
9261 extern gchar *g_strcanon(gchar *string , gchar const   *valid_chars ,   9261 extern gchar *g_strcanon(gchar *string , gchar const   *valid_chars ,
9262                          gchar substitutor ) ;   9262                          gchar substitutor ) ;
9263 extern gchar const   *g_strerror(gint errnum )  __attribute__((__const__)) ;   9263 extern gchar const   *g_strerror(gint errnum )  __attribute__((__const__)) ;
9264 extern gchar const   *g_strsignal(gint signum )  __attribute__((__const__)) ;   9264 extern gchar const   *g_strsignal(gint signum )  __attribute__((__const__)) ;
9265 extern gchar *g_strreverse(gchar *string ) ;   9265 extern gchar *g_strreverse(gchar *string ) ;
9266 extern gsize g_strlcpy(gchar *dest , gchar const   *src , gsize dest_size ) ;   9266 extern gsize g_strlcpy(gchar *dest , gchar const   *src , gsize dest_size ) ;
9267 extern gsize g_strlcat(gchar *dest , gchar const   *src , gsize dest_size ) ;   9267 extern gsize g_strlcat(gchar *dest , gchar const   *src , gsize dest_size ) ;
9268 extern gchar *g_strstr_len(gchar const   *haystack , gssize haystack_len ,   9268 extern gchar *g_strstr_len(gchar const   *haystack , gssize haystack_len ,
9269                            gchar const   *needle ) ;   9269                            gchar const   *needle ) ;
9270 extern gchar *g_strrstr(gchar const   *haystack , gchar const   *needle ) ;   9270 extern gchar *g_strrstr(gchar const   *haystack , gchar const   *needle ) ;
9271 extern gchar *g_strrstr_len(gchar const   *haystack , gssize haystack_len ,   9271 extern gchar *g_strrstr_len(gchar const   *haystack , gssize haystack_len ,
9272                             gchar const   *needle ) ;   9272                             gchar const   *needle ) ;
9273 extern gboolean g_str_has_suffix(gchar const   *str , gchar const   *suffix ) ;   9273 extern gboolean g_str_has_suffix(gchar const   *str , gchar const   *suffix ) ;
9274 extern gboolean g_str_has_prefix(gchar const   *str , gchar const   *prefix ) ;   9274 extern gboolean g_str_has_prefix(gchar const   *str , gchar const   *prefix ) ;
9275 extern gdouble g_strtod(gchar const   *nptr , gchar **endptr ) ;   9275 extern gdouble g_strtod(gchar const   *nptr , gchar **endptr ) ;
9276 extern gdouble g_ascii_strtod(gchar const   *nptr , gchar **endptr ) ;   9276 extern gdouble g_ascii_strtod(gchar const   *nptr , gchar **endptr ) ;
9277 extern guint64 g_ascii_strtoull(gchar const   *nptr , gchar **endptr ,   9277 extern guint64 g_ascii_strtoull(gchar const   *nptr , gchar **endptr ,
9278                                 guint base ) ;   9278                                 guint base ) ;
9279 extern gint64 g_ascii_strtoll(gchar const   *nptr , gchar **endptr , guint base ) ;   9279 extern gint64 g_ascii_strtoll(gchar const   *nptr , gchar **endptr , guint base ) ;
9280 extern gchar *g_ascii_dtostr(gchar *buffer , gint buf_len , gdouble d ) ;   9280 extern gchar *g_ascii_dtostr(gchar *buffer , gint buf_len , gdouble d ) ;
9281 extern gchar *g_ascii_formatd(gchar *buffer , gint buf_len ,   9281 extern gchar *g_ascii_formatd(gchar *buffer , gint buf_len ,
9282                               gchar const   *format , gdouble d ) ;   9282                               gchar const   *format , gdouble d ) ;
9283 extern gchar *g_strchug(gchar *string ) ;   9283 extern gchar *g_strchug(gchar *string ) ;
9284 extern gchar *g_strchomp(gchar *string ) ;   9284 extern gchar *g_strchomp(gchar *string ) ;
9285 extern gint g_ascii_strcasecmp(gchar const   *s1 , gchar const   *s2 ) ;   9285 extern gint g_ascii_strcasecmp(gchar const   *s1 , gchar const   *s2 ) ;
9286 extern gint g_ascii_strncasecmp(gchar const   *s1 , gchar const   *s2 , gsize n ) ;   9286 extern gint g_ascii_strncasecmp(gchar const   *s1 , gchar const   *s2 , gsize n ) ;
9287 extern gchar *g_ascii_strdown(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   9287 extern gchar *g_ascii_strdown(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
9288 extern gchar *g_ascii_strup(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   9288 extern gchar *g_ascii_strup(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
9289 extern gint g_strcasecmp(gchar const   *s1 , gchar const   *s2 ) ;   9289 extern gint g_strcasecmp(gchar const   *s1 , gchar const   *s2 ) ;
9290 extern gint g_strncasecmp(gchar const   *s1 , gchar const   *s2 , guint n ) ;   9290 extern gint g_strncasecmp(gchar const   *s1 , gchar const   *s2 , guint n ) ;
9291 extern gchar *g_strdown(gchar *string ) ;   9291 extern gchar *g_strdown(gchar *string ) ;
9292 extern gchar *g_strup(gchar *string ) ;   9292 extern gchar *g_strup(gchar *string ) ;
9293 extern gchar *g_strdup(gchar const   *str )  __attribute__((__malloc__)) ;   9293 extern gchar *g_strdup(gchar const   *str )  __attribute__((__malloc__)) ;
9294 extern gchar *( /* format attribute */  g_strdup_printf)(gchar const   *format   9294 extern gchar *( /* format attribute */  g_strdup_printf)(gchar const   *format
9295                                                          , ...)  __attribute__((__malloc__)) ;   9295                                                          , ...)  __attribute__((__malloc__)) ;
9296 extern gchar *g_strdup_vprintf(gchar const   *format , va_list args )  __attribute__((__malloc__)) ;   9296 extern gchar *g_strdup_vprintf(gchar const   *format , va_list args )  __attribute__((__malloc__)) ;
9297 extern gchar *g_strndup(gchar const   *str , gsize n )  __attribute__((__malloc__)) ;   9297 extern gchar *g_strndup(gchar const   *str , gsize n )  __attribute__((__malloc__)) ;
9298 extern gchar *g_strnfill(gsize length , gchar fill_char )  __attribute__((__malloc__)) ;   9298 extern gchar *g_strnfill(gsize length , gchar fill_char )  __attribute__((__malloc__)) ;
9299 extern gchar *g_strconcat(gchar const   *string1  , ...)  __attribute__((__sentinel__,   9299 extern gchar *g_strconcat(gchar const   *string1  , ...)  __attribute__((__sentinel__,
9300 __malloc__)) ;   9300 __malloc__)) ;
9301 extern gchar *g_strjoin(gchar const   *separator  , ...)  __attribute__((__sentinel__,   9301 extern gchar *g_strjoin(gchar const   *separator  , ...)  __attribute__((__sentinel__,
9302 __malloc__)) ;   9302 __malloc__)) ;
9303 extern gchar *g_strcompress(gchar const   *source )  __attribute__((__malloc__)) ;   9303 extern gchar *g_strcompress(gchar const   *source )  __attribute__((__malloc__)) ;
9304 extern gchar *g_strescape(gchar const   *source , gchar const   *exceptions )  __attribute__((__malloc__)) ;   9304 extern gchar *g_strescape(gchar const   *source , gchar const   *exceptions )  __attribute__((__malloc__)) ;
9305 extern gpointer g_memdup(gconstpointer mem , guint byte_size )  __attribute__((__malloc__,   9305 extern gpointer g_memdup(gconstpointer mem , guint byte_size )  __attribute__((__malloc__,
9306 __alloc_size__(2))) ;   9306 __alloc_size__(2))) ;
9307 extern gchar **g_strsplit(gchar const   *string , gchar const   *delimiter ,   9307 extern gchar **g_strsplit(gchar const   *string , gchar const   *delimiter ,
9308                           gint max_tokens )  __attribute__((__malloc__)) ;   9308                           gint max_tokens )  __attribute__((__malloc__)) ;
9309 extern gchar **g_strsplit_set(gchar const   *string ,   9309 extern gchar **g_strsplit_set(gchar const   *string ,
9310                               gchar const   *delimiters , gint max_tokens )  __attribute__((__malloc__)) ;   9310                               gchar const   *delimiters , gint max_tokens )  __attribute__((__malloc__)) ;
9311 extern gchar *g_strjoinv(gchar const   *separator , gchar **str_array )  __attribute__((__malloc__)) ;   9311 extern gchar *g_strjoinv(gchar const   *separator , gchar **str_array )  __attribute__((__malloc__)) ;
9312 extern void g_strfreev(gchar **str_array ) ;   9312 extern void g_strfreev(gchar **str_array ) ;
9313 extern gchar **g_strdupv(gchar **str_array )  __attribute__((__malloc__)) ;   9313 extern gchar **g_strdupv(gchar **str_array )  __attribute__((__malloc__)) ;
9314 extern guint g_strv_length(gchar **str_array ) ;   9314 extern guint g_strv_length(gchar **str_array ) ;
9315 extern gchar *g_stpcpy(gchar *dest , char const   *src ) ;   9315 extern gchar *g_stpcpy(gchar *dest , char const   *src ) ;
9316 extern gchar const   *g_strip_context(gchar const   *msgid ,   9316 extern gchar const   *g_strip_context(gchar const   *msgid ,
9317                                       gchar const   *msgval )  __attribute__((__format_arg__(1))) ;   9317                                       gchar const   *msgval )  __attribute__((__format_arg__(1))) ;
9318 extern gchar const   *g_dgettext(gchar const   *domain , gchar const   *msgid )  __attribute__((__format_arg__(2))) ;   9318 extern gchar const   *g_dgettext(gchar const   *domain , gchar const   *msgid )  __attribute__((__format_arg__(2))) ;
9319 extern gchar const   *g_dngettext(gchar const   *domain , gchar const   *msgid ,   9319 extern gchar const   *g_dngettext(gchar const   *domain , gchar const   *msgid ,
9320                                   gchar const   *msgid_plural , gulong n )  __attribute__((__format_arg__(3))) ;   9320                                   gchar const   *msgid_plural , gulong n )  __attribute__((__format_arg__(3))) ;
9321 extern gchar const   *g_dpgettext(gchar const   *domain ,   9321 extern gchar const   *g_dpgettext(gchar const   *domain ,
9322                                   gchar const   *msgctxtid , gsize msgidoffset )  __attribute__((__format_arg__(2))) ;   9322                                   gchar const   *msgctxtid , gsize msgidoffset )  __attribute__((__format_arg__(2))) ;
9323 extern gchar const   *g_dpgettext2(gchar const   *domain ,   9323 extern gchar const   *g_dpgettext2(gchar const   *domain ,
9324                                    gchar const   *context ,   9324                                    gchar const   *context ,
9325                                    gchar const   *msgid )  __attribute__((__format_arg__(3))) ;   9325                                    gchar const   *msgid )  __attribute__((__format_arg__(3))) ;
9326 extern int g_strcmp0(char const   *str1 , char const   *str2 ) ;   9326 extern int g_strcmp0(char const   *str1 , char const   *str2 ) ;
9327 extern void ( /* format attribute */  g_test_minimized_result)(double minimized_quantity ,   9327 extern void ( /* format attribute */  g_test_minimized_result)(double minimized_quantity ,
9328                                                                char const   *format   9328                                                                char const   *format
9329                                                                , ...) ;   9329                                                                , ...) ;
9330 extern void ( /* format attribute */  g_test_maximized_result)(double maximized_quantity ,   9330 extern void ( /* format attribute */  g_test_maximized_result)(double maximized_quantity ,
9331                                                                char const   *format   9331                                                                char const   *format
9332                                                                , ...) ;   9332                                                                , ...) ;
9333 extern void g_test_init(int *argc , char ***argv  , ...) ;   9333 extern void g_test_init(int *argc , char ***argv  , ...) ;
9334 extern int g_test_run(void) ;   9334 extern int g_test_run(void) ;
9335 extern void g_test_add_func(char const   *testpath , void (*test_func)(void) ) ;   9335 extern void g_test_add_func(char const   *testpath , void (*test_func)(void) ) ;
9336 extern void g_test_add_data_func(char const   *testpath ,   9336 extern void g_test_add_data_func(char const   *testpath ,
9337                                  gconstpointer test_data ,   9337                                  gconstpointer test_data ,
9338                                  void (*test_func)(gconstpointer  ) ) ;   9338                                  void (*test_func)(gconstpointer  ) ) ;
9339 extern void ( /* format attribute */  g_test_message)(char const   *format   9339 extern void ( /* format attribute */  g_test_message)(char const   *format
9340                                                       , ...) ;   9340                                                       , ...) ;
9341 extern void g_test_bug_base(char const   *uri_pattern ) ;   9341 extern void g_test_bug_base(char const   *uri_pattern ) ;
9342 extern void g_test_bug(char const   *bug_uri_snippet ) ;   9342 extern void g_test_bug(char const   *bug_uri_snippet ) ;
9343 extern void g_test_timer_start(void) ;   9343 extern void g_test_timer_start(void) ;
9344 extern double g_test_timer_elapsed(void) ;   9344 extern double g_test_timer_elapsed(void) ;
9345 extern double g_test_timer_last(void) ;   9345 extern double g_test_timer_last(void) ;
9346 extern void g_test_queue_free(gpointer gfree_pointer ) ;   9346 extern void g_test_queue_free(gpointer gfree_pointer ) ;
9347 extern void g_test_queue_destroy(void (*destroy_func)(gpointer data ) ,   9347 extern void g_test_queue_destroy(void (*destroy_func)(gpointer data ) ,
9348                                  gpointer destroy_data ) ;   9348                                  gpointer destroy_data ) ;
9349 extern gboolean g_test_trap_fork(guint64 usec_timeout ,   9349 extern gboolean g_test_trap_fork(guint64 usec_timeout ,
9350                                  GTestTrapFlags test_trap_flags ) ;   9350                                  GTestTrapFlags test_trap_flags ) ;
9351 extern gboolean g_test_trap_has_passed(void) ;   9351 extern gboolean g_test_trap_has_passed(void) ;
9352 extern gboolean g_test_trap_reached_timeout(void) ;   9352 extern gboolean g_test_trap_reached_timeout(void) ;
9353 extern gint32 g_test_rand_int(void) ;   9353 extern gint32 g_test_rand_int(void) ;
9354 extern gint32 g_test_rand_int_range(gint32 begin , gint32 end ) ;   9354 extern gint32 g_test_rand_int_range(gint32 begin , gint32 end ) ;
9355 extern double g_test_rand_double(void) ;   9355 extern double g_test_rand_double(void) ;
9356 extern double g_test_rand_double_range(double range_start , double range_end ) ;   9356 extern double g_test_rand_double_range(double range_start , double range_end ) ;
9357 extern GTestCase *g_test_create_case(char const   *test_name , gsize data_size ,   9357 extern GTestCase *g_test_create_case(char const   *test_name , gsize data_size ,
9358                                      gconstpointer test_data ,   9358                                      gconstpointer test_data ,
9359                                      void (*data_setup)(void) ,   9359                                      void (*data_setup)(void) ,
9360                                      void (*data_test)(void) ,   9360                                      void (*data_test)(void) ,
9361                                      void (*data_teardown)(void) ) ;   9361                                      void (*data_teardown)(void) ) ;
9362 extern GTestSuite *g_test_create_suite(char const   *suite_name ) ;   9362 extern GTestSuite *g_test_create_suite(char const   *suite_name ) ;
9363 extern GTestSuite *g_test_get_root(void) ;   9363 extern GTestSuite *g_test_get_root(void) ;
9364 extern void g_test_suite_add(GTestSuite *suite , GTestCase *test_case ) ;   9364 extern void g_test_suite_add(GTestSuite *suite , GTestCase *test_case ) ;
9365 extern void g_test_suite_add_suite(GTestSuite *suite , GTestSuite *nestedsuite ) ;   9365 extern void g_test_suite_add_suite(GTestSuite *suite , GTestSuite *nestedsuite ) ;
9366 extern int g_test_run_suite(GTestSuite *suite ) ;   9366 extern int g_test_run_suite(GTestSuite *suite ) ;
9367 extern void g_test_trap_assertions(char const   *domain , char const   *file ,   9367 extern void g_test_trap_assertions(char const   *domain , char const   *file ,
9368                                    int line , char const   *func ,   9368                                    int line , char const   *func ,
9369                                    guint64 assertion_flags ,   9369                                    guint64 assertion_flags ,
9370                                    char const   *pattern ) ;   9370                                    char const   *pattern ) ;
9371 extern  __attribute__((__noreturn__)) void g_assertion_message(char const   *domain ,   9371 extern  __attribute__((__noreturn__)) void g_assertion_message(char const   *domain ,
9372                                                                char const   *file ,   9372                                                                char const   *file ,
9373                                                                int line ,   9373                                                                int line ,
9374                                                                char const   *func ,   9374                                                                char const   *func ,
9375                                                                char const   *message ) ;   9375                                                                char const   *message ) ;
9376 extern  __attribute__((__noreturn__)) void g_assertion_message_expr(char const   *domain ,   9376 extern  __attribute__((__noreturn__)) void g_assertion_message_expr(char const   *domain ,
9377                                                                     char const   *file ,   9377                                                                     char const   *file ,
9378                                                                     int line ,   9378                                                                     int line ,
9379                                                                     char const   *func ,   9379                                                                     char const   *func ,
9380                                                                     char const   *expr ) ;   9380                                                                     char const   *expr ) ;
9381 extern  __attribute__((__noreturn__)) void g_assertion_message_cmpstr(char const   *domain ,   9381 extern  __attribute__((__noreturn__)) void g_assertion_message_cmpstr(char const   *domain ,
9382                                                                       char const   *file ,   9382                                                                       char const   *file ,
9383                                                                       int line ,   9383                                                                       int line ,
9384                                                                       char const   *func ,   9384                                                                       char const   *func ,
9385                                                                       char const   *expr ,   9385                                                                       char const   *expr ,
9386                                                                       char const   *arg1 ,   9386                                                                       char const   *arg1 ,
9387                                                                       char const   *cmp ,   9387                                                                       char const   *cmp ,
9388                                                                       char const   *arg2 ) ;   9388                                                                       char const   *arg2 ) ;
9389 extern  __attribute__((__noreturn__)) void g_assertion_message_cmpnum(char const   *domain ,   9389 extern  __attribute__((__noreturn__)) void g_assertion_message_cmpnum(char const   *domain ,
9390                                                                       char const   *file ,   9390                                                                       char const   *file ,
9391                                                                       int line ,   9391                                                                       int line ,
9392                                                                       char const   *func ,   9392                                                                       char const   *func ,
9393                                                                       char const   *expr ,   9393                                                                       char const   *expr ,
9394                                                                       long double arg1 ,   9394                                                                       long double arg1 ,
9395                                                                       char const   *cmp ,   9395                                                                       char const   *cmp ,
9396                                                                       long double arg2 ,   9396                                                                       long double arg2 ,
9397                                                                       char numtype ) ;   9397                                                                       char numtype ) ;
9398 extern  __attribute__((__noreturn__)) void g_assertion_message_error(char const   *domain ,   9398 extern  __attribute__((__noreturn__)) void g_assertion_message_error(char const   *domain ,
9399                                                                      char const   *file ,   9399                                                                      char const   *file ,
9400                                                                      int line ,   9400                                                                      int line ,
9401                                                                      char const   *func ,   9401                                                                      char const   *func ,
9402                                                                      char const   *expr ,   9402                                                                      char const   *expr ,
9403                                                                      GError *error ,   9403                                                                      GError *error ,
9404                                                                      GQuark error_domain ,   9404                                                                      GQuark error_domain ,
9405                                                                      int error_code ) ;   9405                                                                      int error_code ) ;
9406 extern void g_test_add_vtable(char const   *testpath , gsize data_size ,   9406 extern void g_test_add_vtable(char const   *testpath , gsize data_size ,
9407                               gconstpointer test_data ,   9407                               gconstpointer test_data ,
9408                               void (*data_setup)(void) ,   9408                               void (*data_setup)(void) ,
9409                               void (*data_test)(void) ,   9409                               void (*data_test)(void) ,
9410                               void (*data_teardown)(void) ) ;   9410                               void (*data_teardown)(void) ) ;
9411 extern GTestConfig const   * const  g_test_config_vars ;   9411 extern GTestConfig const   * const  g_test_config_vars ;
9412 extern char const   *g_test_log_type_name(GTestLogType log_type ) ;   9412 extern char const   *g_test_log_type_name(GTestLogType log_type ) ;
9413 extern GTestLogBuffer *g_test_log_buffer_new(void) ;   9413 extern GTestLogBuffer *g_test_log_buffer_new(void) ;
9414 extern void g_test_log_buffer_free(GTestLogBuffer *tbuffer ) ;   9414 extern void g_test_log_buffer_free(GTestLogBuffer *tbuffer ) ;
9415 extern void g_test_log_buffer_push(GTestLogBuffer *tbuffer , guint n_bytes ,   9415 extern void g_test_log_buffer_push(GTestLogBuffer *tbuffer , guint n_bytes ,
9416                                    guint8 const   *bytes ) ;   9416                                    guint8 const   *bytes ) ;
9417 extern GTestLogMsg *g_test_log_buffer_pop(GTestLogBuffer *tbuffer ) ;   9417 extern GTestLogMsg *g_test_log_buffer_pop(GTestLogBuffer *tbuffer ) ;
9418 extern void g_test_log_msg_free(GTestLogMsg *tmsg ) ;   9418 extern void g_test_log_msg_free(GTestLogMsg *tmsg ) ;
9419 extern void g_test_log_set_fatal_handler(gboolean (*log_func)(gchar const   *log_domain ,   9419 extern void g_test_log_set_fatal_handler(gboolean (*log_func)(gchar const   *log_domain ,
9420                                                               GLogLevelFlags log_level ,   9420                                                               GLogLevelFlags log_level ,
9421                                                               gchar const   *message ,   9421                                                               gchar const   *message ,
9422                                                               gpointer user_data ) ,   9422                                                               gpointer user_data ) ,
9423                                          gpointer user_data ) ;   9423                                          gpointer user_data ) ;
9424 extern GThreadPool *g_thread_pool_new(void (*func)(gpointer data ,   9424 extern GThreadPool *g_thread_pool_new(void (*func)(gpointer data ,
9425                                                    gpointer user_data ) ,   9425                                                    gpointer user_data ) ,
9426                                       gpointer user_data , gint max_threads ,   9426                                       gpointer user_data , gint max_threads ,
9427                                       gboolean exclusive , GError **error ) ;   9427                                       gboolean exclusive , GError **error ) ;
9428 extern void g_thread_pool_push(GThreadPool *pool , gpointer data ,   9428 extern void g_thread_pool_push(GThreadPool *pool , gpointer data ,
9429                                GError **error ) ;   9429                                GError **error ) ;
9430 extern void g_thread_pool_set_max_threads(GThreadPool *pool , gint max_threads ,   9430 extern void g_thread_pool_set_max_threads(GThreadPool *pool , gint max_threads ,
9431                                           GError **error ) ;   9431                                           GError **error ) ;
9432 extern gint g_thread_pool_get_max_threads(GThreadPool *pool ) ;   9432 extern gint g_thread_pool_get_max_threads(GThreadPool *pool ) ;
9433 extern guint g_thread_pool_get_num_threads(GThreadPool *pool ) ;   9433 extern guint g_thread_pool_get_num_threads(GThreadPool *pool ) ;
9434 extern guint g_thread_pool_unprocessed(GThreadPool *pool ) ;   9434 extern guint g_thread_pool_unprocessed(GThreadPool *pool ) ;
9435 extern void g_thread_pool_free(GThreadPool *pool , gboolean immediate ,   9435 extern void g_thread_pool_free(GThreadPool *pool , gboolean immediate ,
9436                                gboolean wait_ ) ;   9436                                gboolean wait_ ) ;
9437 extern void g_thread_pool_set_max_unused_threads(gint max_threads ) ;   9437 extern void g_thread_pool_set_max_unused_threads(gint max_threads ) ;
9438 extern gint g_thread_pool_get_max_unused_threads(void) ;   9438 extern gint g_thread_pool_get_max_unused_threads(void) ;
9439 extern guint g_thread_pool_get_num_unused_threads(void) ;   9439 extern guint g_thread_pool_get_num_unused_threads(void) ;
9440 extern void g_thread_pool_stop_unused_threads(void) ;   9440 extern void g_thread_pool_stop_unused_threads(void) ;
9441 extern void g_thread_pool_set_sort_function(GThreadPool *pool ,   9441 extern void g_thread_pool_set_sort_function(GThreadPool *pool ,
9442                                             gint (*func)(gconstpointer a ,   9442                                             gint (*func)(gconstpointer a ,
9443                                                          gconstpointer b ,   9443                                                          gconstpointer b ,
9444                                                          gpointer user_data ) ,   9444                                                          gpointer user_data ) ,
9445                                             gpointer user_data ) ;   9445                                             gpointer user_data ) ;
9446 extern void g_thread_pool_set_max_idle_time(guint interval ) ;   9446 extern void g_thread_pool_set_max_idle_time(guint interval ) ;
9447 extern guint g_thread_pool_get_max_idle_time(void) ;   9447 extern guint g_thread_pool_get_max_idle_time(void) ;
9448 extern GTimer *g_timer_new(void) ;   9448 extern GTimer *g_timer_new(void) ;
9449 extern void g_timer_destroy(GTimer *timer ) ;   9449 extern void g_timer_destroy(GTimer *timer ) ;
9450 extern void g_timer_start(GTimer *timer ) ;   9450 extern void g_timer_start(GTimer *timer ) ;
9451 extern void g_timer_stop(GTimer *timer ) ;   9451 extern void g_timer_stop(GTimer *timer ) ;
9452 extern void g_timer_reset(GTimer *timer ) ;   9452 extern void g_timer_reset(GTimer *timer ) ;
9453 extern void g_timer_continue(GTimer *timer ) ;   9453 extern void g_timer_continue(GTimer *timer ) ;
9454 extern gdouble g_timer_elapsed(GTimer *timer , gulong *microseconds ) ;   9454 extern gdouble g_timer_elapsed(GTimer *timer , gulong *microseconds ) ;
9455 extern void g_usleep(gulong microseconds ) ;   9455 extern void g_usleep(gulong microseconds ) ;
9456 extern void g_time_val_add(GTimeVal *time_ , glong microseconds ) ;   9456 extern void g_time_val_add(GTimeVal *time_ , glong microseconds ) ;
9457 extern gboolean g_time_val_from_iso8601(gchar const   *iso_date ,   9457 extern gboolean g_time_val_from_iso8601(gchar const   *iso_date ,
9458                                         GTimeVal *time_ ) ;   9458                                         GTimeVal *time_ ) ;
9459 extern gchar *g_time_val_to_iso8601(GTimeVal *time_ )  __attribute__((__malloc__)) ;   9459 extern gchar *g_time_val_to_iso8601(GTimeVal *time_ )  __attribute__((__malloc__)) ;
9460 extern GTree *g_tree_new(gint (*key_compare_func)(gconstpointer a ,   9460 extern GTree *g_tree_new(gint (*key_compare_func)(gconstpointer a ,
9461                                                   gconstpointer b ) ) ;   9461                                                   gconstpointer b ) ) ;
9462 extern GTree *g_tree_new_with_data(gint (*key_compare_func)(gconstpointer a ,   9462 extern GTree *g_tree_new_with_data(gint (*key_compare_func)(gconstpointer a ,
9463                                                             gconstpointer b ,   9463                                                             gconstpointer b ,
9464                                                             gpointer user_data ) ,   9464                                                             gpointer user_data ) ,
9465                                    gpointer key_compare_data ) ;   9465                                    gpointer key_compare_data ) ;
9466 extern GTree *g_tree_new_full(gint (*key_compare_func)(gconstpointer a ,   9466 extern GTree *g_tree_new_full(gint (*key_compare_func)(gconstpointer a ,
9467                                                        gconstpointer b ,   9467                                                        gconstpointer b ,
9468                                                        gpointer user_data ) ,   9468                                                        gpointer user_data ) ,
9469                               gpointer key_compare_data ,   9469                               gpointer key_compare_data ,
9470                               void (*key_destroy_func)(gpointer data ) ,   9470                               void (*key_destroy_func)(gpointer data ) ,
9471                               void (*value_destroy_func)(gpointer data ) ) ;   9471                               void (*value_destroy_func)(gpointer data ) ) ;
9472 extern GTree *g_tree_ref(GTree *tree ) ;   9472 extern GTree *g_tree_ref(GTree *tree ) ;
9473 extern void g_tree_unref(GTree *tree ) ;   9473 extern void g_tree_unref(GTree *tree ) ;
9474 extern void g_tree_destroy(GTree *tree ) ;   9474 extern void g_tree_destroy(GTree *tree ) ;
9475 extern void g_tree_insert(GTree *tree , gpointer key , gpointer value ) ;   9475 extern void g_tree_insert(GTree *tree , gpointer key , gpointer value ) ;
9476 extern void g_tree_replace(GTree *tree , gpointer key , gpointer value ) ;   9476 extern void g_tree_replace(GTree *tree , gpointer key , gpointer value ) ;
9477 extern gboolean g_tree_remove(GTree *tree , gconstpointer key ) ;   9477 extern gboolean g_tree_remove(GTree *tree , gconstpointer key ) ;
9478 extern gboolean g_tree_steal(GTree *tree , gconstpointer key ) ;   9478 extern gboolean g_tree_steal(GTree *tree , gconstpointer key ) ;
9479 extern gpointer g_tree_lookup(GTree *tree , gconstpointer key ) ;   9479 extern gpointer g_tree_lookup(GTree *tree , gconstpointer key ) ;
9480 extern gboolean g_tree_lookup_extended(GTree *tree , gconstpointer lookup_key ,   9480 extern gboolean g_tree_lookup_extended(GTree *tree , gconstpointer lookup_key ,
9481                                        gpointer *orig_key , gpointer *value ) ;   9481                                        gpointer *orig_key , gpointer *value ) ;
9482 extern void g_tree_foreach(GTree *tree , gboolean (*func)(gpointer key ,   9482 extern void g_tree_foreach(GTree *tree , gboolean (*func)(gpointer key ,
9483                                                           gpointer value ,   9483                                                           gpointer value ,
9484                                                           gpointer data ) ,   9484                                                           gpointer data ) ,
9485                            gpointer user_data ) ;   9485                            gpointer user_data ) ;
9486 extern void g_tree_traverse(GTree *tree ,   9486 extern void g_tree_traverse(GTree *tree ,
9487                             gboolean (*traverse_func)(gpointer key ,   9487                             gboolean (*traverse_func)(gpointer key ,
9488                                                       gpointer value ,   9488                                                       gpointer value ,
9489                                                       gpointer data ) ,   9489                                                       gpointer data ) ,
9490                             GTraverseType traverse_type , gpointer user_data ) ;   9490                             GTraverseType traverse_type , gpointer user_data ) ;
9491 extern gpointer g_tree_search(GTree *tree ,   9491 extern gpointer g_tree_search(GTree *tree ,
9492                               gint (*search_func)(gconstpointer a ,   9492                               gint (*search_func)(gconstpointer a ,
9493                                                   gconstpointer b ) ,   9493                                                   gconstpointer b ) ,
9494                               gconstpointer user_data ) ;   9494                               gconstpointer user_data ) ;
9495 extern gint g_tree_height(GTree *tree ) ;   9495 extern gint g_tree_height(GTree *tree ) ;
9496 extern gint g_tree_nnodes(GTree *tree ) ;   9496 extern gint g_tree_nnodes(GTree *tree ) ;
9497 extern char *g_uri_unescape_string(char const   *escaped_string ,   9497 extern char *g_uri_unescape_string(char const   *escaped_string ,
9498                                    char const   *illegal_characters ) ;   9498                                    char const   *illegal_characters ) ;
9499 extern char *g_uri_unescape_segment(char const   *escaped_string ,   9499 extern char *g_uri_unescape_segment(char const   *escaped_string ,
9500                                     char const   *escaped_string_end ,   9500                                     char const   *escaped_string_end ,
9501                                     char const   *illegal_characters ) ;   9501                                     char const   *illegal_characters ) ;
9502 extern char *g_uri_parse_scheme(char const   *uri ) ;   9502 extern char *g_uri_parse_scheme(char const   *uri ) ;
9503 extern char *g_uri_escape_string(char const   *unescaped ,   9503 extern char *g_uri_escape_string(char const   *unescaped ,
9504                                  char const   *reserved_chars_allowed ,   9504                                  char const   *reserved_chars_allowed ,
9505                                  gboolean allow_utf8 ) ;   9505                                  gboolean allow_utf8 ) ;
9506 extern gboolean g_variant_type_string_is_valid(gchar const   *type_string ) ;   9506 extern gboolean g_variant_type_string_is_valid(gchar const   *type_string ) ;
9507 extern gboolean g_variant_type_string_scan(gchar const   *string ,   9507 extern gboolean g_variant_type_string_scan(gchar const   *string ,
9508                                            gchar const   *limit ,   9508                                            gchar const   *limit ,
9509                                            gchar const   **endptr ) ;   9509                                            gchar const   **endptr ) ;
9510 extern void g_variant_type_free(GVariantType *type ) ;   9510 extern void g_variant_type_free(GVariantType *type ) ;
9511 extern GVariantType *g_variant_type_copy(GVariantType const   *type ) ;   9511 extern GVariantType *g_variant_type_copy(GVariantType const   *type ) ;
9512 extern GVariantType *g_variant_type_new(gchar const   *type_string ) ;   9512 extern GVariantType *g_variant_type_new(gchar const   *type_string ) ;
9513 extern gsize g_variant_type_get_string_length(GVariantType const   *type ) ;   9513 extern gsize g_variant_type_get_string_length(GVariantType const   *type ) ;
9514 extern gchar const   *g_variant_type_peek_string(GVariantType const   *type ) ;   9514 extern gchar const   *g_variant_type_peek_string(GVariantType const   *type ) ;
9515 extern gchar *g_variant_type_dup_string(GVariantType const   *type ) ;   9515 extern gchar *g_variant_type_dup_string(GVariantType const   *type ) ;
9516 extern gboolean g_variant_type_is_definite(GVariantType const   *type ) ;   9516 extern gboolean g_variant_type_is_definite(GVariantType const   *type ) ;
9517 extern gboolean g_variant_type_is_container(GVariantType const   *type ) ;   9517 extern gboolean g_variant_type_is_container(GVariantType const   *type ) ;
9518 extern gboolean g_variant_type_is_basic(GVariantType const   *type ) ;   9518 extern gboolean g_variant_type_is_basic(GVariantType const   *type ) ;
9519 extern gboolean g_variant_type_is_maybe(GVariantType const   *type ) ;   9519 extern gboolean g_variant_type_is_maybe(GVariantType const   *type ) ;
9520 extern gboolean g_variant_type_is_array(GVariantType const   *type ) ;   9520 extern gboolean g_variant_type_is_array(GVariantType const   *type ) ;
9521 extern gboolean g_variant_type_is_tuple(GVariantType const   *type ) ;   9521 extern gboolean g_variant_type_is_tuple(GVariantType const   *type ) ;
9522 extern gboolean g_variant_type_is_dict_entry(GVariantType const   *type ) ;   9522 extern gboolean g_variant_type_is_dict_entry(GVariantType const   *type ) ;
9523 extern gboolean g_variant_type_is_variant(GVariantType const   *type ) ;   9523 extern gboolean g_variant_type_is_variant(GVariantType const   *type ) ;
9524 extern guint g_variant_type_hash(gconstpointer type ) ;   9524 extern guint g_variant_type_hash(gconstpointer type ) ;
9525 extern gboolean g_variant_type_equal(gconstpointer type1 , gconstpointer type2 ) ;   9525 extern gboolean g_variant_type_equal(gconstpointer type1 , gconstpointer type2 ) ;
9526 extern gboolean g_variant_type_is_subtype_of(GVariantType const   *type ,   9526 extern gboolean g_variant_type_is_subtype_of(GVariantType const   *type ,
9527                                              GVariantType const   *supertype ) ;   9527                                              GVariantType const   *supertype ) ;
9528 extern GVariantType const   *g_variant_type_element(GVariantType const   *type ) ;   9528 extern GVariantType const   *g_variant_type_element(GVariantType const   *type ) ;
9529 extern GVariantType const   *g_variant_type_first(GVariantType const   *type ) ;   9529 extern GVariantType const   *g_variant_type_first(GVariantType const   *type ) ;
9530 extern GVariantType const   *g_variant_type_next(GVariantType const   *type ) ;   9530 extern GVariantType const   *g_variant_type_next(GVariantType const   *type ) ;
9531 extern gsize g_variant_type_n_items(GVariantType const   *type ) ;   9531 extern gsize g_variant_type_n_items(GVariantType const   *type ) ;
9532 extern GVariantType const   *g_variant_type_key(GVariantType const   *type ) ;   9532 extern GVariantType const   *g_variant_type_key(GVariantType const   *type ) ;
9533 extern GVariantType const   *g_variant_type_value(GVariantType const   *type ) ;   9533 extern GVariantType const   *g_variant_type_value(GVariantType const   *type ) ;
9534 extern GVariantType *g_variant_type_new_array(GVariantType const   *element ) ;   9534 extern GVariantType *g_variant_type_new_array(GVariantType const   *element ) ;
9535 extern GVariantType *g_variant_type_new_maybe(GVariantType const   *element ) ;   9535 extern GVariantType *g_variant_type_new_maybe(GVariantType const   *element ) ;
9536 extern GVariantType *g_variant_type_new_tuple(GVariantType const   * const  *items ,   9536 extern GVariantType *g_variant_type_new_tuple(GVariantType const   * const  *items ,
9537                                               gint length ) ;   9537                                               gint length ) ;
9538 extern GVariantType *g_variant_type_new_dict_entry(GVariantType const   *key ,   9538 extern GVariantType *g_variant_type_new_dict_entry(GVariantType const   *key ,
9539                                                    GVariantType const   *value ) ;   9539                                                    GVariantType const   *value ) ;
9540 extern GVariantType const   *g_variant_type_checked_(gchar const   * ) ;   9540 extern GVariantType const   *g_variant_type_checked_(gchar const   * ) ;
9541 extern void g_variant_unref(GVariant *value ) ;   9541 extern void g_variant_unref(GVariant *value ) ;
9542 extern GVariant *g_variant_ref(GVariant *value ) ;   9542 extern GVariant *g_variant_ref(GVariant *value ) ;
9543 extern GVariant *g_variant_ref_sink(GVariant *value ) ;   9543 extern GVariant *g_variant_ref_sink(GVariant *value ) ;
9544 extern GVariantType const   *g_variant_get_type(GVariant *value ) ;   9544 extern GVariantType const   *g_variant_get_type(GVariant *value ) ;
9545 extern gchar const   *g_variant_get_type_string(GVariant *value ) ;   9545 extern gchar const   *g_variant_get_type_string(GVariant *value ) ;
9546 extern gboolean g_variant_is_of_type(GVariant *value ,   9546 extern gboolean g_variant_is_of_type(GVariant *value ,
9547                                      GVariantType const   *type ) ;   9547                                      GVariantType const   *type ) ;
9548 extern gboolean g_variant_is_container(GVariant *value ) ;   9548 extern gboolean g_variant_is_container(GVariant *value ) ;
9549 extern GVariantClass g_variant_classify(GVariant *value ) ;   9549 extern GVariantClass g_variant_classify(GVariant *value ) ;
9550 extern GVariant *g_variant_new_boolean(gboolean boolean ) ;   9550 extern GVariant *g_variant_new_boolean(gboolean boolean ) ;
9551 extern GVariant *g_variant_new_byte(guchar byte ) ;   9551 extern GVariant *g_variant_new_byte(guchar byte ) ;
9552 extern GVariant *g_variant_new_int16(gint16 int16 ) ;   9552 extern GVariant *g_variant_new_int16(gint16 int16 ) ;
9553 extern GVariant *g_variant_new_uint16(guint16 uint16 ) ;   9553 extern GVariant *g_variant_new_uint16(guint16 uint16 ) ;
9554 extern GVariant *g_variant_new_int32(gint32 int32 ) ;   9554 extern GVariant *g_variant_new_int32(gint32 int32 ) ;
9555 extern GVariant *g_variant_new_uint32(guint32 uint32 ) ;   9555 extern GVariant *g_variant_new_uint32(guint32 uint32 ) ;
9556 extern GVariant *g_variant_new_int64(gint64 int64 ) ;   9556 extern GVariant *g_variant_new_int64(gint64 int64 ) ;
9557 extern GVariant *g_variant_new_uint64(guint64 uint64 ) ;   9557 extern GVariant *g_variant_new_uint64(guint64 uint64 ) ;
9558 extern GVariant *g_variant_new_handle(gint32 handle ) ;   9558 extern GVariant *g_variant_new_handle(gint32 handle ) ;
9559 extern GVariant *g_variant_new_double(gdouble floating ) ;   9559 extern GVariant *g_variant_new_double(gdouble floating ) ;
9560 extern GVariant *g_variant_new_string(gchar const   *string ) ;   9560 extern GVariant *g_variant_new_string(gchar const   *string ) ;
9561 extern GVariant *g_variant_new_object_path(gchar const   *object_path ) ;   9561 extern GVariant *g_variant_new_object_path(gchar const   *object_path ) ;
9562 extern gboolean g_variant_is_object_path(gchar const   *string ) ;   9562 extern gboolean g_variant_is_object_path(gchar const   *string ) ;
9563 extern GVariant *g_variant_new_signature(gchar const   *signature ) ;   9563 extern GVariant *g_variant_new_signature(gchar const   *signature ) ;
9564 extern gboolean g_variant_is_signature(gchar const   *string ) ;   9564 extern gboolean g_variant_is_signature(gchar const   *string ) ;
9565 extern GVariant *g_variant_new_variant(GVariant *value ) ;   9565 extern GVariant *g_variant_new_variant(GVariant *value ) ;
9566 extern GVariant *g_variant_new_strv(gchar const   * const  *strv ,   9566 extern GVariant *g_variant_new_strv(gchar const   * const  *strv ,
9567                                     gssize length ) ;   9567                                     gssize length ) ;
9568 extern gboolean g_variant_get_boolean(GVariant *value ) ;   9568 extern gboolean g_variant_get_boolean(GVariant *value ) ;
9569 extern guchar g_variant_get_byte(GVariant *value ) ;   9569 extern guchar g_variant_get_byte(GVariant *value ) ;
9570 extern gint16 g_variant_get_int16(GVariant *value ) ;   9570 extern gint16 g_variant_get_int16(GVariant *value ) ;
9571 extern guint16 g_variant_get_uint16(GVariant *value ) ;   9571 extern guint16 g_variant_get_uint16(GVariant *value ) ;
9572 extern gint32 g_variant_get_int32(GVariant *value ) ;   9572 extern gint32 g_variant_get_int32(GVariant *value ) ;
9573 extern guint32 g_variant_get_uint32(GVariant *value ) ;   9573 extern guint32 g_variant_get_uint32(GVariant *value ) ;
9574 extern gint64 g_variant_get_int64(GVariant *value ) ;   9574 extern gint64 g_variant_get_int64(GVariant *value ) ;
9575 extern guint64 g_variant_get_uint64(GVariant *value ) ;   9575 extern guint64 g_variant_get_uint64(GVariant *value ) ;
9576 extern gint32 g_variant_get_handle(GVariant *value ) ;   9576 extern gint32 g_variant_get_handle(GVariant *value ) ;
9577 extern gdouble g_variant_get_double(GVariant *value ) ;   9577 extern gdouble g_variant_get_double(GVariant *value ) ;
9578 extern GVariant *g_variant_get_variant(GVariant *value ) ;   9578 extern GVariant *g_variant_get_variant(GVariant *value ) ;
9579 extern gchar const   *g_variant_get_string(GVariant *value , gsize *length ) ;   9579 extern gchar const   *g_variant_get_string(GVariant *value , gsize *length ) ;
9580 extern gchar *g_variant_dup_string(GVariant *value , gsize *length ) ;   9580 extern gchar *g_variant_dup_string(GVariant *value , gsize *length ) ;
9581 extern gchar const   **g_variant_get_strv(GVariant *value , gsize *length ) ;   9581 extern gchar const   **g_variant_get_strv(GVariant *value , gsize *length ) ;
9582 extern gchar **g_variant_dup_strv(GVariant *value , gsize *length ) ;   9582 extern gchar **g_variant_dup_strv(GVariant *value , gsize *length ) ;
9583 extern GVariant *g_variant_new_maybe(GVariantType const   *child_type ,   9583 extern GVariant *g_variant_new_maybe(GVariantType const   *child_type ,
9584                                      GVariant *child ) ;   9584                                      GVariant *child ) ;
9585 extern GVariant *g_variant_new_array(GVariantType const   *child_type ,   9585 extern GVariant *g_variant_new_array(GVariantType const   *child_type ,
9586                                      GVariant * const  *children ,   9586                                      GVariant * const  *children ,
9587                                      gsize n_children ) ;   9587                                      gsize n_children ) ;
9588 extern GVariant *g_variant_new_tuple(GVariant * const  *children ,   9588 extern GVariant *g_variant_new_tuple(GVariant * const  *children ,
9589                                      gsize n_children ) ;   9589                                      gsize n_children ) ;
9590 extern GVariant *g_variant_new_dict_entry(GVariant *key , GVariant *value ) ;   9590 extern GVariant *g_variant_new_dict_entry(GVariant *key , GVariant *value ) ;
9591 extern GVariant *g_variant_get_maybe(GVariant *value ) ;   9591 extern GVariant *g_variant_get_maybe(GVariant *value ) ;
9592 extern gsize g_variant_n_children(GVariant *value ) ;   9592 extern gsize g_variant_n_children(GVariant *value ) ;
9593 extern void g_variant_get_child(GVariant *value , gsize index_ ,   9593 extern void g_variant_get_child(GVariant *value , gsize index_ ,
9594                                 gchar const   *format_string  , ...) ;   9594                                 gchar const   *format_string  , ...) ;
9595 extern GVariant *g_variant_get_child_value(GVariant *value , gsize index_ ) ;   9595 extern GVariant *g_variant_get_child_value(GVariant *value , gsize index_ ) ;
9596 extern gconstpointer g_variant_get_fixed_array(GVariant *value ,   9596 extern gconstpointer g_variant_get_fixed_array(GVariant *value ,
9597                                                gsize *n_elements ,   9597                                                gsize *n_elements ,
9598                                                gsize element_size ) ;   9598                                                gsize element_size ) ;
9599 extern gsize g_variant_get_size(GVariant *value ) ;   9599 extern gsize g_variant_get_size(GVariant *value ) ;
9600 extern gconstpointer g_variant_get_data(GVariant *value ) ;   9600 extern gconstpointer g_variant_get_data(GVariant *value ) ;
9601 extern void g_variant_store(GVariant *value , gpointer data ) ;   9601 extern void g_variant_store(GVariant *value , gpointer data ) ;
9602 extern gchar *g_variant_print(GVariant *value , gboolean type_annotate ) ;   9602 extern gchar *g_variant_print(GVariant *value , gboolean type_annotate ) ;
9603 extern GString *g_variant_print_string(GVariant *value , GString *string ,   9603 extern GString *g_variant_print_string(GVariant *value , GString *string ,
9604                                        gboolean type_annotate ) ;   9604                                        gboolean type_annotate ) ;
9605 extern guint g_variant_hash(gconstpointer value ) ;   9605 extern guint g_variant_hash(gconstpointer value ) ;
9606 extern gboolean g_variant_equal(gconstpointer one , gconstpointer two ) ;   9606 extern gboolean g_variant_equal(gconstpointer one , gconstpointer two ) ;
9607 extern GVariant *g_variant_get_normal_form(GVariant *value ) ;   9607 extern GVariant *g_variant_get_normal_form(GVariant *value ) ;
9608 extern gboolean g_variant_is_normal_form(GVariant *value ) ;   9608 extern gboolean g_variant_is_normal_form(GVariant *value ) ;
9609 extern GVariant *g_variant_byteswap(GVariant *value ) ;   9609 extern GVariant *g_variant_byteswap(GVariant *value ) ;
9610 extern GVariant *g_variant_new_from_data(GVariantType const   *type ,   9610 extern GVariant *g_variant_new_from_data(GVariantType const   *type ,
9611                                          gconstpointer data , gsize size ,   9611                                          gconstpointer data , gsize size ,
9612                                          gboolean trusted ,   9612                                          gboolean trusted ,
9613                                          void (*notify)(gpointer data ) ,   9613                                          void (*notify)(gpointer data ) ,
9614                                          gpointer user_data ) ;   9614                                          gpointer user_data ) ;
9615 extern GVariantIter *g_variant_iter_new(GVariant *value ) ;   9615 extern GVariantIter *g_variant_iter_new(GVariant *value ) ;
9616 extern gsize g_variant_iter_init(GVariantIter *iter , GVariant *value ) ;   9616 extern gsize g_variant_iter_init(GVariantIter *iter , GVariant *value ) ;
9617 extern GVariantIter *g_variant_iter_copy(GVariantIter *iter ) ;   9617 extern GVariantIter *g_variant_iter_copy(GVariantIter *iter ) ;
9618 extern gsize g_variant_iter_n_children(GVariantIter *iter ) ;   9618 extern gsize g_variant_iter_n_children(GVariantIter *iter ) ;
9619 extern void g_variant_iter_free(GVariantIter *iter ) ;   9619 extern void g_variant_iter_free(GVariantIter *iter ) ;
9620 extern GVariant *g_variant_iter_next_value(GVariantIter *iter ) ;   9620 extern GVariant *g_variant_iter_next_value(GVariantIter *iter ) ;
9621 extern gboolean g_variant_iter_next(GVariantIter *iter ,   9621 extern gboolean g_variant_iter_next(GVariantIter *iter ,
9622                                     gchar const   *format_string  , ...) ;   9622                                     gchar const   *format_string  , ...) ;
9623 extern gboolean g_variant_iter_loop(GVariantIter *iter ,   9623 extern gboolean g_variant_iter_loop(GVariantIter *iter ,
9624                                     gchar const   *format_string  , ...) ;   9624                                     gchar const   *format_string  , ...) ;
9625 extern GQuark g_variant_parser_get_error_quark(void) ;   9625 extern GQuark g_variant_parser_get_error_quark(void) ;
9626 extern GVariantBuilder *g_variant_builder_new(GVariantType const   *type ) ;   9626 extern GVariantBuilder *g_variant_builder_new(GVariantType const   *type ) ;
9627 extern void g_variant_builder_unref(GVariantBuilder *builder ) ;   9627 extern void g_variant_builder_unref(GVariantBuilder *builder ) ;
9628 extern GVariantBuilder *g_variant_builder_ref(GVariantBuilder *builder ) ;   9628 extern GVariantBuilder *g_variant_builder_ref(GVariantBuilder *builder ) ;
9629 extern void g_variant_builder_init(GVariantBuilder *builder ,   9629 extern void g_variant_builder_init(GVariantBuilder *builder ,
9630                                    GVariantType const   *type ) ;   9630                                    GVariantType const   *type ) ;
9631 extern GVariant *g_variant_builder_end(GVariantBuilder *builder ) ;   9631 extern GVariant *g_variant_builder_end(GVariantBuilder *builder ) ;
9632 extern void g_variant_builder_clear(GVariantBuilder *builder ) ;   9632 extern void g_variant_builder_clear(GVariantBuilder *builder ) ;
9633 extern void g_variant_builder_open(GVariantBuilder *builder ,   9633 extern void g_variant_builder_open(GVariantBuilder *builder ,
9634                                    GVariantType const   *type ) ;   9634                                    GVariantType const   *type ) ;
9635 extern void g_variant_builder_close(GVariantBuilder *builder ) ;   9635 extern void g_variant_builder_close(GVariantBuilder *builder ) ;
9636 extern void g_variant_builder_add_value(GVariantBuilder *builder ,   9636 extern void g_variant_builder_add_value(GVariantBuilder *builder ,
9637                                         GVariant *value ) ;   9637                                         GVariant *value ) ;
9638 extern void g_variant_builder_add(GVariantBuilder *builder ,   9638 extern void g_variant_builder_add(GVariantBuilder *builder ,
9639                                   gchar const   *format_string  , ...) ;   9639                                   gchar const   *format_string  , ...) ;
9640 extern GVariant *g_variant_new(gchar const   *format_string  , ...) ;   9640 extern GVariant *g_variant_new(gchar const   *format_string  , ...) ;
9641 extern void g_variant_get(GVariant *value , gchar const   *format_string  , ...) ;   9641 extern void g_variant_get(GVariant *value , gchar const   *format_string  , ...) ;
9642 extern GVariant *g_variant_new_va(gchar const   *format_string ,   9642 extern GVariant *g_variant_new_va(gchar const   *format_string ,
9643                                   gchar const   **endptr , va_list *app ) ;   9643                                   gchar const   **endptr , va_list *app ) ;
9644 extern void g_variant_get_va(GVariant *value , gchar const   *format_string ,   9644 extern void g_variant_get_va(GVariant *value , gchar const   *format_string ,
9645                              gchar const   **endptr , va_list *app ) ;   9645                              gchar const   **endptr , va_list *app ) ;
9646 extern GVariant *g_variant_parse(GVariantType const   *type ,   9646 extern GVariant *g_variant_parse(GVariantType const   *type ,
9647                                  gchar const   *text , gchar const   *limit ,   9647                                  gchar const   *text , gchar const   *limit ,
9648                                  gchar const   **endptr , GError **error ) ;   9648                                  gchar const   **endptr , GError **error ) ;
9649 extern GVariant *g_variant_new_parsed(gchar const   *format  , ...) ;   9649 extern GVariant *g_variant_new_parsed(gchar const   *format  , ...) ;
9650 extern GVariant *g_variant_new_parsed_va(gchar const   *format , va_list *app ) ;   9650 extern GVariant *g_variant_new_parsed_va(gchar const   *format , va_list *app ) ;
9651 extern  __attribute__((__nothrow__)) ssize_t sendfile(int __out_fd ,   9651 extern  __attribute__((__nothrow__)) ssize_t sendfile(int __out_fd ,
9652                                                       int __in_fd ,   9652                                                       int __in_fd ,
9653                                                       __off64_t *__offset ,   9653                                                       __off64_t *__offset ,
9654                                                       size_t __count )  __asm__("sendfile64")  ;   9654                                                       size_t __count )  __asm__("sendfile64")  ;
9655 extern ssize_t readv(int __fd , struct iovec  const  *__iovec , int __count ) ;   9655 extern ssize_t readv(int __fd , struct iovec  const  *__iovec , int __count ) ;
9656 extern ssize_t writev(int __fd , struct iovec  const  *__iovec , int __count ) ;   9656 extern ssize_t writev(int __fd , struct iovec  const  *__iovec , int __count ) ;
9657 extern ssize_t preadv(int __fd , struct iovec  const  *__iovec , int __count ,   9657 extern ssize_t preadv(int __fd , struct iovec  const  *__iovec , int __count ,
9658                       __off64_t __offset )  __asm__("preadv64")  ;   9658                       __off64_t __offset )  __asm__("preadv64")  ;
9659 extern ssize_t pwritev(int __fd , struct iovec  const  *__iovec , int __count ,   9659 extern ssize_t pwritev(int __fd , struct iovec  const  *__iovec , int __count ,
9660                        __off64_t __offset )  __asm__("pwritev64")  ;   9660                        __off64_t __offset )  __asm__("pwritev64")  ;
9661 extern  __attribute__((__nothrow__)) void *mmap(void *__addr , size_t __len ,   9661 extern  __attribute__((__nothrow__)) void *mmap(void *__addr , size_t __len ,
9662                                                 int __prot , int __flags ,   9662                                                 int __prot , int __flags ,
9663                                                 int __fd , __off64_t __offset )  __asm__("mmap64")  ;   9663                                                 int __fd , __off64_t __offset )  __asm__("mmap64")  ;
9664 extern  __attribute__((__nothrow__)) int munmap(void *__addr , size_t __len ) ;   9664 extern  __attribute__((__nothrow__)) int munmap(void *__addr , size_t __len ) ;
9665 extern  __attribute__((__nothrow__)) int mprotect(void *__addr , size_t __len ,   9665 extern  __attribute__((__nothrow__)) int mprotect(void *__addr , size_t __len ,
9666                                                   int __prot ) ;   9666                                                   int __prot ) ;
9667 extern int msync(void *__addr , size_t __len , int __flags ) ;   9667 extern int msync(void *__addr , size_t __len , int __flags ) ;
9668 extern  __attribute__((__nothrow__)) int madvise(void *__addr , size_t __len ,   9668 extern  __attribute__((__nothrow__)) int madvise(void *__addr , size_t __len ,
9669                                                  int __advice ) ;   9669                                                  int __advice ) ;
9670 extern  __attribute__((__nothrow__)) int posix_madvise(void *__addr ,   9670 extern  __attribute__((__nothrow__)) int posix_madvise(void *__addr ,
9671                                                        size_t __len ,   9671                                                        size_t __len ,
9672                                                        int __advice ) ;   9672                                                        int __advice ) ;
9673 extern  __attribute__((__nothrow__)) int mlock(void const   *__addr ,   9673 extern  __attribute__((__nothrow__)) int mlock(void const   *__addr ,
9674                                                size_t __len ) ;   9674                                                size_t __len ) ;
9675 extern  __attribute__((__nothrow__)) int munlock(void const   *__addr ,   9675 extern  __attribute__((__nothrow__)) int munlock(void const   *__addr ,
9676                                                  size_t __len ) ;   9676                                                  size_t __len ) ;
9677 extern  __attribute__((__nothrow__)) int mlockall(int __flags ) ;   9677 extern  __attribute__((__nothrow__)) int mlockall(int __flags ) ;
9678 extern  __attribute__((__nothrow__)) int munlockall(void) ;   9678 extern  __attribute__((__nothrow__)) int munlockall(void) ;
9679 extern  __attribute__((__nothrow__)) int mincore(void *__start , size_t __len ,   9679 extern  __attribute__((__nothrow__)) int mincore(void *__start , size_t __len ,
9680                                                  unsigned char *__vec ) ;   9680                                                  unsigned char *__vec ) ;
9681 extern int shm_open(char const   *__name , int __oflag , mode_t __mode ) ;   9681 extern int shm_open(char const   *__name , int __oflag , mode_t __mode ) ;
9682 extern int shm_unlink(char const   *__name ) ;   9682 extern int shm_unlink(char const   *__name ) ;
9683 extern  __attribute__((__nothrow__)) intmax_t imaxabs(intmax_t __n )  __attribute__((__const__)) ;   9683 extern  __attribute__((__nothrow__)) intmax_t imaxabs(intmax_t __n )  __attribute__((__const__)) ;
9684 extern  __attribute__((__nothrow__)) imaxdiv_t imaxdiv(intmax_t __numer ,   9684 extern  __attribute__((__nothrow__)) imaxdiv_t imaxdiv(intmax_t __numer ,
9685                                                        intmax_t __denom )  __attribute__((__const__)) ;   9685                                                        intmax_t __denom )  __attribute__((__const__)) ;
9686 __inline extern  __attribute__((__nothrow__)) intmax_t __attribute__((__gnu_inline__))  strtoimax(char const   * __restrict  nptr ,   9686 __inline extern  __attribute__((__nothrow__)) intmax_t __attribute__((__gnu_inline__))  strtoimax(char const   * __restrict  nptr ,
9687                                                                                                   char ** __restrict  endptr ,   9687                                                                                                   char ** __restrict  endptr ,
9688                                                                                                   int base ) ;   9688                                                                                                   int base ) ;
9689 __inline extern  __attribute__((__nothrow__)) uintmax_t __attribute__((__gnu_inline__))  strtoumax(char const   * __restrict  nptr ,   9689 __inline extern  __attribute__((__nothrow__)) uintmax_t __attribute__((__gnu_inline__))  strtoumax(char const   * __restrict  nptr ,
9690                                                                                                    char ** __restrict  endptr ,   9690                                                                                                    char ** __restrict  endptr ,
9691                                                                                                    int base ) ;   9691                                                                                                    int base ) ;
9692 __inline extern  __attribute__((__nothrow__)) intmax_t __attribute__((__gnu_inline__))  wcstoimax(__gwchar_t const   * __restrict  nptr ,   9692 __inline extern  __attribute__((__nothrow__)) intmax_t __attribute__((__gnu_inline__))  wcstoimax(__gwchar_t const   * __restrict  nptr ,
9693                                                                                                   __gwchar_t ** __restrict  endptr ,   9693                                                                                                   __gwchar_t ** __restrict  endptr ,
9694                                                                                                   int base ) ;   9694                                                                                                   int base ) ;
9695 __inline extern  __attribute__((__nothrow__)) uintmax_t __attribute__((__gnu_inline__))  wcstoumax(__gwchar_t const   * __restrict  nptr ,   9695 __inline extern  __attribute__((__nothrow__)) uintmax_t __attribute__((__gnu_inline__))  wcstoumax(__gwchar_t const   * __restrict  nptr ,
9696                                                                                                    __gwchar_t ** __restrict  endptr ,   9696                                                                                                    __gwchar_t ** __restrict  endptr ,
9697                                                                                                    int base ) ;   9697                                                                                                    int base ) ;
9698 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) __strtoll_internal)(char const   * __restrict  __nptr ,   9698 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) __strtoll_internal)(char const   * __restrict  __nptr ,
9699                                                                                                      char ** __restrict  __endptr ,   9699                                                                                                      char ** __restrict  __endptr ,
9700                                                                                                      int __base ,   9700                                                                                                      int __base ,
9701                                                                                                      int __group ) ;   9701                                                                                                      int __group ) ;
9702 __inline extern  __attribute__((__nothrow__)) intmax_t __attribute__((__gnu_inline__))  strtoimax(char const   * __restrict  nptr ,   9702 __inline extern  __attribute__((__nothrow__)) intmax_t __attribute__((__gnu_inline__))  strtoimax(char const   * __restrict  nptr ,
9703                                                                                                   char ** __restrict  endptr ,   9703                                                                                                   char ** __restrict  endptr ,
9704                                                                                                   int base ) ;   9704                                                                                                   int base ) ;
9705 __inline extern intmax_t __attribute__((__gnu_inline__))  strtoimax(char const   * __restrict  nptr ,   9705 __inline extern intmax_t __attribute__((__gnu_inline__))  strtoimax(char const   * __restrict  nptr ,
9706                                                                     char ** __restrict  endptr ,   9706                                                                     char ** __restrict  endptr ,
9707                                                                     int base )   9707                                                                     int base )
9708 {   9708 {
9709   long long tmp ;   9709   long long tmp ;
9710     9710  
9711   {   9711   {
9712   tmp = __strtoll_internal(nptr, endptr, base, 0);   9712   tmp = __strtoll_internal(nptr, endptr, base, 0);
9713   return ((intmax_t __attribute__((__gnu_inline__))  )tmp);   9713   return ((intmax_t __attribute__((__gnu_inline__))  )tmp);
9714 }   9714 }
9715 }   9715 }
9716 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) __strtoull_internal)(char const   * __restrict  __nptr ,   9716 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) __strtoull_internal)(char const   * __restrict  __nptr ,
9717                                                                                                                char ** __restrict  __endptr ,   9717                                                                                                                char ** __restrict  __endptr ,
9718                                                                                                                int __base ,   9718                                                                                                                int __base ,
9719                                                                                                                int __group ) ;   9719                                                                                                                int __group ) ;
9720 __inline extern  __attribute__((__nothrow__)) uintmax_t __attribute__((__gnu_inline__))  strtoumax(char const   * __restrict  nptr ,   9720 __inline extern  __attribute__((__nothrow__)) uintmax_t __attribute__((__gnu_inline__))  strtoumax(char const   * __restrict  nptr ,
9721                                                                                                    char ** __restrict  endptr ,   9721                                                                                                    char ** __restrict  endptr ,
9722                                                                                                    int base ) ;   9722                                                                                                    int base ) ;
9723 __inline extern uintmax_t __attribute__((__gnu_inline__))  strtoumax(char const   * __restrict  nptr ,   9723 __inline extern uintmax_t __attribute__((__gnu_inline__))  strtoumax(char const   * __restrict  nptr ,
9724                                                                      char ** __restrict  endptr ,   9724                                                                      char ** __restrict  endptr ,
9725                                                                      int base )   9725                                                                      int base )
9726 {   9726 {
9727   unsigned long long tmp ;   9727   unsigned long long tmp ;
9728     9728  
9729   {   9729   {
9730   tmp = __strtoull_internal(nptr, endptr, base, 0);   9730   tmp = __strtoull_internal(nptr, endptr, base, 0);
9731   return ((uintmax_t __attribute__((__gnu_inline__))  )tmp);   9731   return ((uintmax_t __attribute__((__gnu_inline__))  )tmp);
9732 }   9732 }
9733 }   9733 }
9734 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) __wcstoll_internal)(__gwchar_t const   * __restrict  __nptr ,   9734 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) __wcstoll_internal)(__gwchar_t const   * __restrict  __nptr ,
9735                                                                                                      __gwchar_t ** __restrict  __endptr ,   9735                                                                                                      __gwchar_t ** __restrict  __endptr ,
9736                                                                                                      int __base ,   9736                                                                                                      int __base ,
9737                                                                                                      int __group ) ;   9737                                                                                                      int __group ) ;
9738 __inline extern  __attribute__((__nothrow__)) intmax_t __attribute__((__gnu_inline__))  wcstoimax(__gwchar_t const   * __restrict  nptr ,   9738 __inline extern  __attribute__((__nothrow__)) intmax_t __attribute__((__gnu_inline__))  wcstoimax(__gwchar_t const   * __restrict  nptr ,
9739                                                                                                   __gwchar_t ** __restrict  endptr ,   9739                                                                                                   __gwchar_t ** __restrict  endptr ,
9740                                                                                                   int base ) ;   9740                                                                                                   int base ) ;
9741 __inline extern intmax_t __attribute__((__gnu_inline__))  wcstoimax(__gwchar_t const   * __restrict  nptr ,   9741 __inline extern intmax_t __attribute__((__gnu_inline__))  wcstoimax(__gwchar_t const   * __restrict  nptr ,
9742                                                                     __gwchar_t ** __restrict  endptr ,   9742                                                                     __gwchar_t ** __restrict  endptr ,
9743                                                                     int base )   9743                                                                     int base )
9744 {   9744 {
9745   long long tmp ;   9745   long long tmp ;
9746     9746  
9747   {   9747   {
9748   tmp = __wcstoll_internal(nptr, endptr, base, 0);   9748   tmp = __wcstoll_internal(nptr, endptr, base, 0);
9749   return ((intmax_t __attribute__((__gnu_inline__))  )tmp);   9749   return ((intmax_t __attribute__((__gnu_inline__))  )tmp);
9750 }   9750 }
9751 }   9751 }
9752 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) __wcstoull_internal)(__gwchar_t const   * __restrict  __nptr ,   9752 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) __wcstoull_internal)(__gwchar_t const   * __restrict  __nptr ,
9753                                                                                                                __gwchar_t ** __restrict  __endptr ,   9753                                                                                                                __gwchar_t ** __restrict  __endptr ,
9754                                                                                                                int __base ,   9754                                                                                                                int __base ,
9755                                                                                                                int __group ) ;   9755                                                                                                                int __group ) ;
9756 __inline extern  __attribute__((__nothrow__)) uintmax_t __attribute__((__gnu_inline__))  wcstoumax(__gwchar_t const   * __restrict  nptr ,   9756 __inline extern  __attribute__((__nothrow__)) uintmax_t __attribute__((__gnu_inline__))  wcstoumax(__gwchar_t const   * __restrict  nptr ,
9757                                                                                                    __gwchar_t ** __restrict  endptr ,   9757                                                                                                    __gwchar_t ** __restrict  endptr ,
9758                                                                                                    int base ) ;   9758                                                                                                    int base ) ;
9759 __inline extern uintmax_t __attribute__((__gnu_inline__))  wcstoumax(__gwchar_t const   * __restrict  nptr ,   9759 __inline extern uintmax_t __attribute__((__gnu_inline__))  wcstoumax(__gwchar_t const   * __restrict  nptr ,
9760                                                                      __gwchar_t ** __restrict  endptr ,   9760                                                                      __gwchar_t ** __restrict  endptr ,
9761                                                                      int base )   9761                                                                      int base )
9762 {   9762 {
9763   unsigned long long tmp ;   9763   unsigned long long tmp ;
9764     9764  
9765   {   9765   {
9766   tmp = __wcstoull_internal(nptr, endptr, base, 0);   9766   tmp = __wcstoull_internal(nptr, endptr, base, 0);
9767   return ((uintmax_t __attribute__((__gnu_inline__))  )tmp);   9767   return ((uintmax_t __attribute__((__gnu_inline__))  )tmp);
9768 }   9768 }
9769 }   9769 }
9770 extern buffer_ptr *buffer_ptr_init(void (*freer)(void *p ) ) ;   9770 extern buffer_ptr *buffer_ptr_init(void (*freer)(void *p ) ) ;
9771 extern void buffer_ptr_free(buffer_ptr *b ) ;   9771 extern void buffer_ptr_free(buffer_ptr *b ) ;
9772 extern void buffer_ptr_clear(buffer_ptr *b ) ;   9772 extern void buffer_ptr_clear(buffer_ptr *b ) ;
9773 extern void buffer_ptr_append(buffer_ptr *b , void *item ) ;   9773 extern void buffer_ptr_append(buffer_ptr *b , void *item ) ;
9774 extern void *buffer_ptr_pop(buffer_ptr *b ) ;   9774 extern void *buffer_ptr_pop(buffer_ptr *b ) ;
9775 extern void *buffer_ptr_top(buffer_ptr *b ) ;   9775 extern void *buffer_ptr_top(buffer_ptr *b ) ;
9776 extern buffer_array *buffer_array_init(void) ;   9776 extern buffer_array *buffer_array_init(void) ;
9777 extern void buffer_array_free(buffer_array *b ) ;   9777 extern void buffer_array_free(buffer_array *b ) ;
9778 extern void buffer_array_reset(buffer_array *b ) ;   9778 extern void buffer_array_reset(buffer_array *b ) ;
9779 extern buffer *buffer_array_append_get_buffer(buffer_array *b ) ;   9779 extern buffer *buffer_array_append_get_buffer(buffer_array *b ) ;
9780 extern buffer *buffer_init(void) ;   9780 extern buffer *buffer_init(void) ;
9781 extern buffer *buffer_init_buffer(buffer *b ) ;   9781 extern buffer *buffer_init_buffer(buffer *b ) ;
9782 extern buffer *buffer_init_string(char const   *str ) ;   9782 extern buffer *buffer_init_string(char const   *str ) ;
9783 extern void buffer_free(buffer *b ) ;   9783 extern void buffer_free(buffer *b ) ;
9784 extern void buffer_reset(buffer *b ) ;   9784 extern void buffer_reset(buffer *b ) ;
9785 extern int buffer_prepare_copy(buffer *b , size_t size ) ;   9785 extern int buffer_prepare_copy(buffer *b , size_t size ) ;
9786 extern int buffer_prepare_append(buffer *b , size_t size ) ;   9786 extern int buffer_prepare_append(buffer *b , size_t size ) ;
9787 extern int buffer_copy_string(buffer *b , char const   *s ) ;   9787 extern int buffer_copy_string(buffer *b , char const   *s ) ;
9788 extern int buffer_copy_string_len(buffer *b , char const   *s , size_t s_len ) ;   9788 extern int buffer_copy_string_len(buffer *b , char const   *s , size_t s_len ) ;
9789 extern int buffer_copy_string_buffer(buffer *b , buffer const   *src ) ;   9789 extern int buffer_copy_string_buffer(buffer *b , buffer const   *src ) ;
9790 extern int buffer_copy_string_hex(buffer *b , char const   *in , size_t in_len ) ;   9790 extern int buffer_copy_string_hex(buffer *b , char const   *in , size_t in_len ) ;
9791 extern int buffer_copy_long(buffer *b , long val ) ;   9791 extern int buffer_copy_long(buffer *b , long val ) ;
9792 extern int buffer_copy_memory(buffer *b , char const   *s , size_t s_len ) ;   9792 extern int buffer_copy_memory(buffer *b , char const   *s , size_t s_len ) ;
9793 extern int buffer_append_string(buffer *b , char const   *s ) ;   9793 extern int buffer_append_string(buffer *b , char const   *s ) ;
9794 extern int buffer_append_string_len(buffer *b , char const   *s , size_t s_len ) ;   9794 extern int buffer_append_string_len(buffer *b , char const   *s , size_t s_len ) ;
9795 extern int buffer_append_string_buffer(buffer *b , buffer const   *src ) ;   9795 extern int buffer_append_string_buffer(buffer *b , buffer const   *src ) ;
9796 extern int buffer_append_string_lfill(buffer *b , char const   *s ,   9796 extern int buffer_append_string_lfill(buffer *b , char const   *s ,
9797                                       size_t maxlen ) ;   9797                                       size_t maxlen ) ;
9798 extern int buffer_append_string_rfill(buffer *b , char const   *s ,   9798 extern int buffer_append_string_rfill(buffer *b , char const   *s ,
9799                                       size_t maxlen ) ;   9799                                       size_t maxlen ) ;
9800 extern int buffer_append_long_hex(buffer *b , unsigned long len ) ;   9800 extern int buffer_append_long_hex(buffer *b , unsigned long len ) ;
9801 extern int buffer_append_long(buffer *b , long val ) ;   9801 extern int buffer_append_long(buffer *b , long val ) ;
9802 extern int buffer_copy_off_t(buffer *b , off_t val ) ;   9802 extern int buffer_copy_off_t(buffer *b , off_t val ) ;
9803 extern int buffer_append_off_t(buffer *b , off_t val ) ;   9803 extern int buffer_append_off_t(buffer *b , off_t val ) ;
9804 extern int buffer_append_memory(buffer *b , char const   *s , size_t s_len ) ;   9804 extern int buffer_append_memory(buffer *b , char const   *s , size_t s_len ) ;
9805 extern char *buffer_search_string_len(buffer *b , char const   *needle ,   9805 extern char *buffer_search_string_len(buffer *b , char const   *needle ,
9806                                       size_t len ) ;   9806                                       size_t len ) ;
9807 extern int buffer_is_empty(buffer *b ) ;   9807 extern int buffer_is_empty(buffer *b ) ;
9808 extern int buffer_is_equal(buffer *a , buffer *b ) ;   9808 extern int buffer_is_equal(buffer *a , buffer *b ) ;
9809 extern int buffer_is_equal_right_len(buffer *a , buffer *b , size_t len ) ;   9809 extern int buffer_is_equal_right_len(buffer *a , buffer *b , size_t len ) ;
9810 extern int buffer_is_equal_string(buffer *a , char const   *s , size_t b_len ) ;   9810 extern int buffer_is_equal_string(buffer *a , char const   *s , size_t b_len ) ;
9811 extern int buffer_caseless_compare(char const   *a , size_t a_len ,   9811 extern int buffer_caseless_compare(char const   *a , size_t a_len ,
9812                                    char const   *b , size_t b_len ) ;   9812                                    char const   *b , size_t b_len ) ;
9813 extern int buffer_append_string_encoded(buffer *b , char const   *s ,   9813 extern int buffer_append_string_encoded(buffer *b , char const   *s ,
9814                                         size_t s_len ,   9814                                         size_t s_len ,
9815                                         buffer_encoding_t encoding ) ;   9815                                         buffer_encoding_t encoding ) ;
9816 extern int buffer_urldecode_path(buffer *url ) ;   9816 extern int buffer_urldecode_path(buffer *url ) ;
9817 extern int buffer_urldecode_query(buffer *url ) ;   9817 extern int buffer_urldecode_query(buffer *url ) ;
9818 extern int buffer_path_simplify(buffer *dest , buffer *src ) ;   9818 extern int buffer_path_simplify(buffer *dest , buffer *src ) ;
9819 extern int buffer_to_lower(buffer *b ) ;   9819 extern int buffer_to_lower(buffer *b ) ;
9820 extern int buffer_to_upper(buffer *b ) ;   9820 extern int buffer_to_upper(buffer *b ) ;
9821 extern int ltostr(char *buf , long val ) ;   9821 extern int ltostr(char *buf , long val ) ;
9822 extern char hex2int(unsigned char c ) ;   9822 extern char hex2int(unsigned char c ) ;
9823 extern char int2hex(char i ) ;   9823 extern char int2hex(char i ) ;
9824 extern int light_isdigit(int c ) ;   9824 extern int light_isdigit(int c ) ;
9825 extern int light_isxdigit(int c ) ;   9825 extern int light_isxdigit(int c ) ;
9826 extern int light_isalpha(int c ) ;   9826 extern int light_isalpha(int c ) ;
9827 extern int light_isalnum(int c ) ;   9827 extern int light_isalnum(int c ) ;
9828 extern int buffer_isdigit(buffer *b ) ;   9828 extern int buffer_isdigit(buffer *b ) ;
9829 extern int buffer_isxdigit(buffer *b ) ;   9829 extern int buffer_isxdigit(buffer *b ) ;
9830 extern int buffer_isalpha(buffer *b ) ;   9830 extern int buffer_isalpha(buffer *b ) ;
9831 extern int buffer_isalnum(buffer *b ) ;   9831 extern int buffer_isalnum(buffer *b ) ;
9832 extern buffer_pool *buffer_pool_init() ;   9832 extern buffer_pool *buffer_pool_init() ;
9833 extern void buffer_pool_free(buffer_pool * ) ;   9833 extern void buffer_pool_free(buffer_pool * ) ;
9834 extern buffer *buffer_pool_get(buffer_pool *bp ) ;   9834 extern buffer *buffer_pool_get(buffer_pool *bp ) ;
9835 extern void buffer_pool_append(buffer_pool *bp , buffer * ) ;   9835 extern void buffer_pool_append(buffer_pool *bp , buffer * ) ;
9836 extern void *(*pcre_malloc)(size_t  ) ;   9836 extern void *(*pcre_malloc)(size_t  ) ;
9837 extern void (*pcre_free)(void * ) ;   9837 extern void (*pcre_free)(void * ) ;
9838 extern void *(*pcre_stack_malloc)(size_t  ) ;   9838 extern void *(*pcre_stack_malloc)(size_t  ) ;
9839 extern void (*pcre_stack_free)(void * ) ;   9839 extern void (*pcre_stack_free)(void * ) ;
9840 extern int (*pcre_callout)(pcre_callout_block * ) ;   9840 extern int (*pcre_callout)(pcre_callout_block * ) ;
9841 extern pcre *pcre_compile(char const   * , int  , char const   ** , int * ,   9841 extern pcre *pcre_compile(char const   * , int  , char const   ** , int * ,
9842                           unsigned char const   * ) ;   9842                           unsigned char const   * ) ;
9843 extern pcre *pcre_compile2(char const   * , int  , int * , char const   ** ,   9843 extern pcre *pcre_compile2(char const   * , int  , int * , char const   ** ,
9844                            int * , unsigned char const   * ) ;   9844                            int * , unsigned char const   * ) ;
9845 extern int pcre_config(int  , void * ) ;   9845 extern int pcre_config(int  , void * ) ;
9846 extern int pcre_copy_named_substring(pcre const   * , char const   * , int * ,   9846 extern int pcre_copy_named_substring(pcre const   * , char const   * , int * ,
9847                                      int  , char const   * , char * , int  ) ;   9847                                      int  , char const   * , char * , int  ) ;
9848 extern int pcre_copy_substring(char const   * , int * , int  , int  , char * ,   9848 extern int pcre_copy_substring(char const   * , int * , int  , int  , char * ,
9849                                int  ) ;   9849                                int  ) ;
9850 extern int pcre_dfa_exec(pcre const   * , pcre_extra const   * ,   9850 extern int pcre_dfa_exec(pcre const   * , pcre_extra const   * ,
9851                          char const   * , int  , int  , int  , int * , int  ,   9851                          char const   * , int  , int  , int  , int * , int  ,
9852                          int * , int  ) ;   9852                          int * , int  ) ;
9853 extern int pcre_exec(pcre const   * , pcre_extra const   * , char const   * ,   9853 extern int pcre_exec(pcre const   * , pcre_extra const   * , char const   * ,
9854                      int  , int  , int  , int * , int  ) ;   9854                      int  , int  , int  , int * , int  ) ;
9855 extern void pcre_free_substring(char const   * ) ;   9855 extern void pcre_free_substring(char const   * ) ;
9856 extern void pcre_free_substring_list(char const   ** ) ;   9856 extern void pcre_free_substring_list(char const   ** ) ;
9857 extern int pcre_fullinfo(pcre const   * , pcre_extra const   * , int  , void * ) ;   9857 extern int pcre_fullinfo(pcre const   * , pcre_extra const   * , int  , void * ) ;
9858 extern int pcre_get_named_substring(pcre const   * , char const   * , int * ,   9858 extern int pcre_get_named_substring(pcre const   * , char const   * , int * ,
9859                                     int  , char const   * , char const   ** ) ;   9859                                     int  , char const   * , char const   ** ) ;
9860 extern int pcre_get_stringnumber(pcre const   * , char const   * ) ;   9860 extern int pcre_get_stringnumber(pcre const   * , char const   * ) ;
9861 extern int pcre_get_stringtable_entries(pcre const   * , char const   * ,   9861 extern int pcre_get_stringtable_entries(pcre const   * , char const   * ,
9862                                         char ** , char ** ) ;   9862                                         char ** , char ** ) ;
9863 extern int pcre_get_substring(char const   * , int * , int  , int  ,   9863 extern int pcre_get_substring(char const   * , int * , int  , int  ,
9864                               char const   ** ) ;   9864                               char const   ** ) ;
9865 extern int pcre_get_substring_list(char const   * , int * , int  ,   9865 extern int pcre_get_substring_list(char const   * , int * , int  ,
9866                                    char const   *** ) ;   9866                                    char const   *** ) ;
9867 extern int pcre_info(pcre const   * , int * , int * ) ;   9867 extern int pcre_info(pcre const   * , int * , int * ) ;
9868 extern unsigned char const   *pcre_maketables(void) ;   9868 extern unsigned char const   *pcre_maketables(void) ;
9869 extern int pcre_refcount(pcre * , int  ) ;   9869 extern int pcre_refcount(pcre * , int  ) ;
9870 extern pcre_extra *pcre_study(pcre const   * , int  , char const   ** ) ;   9870 extern pcre_extra *pcre_study(pcre const   * , int  , char const   ** ) ;
9871 extern char const   *pcre_version(void) ;   9871 extern char const   *pcre_version(void) ;
9872 extern data_count *data_count_init(void) ;   9872 extern data_count *data_count_init(void) ;
9873 extern data_string *data_string_init(void) ;   9873 extern data_string *data_string_init(void) ;
9874 extern data_string *data_response_init(void) ;   9874 extern data_string *data_response_init(void) ;
9875 extern data_array *data_array_init(void) ;   9875 extern data_array *data_array_init(void) ;
9876 extern data_config *data_config_init(void) ;   9876 extern data_config *data_config_init(void) ;
9877 extern data_integer *data_integer_init(void) ;   9877 extern data_integer *data_integer_init(void) ;
9878 extern array *array_init(void) ;   9878 extern array *array_init(void) ;
9879 extern array *array_init_array(array *a ) ;   9879 extern array *array_init_array(array *a ) ;
9880 extern void array_free(array *a ) ;   9880 extern void array_free(array *a ) ;
9881 extern void array_reset(array *a ) ;   9881 extern void array_reset(array *a ) ;
9882 extern int array_insert_unique(array *a , data_unset *str ) ;   9882 extern int array_insert_unique(array *a , data_unset *str ) ;
9883 extern data_unset *array_pop(array *a ) ;   9883 extern data_unset *array_pop(array *a ) ;
9884 extern int array_print(array *a , int depth ) ;   9884 extern int array_print(array *a , int depth ) ;
9885 extern data_unset *array_get_unused_element(array *a , data_type_t t ) ;   9885 extern data_unset *array_get_unused_element(array *a , data_type_t t ) ;
9886 extern data_unset *array_get_element(array *a , char const   *key ,   9886 extern data_unset *array_get_element(array *a , char const   *key ,
9887                                      size_t key_len ) ;   9887                                      size_t key_len ) ;
9888 extern void array_set_key_value(array *hdrs , char const   *key ,   9888 extern void array_set_key_value(array *hdrs , char const   *key ,
9889                                 size_t key_len , char const   *value ,   9889                                 size_t key_len , char const   *value ,
9890                                 size_t val_len ) ;   9890                                 size_t val_len ) ;
9891 extern void array_append_key_value(array *hdrs , char const   *key ,   9891 extern void array_append_key_value(array *hdrs , char const   *key ,
9892                                    size_t key_len , char const   *value ,   9892                                    size_t key_len , char const   *value ,
9893                                    size_t val_len ) ;   9893                                    size_t val_len ) ;
9894 extern data_unset *array_replace(array *a , data_unset *du ) ;   9894 extern data_unset *array_replace(array *a , data_unset *du ) ;
9895 extern int array_strcasecmp(char const   *a , size_t a_len , char const   *b ,   9895 extern int array_strcasecmp(char const   *a , size_t a_len , char const   *b ,
9896                             size_t b_len ) ;   9896                             size_t b_len ) ;
9897 extern void array_print_indent(int depth ) ;   9897 extern void array_print_indent(int depth ) ;
9898 extern size_t array_get_max_key_length(array *a ) ;   9898 extern size_t array_get_max_key_length(array *a ) ;
9899 extern chunkqueue *chunkqueue_init(void) ;   9899 extern chunkqueue *chunkqueue_init(void) ;
9900 extern int chunkqueue_set_tempdirs(chunkqueue *c , array *tempdirs ) ;   9900 extern int chunkqueue_set_tempdirs(chunkqueue *c , array *tempdirs ) ;
9901 extern int chunkqueue_append_file(chunkqueue *c , buffer *fn , off_t offset ,   9901 extern int chunkqueue_append_file(chunkqueue *c , buffer *fn , off_t offset ,
9902                                   off_t len ) ;   9902                                   off_t len ) ;
9903 extern int chunkqueue_append_mem(chunkqueue *c , char const   *mem , size_t len ) ;   9903 extern int chunkqueue_append_mem(chunkqueue *c , char const   *mem , size_t len ) ;
9904 extern int chunkqueue_append_buffer(chunkqueue *c , buffer *mem ) ;   9904 extern int chunkqueue_append_buffer(chunkqueue *c , buffer *mem ) ;
9905 extern int chunkqueue_prepend_buffer(chunkqueue *c , buffer *mem ) ;   9905 extern int chunkqueue_prepend_buffer(chunkqueue *c , buffer *mem ) ;
9906 extern buffer *chunkqueue_get_append_buffer(chunkqueue *c ) ;   9906 extern buffer *chunkqueue_get_append_buffer(chunkqueue *c ) ;
9907 extern buffer *chunkqueue_get_prepend_buffer(chunkqueue *c ) ;   9907 extern buffer *chunkqueue_get_prepend_buffer(chunkqueue *c ) ;
9908 extern chunk *chunkqueue_get_append_tempfile(chunkqueue *cq ) ;   9908 extern chunk *chunkqueue_get_append_tempfile(chunkqueue *cq ) ;
9909 extern int chunkqueue_steal_tempfile(chunkqueue *cq , chunk *in ) ;   9909 extern int chunkqueue_steal_tempfile(chunkqueue *cq , chunk *in ) ;
9910 extern int chunkqueue_steal_chunk(chunkqueue *cq , chunk *c ) ;   9910 extern int chunkqueue_steal_chunk(chunkqueue *cq , chunk *c ) ;
9911 extern int chunkqueue_steal_chunks_len(chunkqueue *cq , chunk *c ,   9911 extern int chunkqueue_steal_chunks_len(chunkqueue *cq , chunk *c ,
9912                                        size_t max_len ) ;   9912                                        size_t max_len ) ;
9913 extern int chunkqueue_steal_all_chunks(chunkqueue *cq , chunkqueue *in ) ;   9913 extern int chunkqueue_steal_all_chunks(chunkqueue *cq , chunkqueue *in ) ;
9914 extern int chunkqueue_skip(chunkqueue *cq , off_t skip ) ;   9914 extern int chunkqueue_skip(chunkqueue *cq , off_t skip ) ;
9915 extern void chunkqueue_remove_empty_last_chunk(chunkqueue *cq ) ;   9915 extern void chunkqueue_remove_empty_last_chunk(chunkqueue *cq ) ;
9916 extern int chunkqueue_remove_finished_chunks(chunkqueue *cq ) ;   9916 extern int chunkqueue_remove_finished_chunks(chunkqueue *cq ) ;
9917 extern off_t chunkqueue_length(chunkqueue *c ) ;   9917 extern off_t chunkqueue_length(chunkqueue *c ) ;
9918 extern off_t chunkqueue_written(chunkqueue *c ) ;   9918 extern off_t chunkqueue_written(chunkqueue *c ) ;
9919 extern void chunkqueue_free(chunkqueue *c ) ;   9919 extern void chunkqueue_free(chunkqueue *c ) ;
9920 extern void chunkqueue_reset(chunkqueue *c ) ;   9920 extern void chunkqueue_reset(chunkqueue *c ) ;
9921 extern int chunkqueue_is_empty(chunkqueue *c ) ;   9921 extern int chunkqueue_is_empty(chunkqueue *c ) ;
9922 extern void chunkqueue_print(chunkqueue *cq ) ;   9922 extern void chunkqueue_print(chunkqueue *cq ) ;
9923 extern filter_chain *filter_chain_init(void) ;   9923 extern filter_chain *filter_chain_init(void) ;
9924 extern void filter_chain_free(filter_chain *chain ) ;   9924 extern void filter_chain_free(filter_chain *chain ) ;
9925 extern void filter_chain_reset(filter_chain *chain ) ;   9925 extern void filter_chain_reset(filter_chain *chain ) ;
9926 extern filter *filter_chain_create_filter(filter_chain *chain , int id ) ;   9926 extern filter *filter_chain_create_filter(filter_chain *chain , int id ) ;
9927 extern filter *filter_chain_get_filter(filter_chain *chain , int id ) ;   9927 extern filter *filter_chain_get_filter(filter_chain *chain , int id ) ;
9928 extern void filter_chain_remove_filter(filter_chain *chain , filter *fl ) ;   9928 extern void filter_chain_remove_filter(filter_chain *chain , filter *fl ) ;
9929 extern int filter_chain_copy_output(filter_chain *chain , chunkqueue *out ) ;   9929 extern int filter_chain_copy_output(filter_chain *chain , chunkqueue *out ) ;
9930 extern char const   *get_http_status_name(int i ) ;   9930 extern char const   *get_http_status_name(int i ) ;
9931 extern char const   *get_http_version_name(int i ) ;   9931 extern char const   *get_http_version_name(int i ) ;
9932 extern char const   *get_http_method_name(http_method_t i ) ;   9932 extern char const   *get_http_method_name(http_method_t i ) ;
9933 extern char const   *get_http_status_body_name(int i ) ;   9933 extern char const   *get_http_status_body_name(int i ) ;
9934 extern int get_http_version_key(char const   *s ) ;   9934 extern int get_http_version_key(char const   *s ) ;
9935 extern http_method_t get_http_method_key(char const   *s ) ;   9935 extern http_method_t get_http_method_key(char const   *s ) ;
9936 extern char const   *keyvalue_get_value(keyvalue *kv , int k ) ;   9936 extern char const   *keyvalue_get_value(keyvalue *kv , int k ) ;
9937 extern int keyvalue_get_key(keyvalue *kv , char const   *s ) ;   9937 extern int keyvalue_get_key(keyvalue *kv , char const   *s ) ;
9938 extern keyvalue_buffer *keyvalue_buffer_init(void) ;   9938 extern keyvalue_buffer *keyvalue_buffer_init(void) ;
9939 extern int keyvalue_buffer_append(keyvalue_buffer *kvb , int k ,   9939 extern int keyvalue_buffer_append(keyvalue_buffer *kvb , int k ,
9940                                   char const   *value ) ;   9940                                   char const   *value ) ;
9941 extern void keyvalue_buffer_free(keyvalue_buffer *kvb ) ;   9941 extern void keyvalue_buffer_free(keyvalue_buffer *kvb ) ;
9942 extern s_keyvalue_buffer *s_keyvalue_buffer_init(void) ;   9942 extern s_keyvalue_buffer *s_keyvalue_buffer_init(void) ;
9943 extern int s_keyvalue_buffer_append(s_keyvalue_buffer *kvb , char const   *key ,   9943 extern int s_keyvalue_buffer_append(s_keyvalue_buffer *kvb , char const   *key ,
9944                                     char const   *value ) ;   9944                                     char const   *value ) ;
9945 extern void s_keyvalue_buffer_free(s_keyvalue_buffer *kvb ) ;   9945 extern void s_keyvalue_buffer_free(s_keyvalue_buffer *kvb ) ;
9946 extern httpauth_keyvalue_buffer *httpauth_keyvalue_buffer_init(void) ;   9946 extern httpauth_keyvalue_buffer *httpauth_keyvalue_buffer_init(void) ;
9947 extern int httpauth_keyvalue_buffer_append(httpauth_keyvalue_buffer *kvb ,   9947 extern int httpauth_keyvalue_buffer_append(httpauth_keyvalue_buffer *kvb ,
9948                                            char const   *key ,   9948                                            char const   *key ,
9949                                            char const   *realm ,   9949                                            char const   *realm ,
9950                                            httpauth_type type ) ;   9950                                            httpauth_type type ) ;
9951 extern void httpauth_keyvalue_buffer_free(httpauth_keyvalue_buffer *kvb ) ;   9951 extern void httpauth_keyvalue_buffer_free(httpauth_keyvalue_buffer *kvb ) ;
9952 extern pcre_keyvalue_buffer *pcre_keyvalue_buffer_init(void) ;   9952 extern pcre_keyvalue_buffer *pcre_keyvalue_buffer_init(void) ;
9953 extern int pcre_keyvalue_buffer_append(pcre_keyvalue_buffer *kvb ,   9953 extern int pcre_keyvalue_buffer_append(pcre_keyvalue_buffer *kvb ,
9954                                        char const   *key , char const   *value ) ;   9954                                        char const   *key , char const   *value ) ;
9955 extern void pcre_keyvalue_buffer_free(pcre_keyvalue_buffer *kvb ) ;   9955 extern void pcre_keyvalue_buffer_free(pcre_keyvalue_buffer *kvb ) ;
9956 extern bitset *bitset_init(size_t nbits ) ;   9956 extern bitset *bitset_init(size_t nbits ) ;
9957 extern void bitset_reset(bitset *set ) ;   9957 extern void bitset_reset(bitset *set ) ;
9958 extern void bitset_free(bitset *set ) ;   9958 extern void bitset_free(bitset *set ) ;
9959 extern void bitset_clear_bit(bitset *set , size_t pos ) ;   9959 extern void bitset_clear_bit(bitset *set , size_t pos ) ;
9960 extern void bitset_set_bit(bitset *set , size_t pos ) ;   9960 extern void bitset_set_bit(bitset *set , size_t pos ) ;
9961 extern int bitset_test_bit(bitset *set , size_t pos ) ;   9961 extern int bitset_test_bit(bitset *set , size_t pos ) ;
9962 extern int sk_num(_STACK const   * ) ;   9962 extern int sk_num(_STACK const   * ) ;
9963 extern void *sk_value(_STACK const   * , int  ) ;   9963 extern void *sk_value(_STACK const   * , int  ) ;
9964 extern void *sk_set(_STACK * , int  , void * ) ;   9964 extern void *sk_set(_STACK * , int  , void * ) ;
9965 extern _STACK *sk_new(int (*cmp)(void const   * , void const   * ) ) ;   9965 extern _STACK *sk_new(int (*cmp)(void const   * , void const   * ) ) ;
9966 extern _STACK *sk_new_null(void) ;   9966 extern _STACK *sk_new_null(void) ;
9967 extern void sk_free(_STACK * ) ;   9967 extern void sk_free(_STACK * ) ;
9968 extern void sk_pop_free(_STACK *st , void (*func)(void * ) ) ;   9968 extern void sk_pop_free(_STACK *st , void (*func)(void * ) ) ;
9969 extern int sk_insert(_STACK *sk , void *data , int where ) ;   9969 extern int sk_insert(_STACK *sk , void *data , int where ) ;
9970 extern void *sk_delete(_STACK *st , int loc ) ;   9970 extern void *sk_delete(_STACK *st , int loc ) ;
9971 extern void *sk_delete_ptr(_STACK *st , void *p ) ;   9971 extern void *sk_delete_ptr(_STACK *st , void *p ) ;
9972 extern int sk_find(_STACK *st , void *data ) ;   9972 extern int sk_find(_STACK *st , void *data ) ;
9973 extern int sk_find_ex(_STACK *st , void *data ) ;   9973 extern int sk_find_ex(_STACK *st , void *data ) ;
9974 extern int sk_push(_STACK *st , void *data ) ;   9974 extern int sk_push(_STACK *st , void *data ) ;
9975 extern int sk_unshift(_STACK *st , void *data ) ;   9975 extern int sk_unshift(_STACK *st , void *data ) ;
9976 extern void *sk_shift(_STACK *st ) ;   9976 extern void *sk_shift(_STACK *st ) ;
9977 extern void *sk_pop(_STACK *st ) ;   9977 extern void *sk_pop(_STACK *st ) ;
9978 extern void sk_zero(_STACK *st ) ;   9978 extern void sk_zero(_STACK *st ) ;
9979 extern int (*sk_set_cmp_func(_STACK *sk , int (*c)(void const   * ,   9979 extern int (*sk_set_cmp_func(_STACK *sk , int (*c)(void const   * ,
9980                                                    void const   * ) ))(void const   * ,   9980                                                    void const   * ) ))(void const   * ,
9981                                                                        void const   * ) ;   9981                                                                        void const   * ) ;
9982 extern _STACK *sk_dup(_STACK *st ) ;   9982 extern _STACK *sk_dup(_STACK *st ) ;
9983 extern void sk_sort(_STACK *st ) ;   9983 extern void sk_sort(_STACK *st ) ;
9984 extern int sk_is_sorted(_STACK const   *st ) ;   9984 extern int sk_is_sorted(_STACK const   *st ) ;
9985 extern int CRYPTO_mem_ctrl(int mode ) ;   9985 extern int CRYPTO_mem_ctrl(int mode ) ;
9986 extern int CRYPTO_is_mem_check_on(void) ;   9986 extern int CRYPTO_is_mem_check_on(void) ;
9987 extern char const   *SSLeay_version(int type ) ;   9987 extern char const   *SSLeay_version(int type ) ;
9988 extern unsigned long SSLeay(void) ;   9988 extern unsigned long SSLeay(void) ;
9989 extern int OPENSSL_issetugid(void) ;   9989 extern int OPENSSL_issetugid(void) ;
9990 extern CRYPTO_EX_DATA_IMPL const   *CRYPTO_get_ex_data_implementation(void) ;   9990 extern CRYPTO_EX_DATA_IMPL const   *CRYPTO_get_ex_data_implementation(void) ;
9991 extern int CRYPTO_set_ex_data_implementation(CRYPTO_EX_DATA_IMPL const   *i ) ;   9991 extern int CRYPTO_set_ex_data_implementation(CRYPTO_EX_DATA_IMPL const   *i ) ;
9992 extern int CRYPTO_ex_data_new_class(void) ;   9992 extern int CRYPTO_ex_data_new_class(void) ;
9993 extern int CRYPTO_get_ex_new_index(int class_index , long argl , void *argp ,   9993 extern int CRYPTO_get_ex_new_index(int class_index , long argl , void *argp ,
9994                                    CRYPTO_EX_new *new_func ,   9994                                    CRYPTO_EX_new *new_func ,
9995                                    CRYPTO_EX_dup *dup_func ,   9995                                    CRYPTO_EX_dup *dup_func ,
9996                                    CRYPTO_EX_free *free_func ) ;   9996                                    CRYPTO_EX_free *free_func ) ;
9997 extern int CRYPTO_new_ex_data(int class_index , void *obj , CRYPTO_EX_DATA *ad ) ;   9997 extern int CRYPTO_new_ex_data(int class_index , void *obj , CRYPTO_EX_DATA *ad ) ;
9998 extern int CRYPTO_dup_ex_data(int class_index , CRYPTO_EX_DATA *to ,   9998 extern int CRYPTO_dup_ex_data(int class_index , CRYPTO_EX_DATA *to ,
9999                               CRYPTO_EX_DATA *from ) ;   9999                               CRYPTO_EX_DATA *from ) ;
10000 extern void CRYPTO_free_ex_data(int class_index , void *obj ,   10000 extern void CRYPTO_free_ex_data(int class_index , void *obj ,
10001                                 CRYPTO_EX_DATA *ad ) ;   10001                                 CRYPTO_EX_DATA *ad ) ;
10002 extern int CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad , int idx , void *val ) ;   10002 extern int CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad , int idx , void *val ) ;
10003 extern void *CRYPTO_get_ex_data(CRYPTO_EX_DATA const   *ad , int idx ) ;   10003 extern void *CRYPTO_get_ex_data(CRYPTO_EX_DATA const   *ad , int idx ) ;
10004 extern void CRYPTO_cleanup_all_ex_data(void) ;   10004 extern void CRYPTO_cleanup_all_ex_data(void) ;
10005 extern int CRYPTO_get_new_lockid(char *name ) ;   10005 extern int CRYPTO_get_new_lockid(char *name ) ;
10006 extern int CRYPTO_num_locks(void) ;   10006 extern int CRYPTO_num_locks(void) ;
10007 extern void CRYPTO_lock(int mode , int type , char const   *file , int line ) ;   10007 extern void CRYPTO_lock(int mode , int type , char const   *file , int line ) ;
10008 extern void CRYPTO_set_locking_callback(void (*func)(int mode , int type ,   10008 extern void CRYPTO_set_locking_callback(void (*func)(int mode , int type ,
10009                                                      char const   *file ,   10009                                                      char const   *file ,
10010                                                      int line ) ) ;   10010                                                      int line ) ) ;
10011 extern void (*CRYPTO_get_locking_callback(void))(int mode , int type ,   10011 extern void (*CRYPTO_get_locking_callback(void))(int mode , int type ,
10012                                                  char const   *file , int line ) ;   10012                                                  char const   *file , int line ) ;
10013 extern void CRYPTO_set_add_lock_callback(int (*func)(int *num , int mount ,   10013 extern void CRYPTO_set_add_lock_callback(int (*func)(int *num , int mount ,
10014                                                      int type ,   10014                                                      int type ,
10015                                                      char const   *file ,   10015                                                      char const   *file ,
10016                                                      int line ) ) ;   10016                                                      int line ) ) ;
10017 extern int (*CRYPTO_get_add_lock_callback(void))(int *num , int mount ,   10017 extern int (*CRYPTO_get_add_lock_callback(void))(int *num , int mount ,
10018                                                  int type , char const   *file ,   10018                                                  int type , char const   *file ,
10019                                                  int line ) ;   10019                                                  int line ) ;
10020 extern void CRYPTO_THREADID_set_numeric(CRYPTO_THREADID *id , unsigned long val ) ;   10020 extern void CRYPTO_THREADID_set_numeric(CRYPTO_THREADID *id , unsigned long val ) ;
10021 extern void CRYPTO_THREADID_set_pointer(CRYPTO_THREADID *id , void *ptr ) ;   10021 extern void CRYPTO_THREADID_set_pointer(CRYPTO_THREADID *id , void *ptr ) ;
10022 extern int CRYPTO_THREADID_set_callback(void (*threadid_func)(CRYPTO_THREADID * ) ) ;   10022 extern int CRYPTO_THREADID_set_callback(void (*threadid_func)(CRYPTO_THREADID * ) ) ;
10023 extern void (*CRYPTO_THREADID_get_callback(void))(CRYPTO_THREADID * ) ;   10023 extern void (*CRYPTO_THREADID_get_callback(void))(CRYPTO_THREADID * ) ;
10024 extern void CRYPTO_THREADID_current(CRYPTO_THREADID *id ) ;   10024 extern void CRYPTO_THREADID_current(CRYPTO_THREADID *id ) ;
10025 extern int CRYPTO_THREADID_cmp(CRYPTO_THREADID const   *a ,   10025 extern int CRYPTO_THREADID_cmp(CRYPTO_THREADID const   *a ,
10026                                CRYPTO_THREADID const   *b ) ;   10026                                CRYPTO_THREADID const   *b ) ;
10027 extern void CRYPTO_THREADID_cpy(CRYPTO_THREADID *dest ,   10027 extern void CRYPTO_THREADID_cpy(CRYPTO_THREADID *dest ,
10028                                 CRYPTO_THREADID const   *src ) ;   10028                                 CRYPTO_THREADID const   *src ) ;
10029 extern unsigned long CRYPTO_THREADID_hash(CRYPTO_THREADID const   *id ) ;   10029 extern unsigned long CRYPTO_THREADID_hash(CRYPTO_THREADID const   *id ) ;
10030 extern void CRYPTO_set_id_callback(unsigned long (*func)(void) ) ;   10030 extern void CRYPTO_set_id_callback(unsigned long (*func)(void) ) ;
10031 extern unsigned long (*CRYPTO_get_id_callback(void))(void) ;   10031 extern unsigned long (*CRYPTO_get_id_callback(void))(void) ;
10032 extern unsigned long CRYPTO_thread_id(void) ;   10032 extern unsigned long CRYPTO_thread_id(void) ;
10033 extern char const   *CRYPTO_get_lock_name(int type ) ;   10033 extern char const   *CRYPTO_get_lock_name(int type ) ;
10034 extern int CRYPTO_add_lock(int *pointer , int amount , int type ,   10034 extern int CRYPTO_add_lock(int *pointer , int amount , int type ,
10035                            char const   *file , int line ) ;   10035                            char const   *file , int line ) ;
10036 extern int CRYPTO_get_new_dynlockid(void) ;   10036 extern int CRYPTO_get_new_dynlockid(void) ;
10037 extern void CRYPTO_destroy_dynlockid(int i ) ;   10037 extern void CRYPTO_destroy_dynlockid(int i ) ;
10038 extern struct CRYPTO_dynlock_value *CRYPTO_get_dynlock_value(int i ) ;   10038 extern struct CRYPTO_dynlock_value *CRYPTO_get_dynlock_value(int i ) ;
10039 extern void CRYPTO_set_dynlock_create_callback(struct CRYPTO_dynlock_value *(*dyn_create_function)(char const   *file ,   10039 extern void CRYPTO_set_dynlock_create_callback(struct CRYPTO_dynlock_value *(*dyn_create_function)(char const   *file ,
10040                                                                                                    int line ) ) ;   10040                                                                                                    int line ) ) ;
10041 extern void CRYPTO_set_dynlock_lock_callback(void (*dyn_lock_function)(int mode ,   10041 extern void CRYPTO_set_dynlock_lock_callback(void (*dyn_lock_function)(int mode ,
10042                                                                        struct CRYPTO_dynlock_value *l ,   10042                                                                        struct CRYPTO_dynlock_value *l ,
10043                                                                        char const   *file ,   10043                                                                        char const   *file ,
10044                                                                        int line ) ) ;   10044                                                                        int line ) ) ;
10045 extern void CRYPTO_set_dynlock_destroy_callback(void (*dyn_destroy_function)(struct CRYPTO_dynlock_value *l ,   10045 extern void CRYPTO_set_dynlock_destroy_callback(void (*dyn_destroy_function)(struct CRYPTO_dynlock_value *l ,
10046                                                                              char const   *file ,   10046                                                                              char const   *file ,
10047                                                                              int line ) ) ;   10047                                                                              int line ) ) ;
10048 extern struct CRYPTO_dynlock_value *(*CRYPTO_get_dynlock_create_callback(void))(char const   *file ,   10048 extern struct CRYPTO_dynlock_value *(*CRYPTO_get_dynlock_create_callback(void))(char const   *file ,
10049                                                                                 int line ) ;   10049                                                                                 int line ) ;
10050 extern void (*CRYPTO_get_dynlock_lock_callback(void))(int mode ,   10050 extern void (*CRYPTO_get_dynlock_lock_callback(void))(int mode ,
10051                                                       struct CRYPTO_dynlock_value *l ,   10051                                                       struct CRYPTO_dynlock_value *l ,
10052                                                       char const   *file ,   10052                                                       char const   *file ,
10053                                                       int line ) ;   10053                                                       int line ) ;
10054 extern void (*CRYPTO_get_dynlock_destroy_callback(void))(struct CRYPTO_dynlock_value *l ,   10054 extern void (*CRYPTO_get_dynlock_destroy_callback(void))(struct CRYPTO_dynlock_value *l ,
10055                                                          char const   *file ,   10055                                                          char const   *file ,
10056                                                          int line ) ;   10056                                                          int line ) ;
10057 extern int CRYPTO_set_mem_functions(void *(*m)(size_t  ) ,   10057 extern int CRYPTO_set_mem_functions(void *(*m)(size_t  ) ,
10058                                     void *(*r)(void * , size_t  ) ,   10058                                     void *(*r)(void * , size_t  ) ,
10059                                     void (*f)(void * ) ) ;   10059                                     void (*f)(void * ) ) ;
10060 extern int CRYPTO_set_locked_mem_functions(void *(*m)(size_t  ) ,   10060 extern int CRYPTO_set_locked_mem_functions(void *(*m)(size_t  ) ,
10061                                            void (*free_func)(void * ) ) ;   10061                                            void (*free_func)(void * ) ) ;
10062 extern int CRYPTO_set_mem_ex_functions(void *(*m)(size_t  , char const   * ,   10062 extern int CRYPTO_set_mem_ex_functions(void *(*m)(size_t  , char const   * ,
10063                                                   int  ) ,   10063                                                   int  ) ,
10064                                        void *(*r)(void * , size_t  ,   10064                                        void *(*r)(void * , size_t  ,
10065                                                   char const   * , int  ) ,   10065                                                   char const   * , int  ) ,
10066                                        void (*f)(void * ) ) ;   10066                                        void (*f)(void * ) ) ;
10067 extern int CRYPTO_set_locked_mem_ex_functions(void *(*m)(size_t  ,   10067 extern int CRYPTO_set_locked_mem_ex_functions(void *(*m)(size_t  ,
10068                                                          char const   * , int  ) ,   10068                                                          char const   * , int  ) ,
10069                                               void (*free_func)(void * ) ) ;   10069                                               void (*free_func)(void * ) ) ;
10070 extern int CRYPTO_set_mem_debug_functions(void (*m)(void * , int  ,   10070 extern int CRYPTO_set_mem_debug_functions(void (*m)(void * , int  ,
10071                                                     char const   * , int  ,   10071                                                     char const   * , int  ,
10072                                                     int  ) ,   10072                                                     int  ) ,
10073                                           void (*r)(void * , void * , int  ,   10073                                           void (*r)(void * , void * , int  ,
10074                                                     char const   * , int  ,   10074                                                     char const   * , int  ,
10075                                                     int  ) ,   10075                                                     int  ) ,
10076                                           void (*f)(void * , int  ) ,   10076                                           void (*f)(void * , int  ) ,
10077                                           void (*so)(long  ) , long (*go)(void) ) ;   10077                                           void (*so)(long  ) , long (*go)(void) ) ;
10078 extern void CRYPTO_get_mem_functions(void *(**m)(size_t  ) ,   10078 extern void CRYPTO_get_mem_functions(void *(**m)(size_t  ) ,
10079                                      void *(**r)(void * , size_t  ) ,   10079                                      void *(**r)(void * , size_t  ) ,
10080                                      void (**f)(void * ) ) ;   10080                                      void (**f)(void * ) ) ;
10081 extern void CRYPTO_get_locked_mem_functions(void *(**m)(size_t  ) ,   10081 extern void CRYPTO_get_locked_mem_functions(void *(**m)(size_t  ) ,
10082                                             void (**f)(void * ) ) ;   10082                                             void (**f)(void * ) ) ;
10083 extern void CRYPTO_get_mem_ex_functions(void *(**m)(size_t  , char const   * ,   10083 extern void CRYPTO_get_mem_ex_functions(void *(**m)(size_t  , char const   * ,
10084                                                     int  ) ,   10084                                                     int  ) ,
10085                                         void *(**r)(void * , size_t  ,   10085                                         void *(**r)(void * , size_t  ,
10086                                                     char const   * , int  ) ,   10086                                                     char const   * , int  ) ,
10087                                         void (**f)(void * ) ) ;   10087                                         void (**f)(void * ) ) ;
10088 extern void CRYPTO_get_locked_mem_ex_functions(void *(**m)(size_t  ,   10088 extern void CRYPTO_get_locked_mem_ex_functions(void *(**m)(size_t  ,
10089                                                            char const   * ,   10089                                                            char const   * ,
10090                                                            int  ) ,   10090                                                            int  ) ,
10091                                                void (**f)(void * ) ) ;   10091                                                void (**f)(void * ) ) ;
10092 extern void CRYPTO_get_mem_debug_functions(void (**m)(void * , int  ,   10092 extern void CRYPTO_get_mem_debug_functions(void (**m)(void * , int  ,
10093                                                       char const   * , int  ,   10093                                                       char const   * , int  ,
10094                                                       int  ) ,   10094                                                       int  ) ,
10095                                            void (**r)(void * , void * , int  ,   10095                                            void (**r)(void * , void * , int  ,
10096                                                       char const   * , int  ,   10096                                                       char const   * , int  ,
10097                                                       int  ) ,   10097                                                       int  ) ,
10098                                            void (**f)(void * , int  ) ,   10098                                            void (**f)(void * , int  ) ,
10099                                            void (**so)(long  ) ,   10099                                            void (**so)(long  ) ,
10100                                            long (**go)(void) ) ;   10100                                            long (**go)(void) ) ;
10101 extern void *CRYPTO_malloc_locked(int num , char const   *file , int line ) ;   10101 extern void *CRYPTO_malloc_locked(int num , char const   *file , int line ) ;
10102 extern void CRYPTO_free_locked(void * ) ;   10102 extern void CRYPTO_free_locked(void * ) ;
10103 extern void *CRYPTO_malloc(int num , char const   *file , int line ) ;   10103 extern void *CRYPTO_malloc(int num , char const   *file , int line ) ;
10104 extern char *CRYPTO_strdup(char const   *str , char const   *file , int line ) ;   10104 extern char *CRYPTO_strdup(char const   *str , char const   *file , int line ) ;
10105 extern void CRYPTO_free(void * ) ;   10105 extern void CRYPTO_free(void * ) ;
10106 extern void *CRYPTO_realloc(void *addr , int num , char const   *file ,   10106 extern void *CRYPTO_realloc(void *addr , int num , char const   *file ,
10107                             int line ) ;   10107                             int line ) ;
10108 extern void *CRYPTO_realloc_clean(void *addr , int old_num , int num ,   10108 extern void *CRYPTO_realloc_clean(void *addr , int old_num , int num ,
10109                                   char const   *file , int line ) ;   10109                                   char const   *file , int line ) ;
10110 extern void *CRYPTO_remalloc(void *addr , int num , char const   *file ,   10110 extern void *CRYPTO_remalloc(void *addr , int num , char const   *file ,
10111                              int line ) ;   10111                              int line ) ;
10112 extern void OPENSSL_cleanse(void *ptr , size_t len ) ;   10112 extern void OPENSSL_cleanse(void *ptr , size_t len ) ;
10113 extern void CRYPTO_set_mem_debug_options(long bits ) ;   10113 extern void CRYPTO_set_mem_debug_options(long bits ) ;
10114 extern long CRYPTO_get_mem_debug_options(void) ;   10114 extern long CRYPTO_get_mem_debug_options(void) ;
10115 extern int CRYPTO_push_info_(char const   *info , char const   *file , int line ) ;   10115 extern int CRYPTO_push_info_(char const   *info , char const   *file , int line ) ;
10116 extern int CRYPTO_pop_info(void) ;   10116 extern int CRYPTO_pop_info(void) ;
10117 extern int CRYPTO_remove_all_info(void) ;   10117 extern int CRYPTO_remove_all_info(void) ;
10118 extern void CRYPTO_dbg_malloc(void *addr , int num , char const   *file ,   10118 extern void CRYPTO_dbg_malloc(void *addr , int num , char const   *file ,
10119                               int line , int before_p ) ;   10119                               int line , int before_p ) ;
10120 extern void CRYPTO_dbg_realloc(void *addr1 , void *addr2 , int num ,   10120 extern void CRYPTO_dbg_realloc(void *addr1 , void *addr2 , int num ,
10121                                char const   *file , int line , int before_p ) ;   10121                                char const   *file , int line , int before_p ) ;
10122 extern void CRYPTO_dbg_free(void *addr , int before_p ) ;   10122 extern void CRYPTO_dbg_free(void *addr , int before_p ) ;
10123 extern void CRYPTO_dbg_set_options(long bits ) ;   10123 extern void CRYPTO_dbg_set_options(long bits ) ;
10124 extern long CRYPTO_dbg_get_options(void) ;   10124 extern long CRYPTO_dbg_get_options(void) ;
10125 extern void CRYPTO_mem_leaks_fp(FILE * ) ;   10125 extern void CRYPTO_mem_leaks_fp(FILE * ) ;
10126 extern void CRYPTO_mem_leaks(struct bio_st *bio ) ;   10126 extern void CRYPTO_mem_leaks(struct bio_st *bio ) ;
10127 extern void CRYPTO_mem_leaks_cb(CRYPTO_MEM_LEAK_CB *cb ) ;   10127 extern void CRYPTO_mem_leaks_cb(CRYPTO_MEM_LEAK_CB *cb ) ;
10128 extern void OpenSSLDie(char const   *file , int line , char const   *assertion ) ;   10128 extern void OpenSSLDie(char const   *file , int line , char const   *assertion ) ;
10129 extern unsigned long *OPENSSL_ia32cap_loc(void) ;   10129 extern unsigned long *OPENSSL_ia32cap_loc(void) ;
10130 extern int OPENSSL_isservice(void) ;   10130 extern int OPENSSL_isservice(void) ;
10131 extern void ERR_load_CRYPTO_strings(void) ;   10131 extern void ERR_load_CRYPTO_strings(void) ;
10132 extern void OPENSSL_init_library(void) ;   10132 extern void OPENSSL_init_library(void) ;
10133 extern COMP_CTX *COMP_CTX_new(COMP_METHOD *meth ) ;   10133 extern COMP_CTX *COMP_CTX_new(COMP_METHOD *meth ) ;
10134 extern void COMP_CTX_free(COMP_CTX *ctx ) ;   10134 extern void COMP_CTX_free(COMP_CTX *ctx ) ;
10135 extern int COMP_compress_block(COMP_CTX *ctx , unsigned char *out , int olen ,   10135 extern int COMP_compress_block(COMP_CTX *ctx , unsigned char *out , int olen ,
10136                                unsigned char *in , int ilen ) ;   10136                                unsigned char *in , int ilen ) ;
10137 extern int COMP_expand_block(COMP_CTX *ctx , unsigned char *out , int olen ,   10137 extern int COMP_expand_block(COMP_CTX *ctx , unsigned char *out , int olen ,
10138                              unsigned char *in , int ilen ) ;   10138                              unsigned char *in , int ilen ) ;
10139 extern COMP_METHOD *COMP_rle(void) ;   10139 extern COMP_METHOD *COMP_rle(void) ;
10140 extern COMP_METHOD *COMP_zlib(void) ;   10140 extern COMP_METHOD *COMP_zlib(void) ;
10141 extern void COMP_zlib_cleanup(void) ;   10141 extern void COMP_zlib_cleanup(void) ;
10142 extern void ERR_load_COMP_strings(void) ;   10142 extern void ERR_load_COMP_strings(void) ;
10143 extern void BIO_set_flags(BIO *b , int flags ) ;   10143 extern void BIO_set_flags(BIO *b , int flags ) ;
10144 extern int BIO_test_flags(BIO const   *b , int flags ) ;   10144 extern int BIO_test_flags(BIO const   *b , int flags ) ;
10145 extern void BIO_clear_flags(BIO *b , int flags ) ;   10145 extern void BIO_clear_flags(BIO *b , int flags ) ;
10146 extern long (*BIO_get_callback(BIO const   *b ))(struct bio_st * , int  ,   10146 extern long (*BIO_get_callback(BIO const   *b ))(struct bio_st * , int  ,
10147                                                  char const   * , int  , long  ,   10147                                                  char const   * , int  , long  ,
10148                                                  long  ) ;   10148                                                  long  ) ;
10149 extern void BIO_set_callback(BIO *b , long (*callback)(struct bio_st * , int  ,   10149 extern void BIO_set_callback(BIO *b , long (*callback)(struct bio_st * , int  ,
10150                                                        char const   * , int  ,   10150                                                        char const   * , int  ,
10151                                                        long  , long  ) ) ;   10151                                                        long  , long  ) ) ;
10152 extern char *BIO_get_callback_arg(BIO const   *b ) ;   10152 extern char *BIO_get_callback_arg(BIO const   *b ) ;
10153 extern void BIO_set_callback_arg(BIO *b , char *arg ) ;   10153 extern void BIO_set_callback_arg(BIO *b , char *arg ) ;
10154 extern char const   *BIO_method_name(BIO const   *b ) ;   10154 extern char const   *BIO_method_name(BIO const   *b ) ;
10155 extern int BIO_method_type(BIO const   *b ) ;   10155 extern int BIO_method_type(BIO const   *b ) ;
10156 extern size_t BIO_ctrl_pending(BIO *b ) ;   10156 extern size_t BIO_ctrl_pending(BIO *b ) ;
10157 extern size_t BIO_ctrl_wpending(BIO *b ) ;   10157 extern size_t BIO_ctrl_wpending(BIO *b ) ;
10158 extern size_t BIO_ctrl_get_write_guarantee(BIO *b ) ;   10158 extern size_t BIO_ctrl_get_write_guarantee(BIO *b ) ;
10159 extern size_t BIO_ctrl_get_read_request(BIO *b ) ;   10159 extern size_t BIO_ctrl_get_read_request(BIO *b ) ;
10160 extern int BIO_ctrl_reset_read_request(BIO *b ) ;   10160 extern int BIO_ctrl_reset_read_request(BIO *b ) ;
10161 extern int BIO_set_ex_data(BIO *bio , int idx , void *data ) ;   10161 extern int BIO_set_ex_data(BIO *bio , int idx , void *data ) ;
10162 extern void *BIO_get_ex_data(BIO *bio , int idx ) ;   10162 extern void *BIO_get_ex_data(BIO *bio , int idx ) ;
10163 extern int BIO_get_ex_new_index(long argl , void *argp ,   10163 extern int BIO_get_ex_new_index(long argl , void *argp ,
10164                                 CRYPTO_EX_new *new_func ,   10164                                 CRYPTO_EX_new *new_func ,
10165                                 CRYPTO_EX_dup *dup_func ,   10165                                 CRYPTO_EX_dup *dup_func ,
10166                                 CRYPTO_EX_free *free_func ) ;   10166                                 CRYPTO_EX_free *free_func ) ;
10167 extern unsigned long BIO_number_read(BIO *bio ) ;   10167 extern unsigned long BIO_number_read(BIO *bio ) ;
10168 extern unsigned long BIO_number_written(BIO *bio ) ;   10168 extern unsigned long BIO_number_written(BIO *bio ) ;
10169 extern int BIO_asn1_set_prefix(BIO *b , asn1_ps_func *prefix ,   10169 extern int BIO_asn1_set_prefix(BIO *b , asn1_ps_func *prefix ,
10170                                asn1_ps_func *prefix_free ) ;   10170                                asn1_ps_func *prefix_free ) ;
10171 extern int BIO_asn1_get_prefix(BIO *b , asn1_ps_func **pprefix ,   10171 extern int BIO_asn1_get_prefix(BIO *b , asn1_ps_func **pprefix ,
10172                                asn1_ps_func **pprefix_free ) ;   10172                                asn1_ps_func **pprefix_free ) ;
10173 extern int BIO_asn1_set_suffix(BIO *b , asn1_ps_func *suffix ,   10173 extern int BIO_asn1_set_suffix(BIO *b , asn1_ps_func *suffix ,
10174                                asn1_ps_func *suffix_free ) ;   10174                                asn1_ps_func *suffix_free ) ;
10175 extern int BIO_asn1_get_suffix(BIO *b , asn1_ps_func **psuffix ,   10175 extern int BIO_asn1_get_suffix(BIO *b , asn1_ps_func **psuffix ,
10176                                asn1_ps_func **psuffix_free ) ;   10176                                asn1_ps_func **psuffix_free ) ;
10177 extern BIO_METHOD *BIO_s_file(void) ;   10177 extern BIO_METHOD *BIO_s_file(void) ;
10178 extern BIO *BIO_new_file(char const   *filename , char const   *mode ) ;   10178 extern BIO *BIO_new_file(char const   *filename , char const   *mode ) ;
10179 extern BIO *BIO_new_fp(FILE *stream , int close_flag ) ;   10179 extern BIO *BIO_new_fp(FILE *stream , int close_flag ) ;
10180 extern BIO *BIO_new(BIO_METHOD *type ) ;   10180 extern BIO *BIO_new(BIO_METHOD *type ) ;
10181 extern int BIO_set(BIO *a , BIO_METHOD *type ) ;   10181 extern int BIO_set(BIO *a , BIO_METHOD *type ) ;
10182 extern int BIO_free(BIO *a ) ;   10182 extern int BIO_free(BIO *a ) ;
10183 extern void BIO_vfree(BIO *a ) ;   10183 extern void BIO_vfree(BIO *a ) ;
10184 extern int BIO_read(BIO *b , void *data , int len ) ;   10184 extern int BIO_read(BIO *b , void *data , int len ) ;
10185 extern int BIO_gets(BIO *bp , char *buf , int size ) ;   10185 extern int BIO_gets(BIO *bp , char *buf , int size ) ;
10186 extern int BIO_write(BIO *b , void const   *data , int len ) ;   10186 extern int BIO_write(BIO *b , void const   *data , int len ) ;
10187 extern int BIO_puts(BIO *bp , char const   *buf ) ;   10187 extern int BIO_puts(BIO *bp , char const   *buf ) ;
10188 extern int BIO_indent(BIO *b , int indent , int max ) ;   10188 extern int BIO_indent(BIO *b , int indent , int max ) ;
10189 extern long BIO_ctrl(BIO *bp , int cmd , long larg , void *parg ) ;   10189 extern long BIO_ctrl(BIO *bp , int cmd , long larg , void *parg ) ;
10190 extern long BIO_callback_ctrl(BIO *b , int cmd ,   10190 extern long BIO_callback_ctrl(BIO *b , int cmd ,
10191                               void (*fp)(struct bio_st * , int  ,   10191                               void (*fp)(struct bio_st * , int  ,
10192                                          char const   * , int  , long  , long  ) ) ;   10192                                          char const   * , int  , long  , long  ) ) ;
10193 extern char *BIO_ptr_ctrl(BIO *bp , int cmd , long larg ) ;   10193 extern char *BIO_ptr_ctrl(BIO *bp , int cmd , long larg ) ;
10194 extern long BIO_int_ctrl(BIO *bp , int cmd , long larg , int iarg ) ;   10194 extern long BIO_int_ctrl(BIO *bp , int cmd , long larg , int iarg ) ;
10195 extern BIO *BIO_push(BIO *b , BIO *append ) ;   10195 extern BIO *BIO_push(BIO *b , BIO *append ) ;
10196 extern BIO *BIO_pop(BIO *b ) ;   10196 extern BIO *BIO_pop(BIO *b ) ;
10197 extern void BIO_free_all(BIO *a ) ;   10197 extern void BIO_free_all(BIO *a ) ;
10198 extern BIO *BIO_find_type(BIO *b , int bio_type ) ;   10198 extern BIO *BIO_find_type(BIO *b , int bio_type ) ;
10199 extern BIO *BIO_next(BIO *b ) ;   10199 extern BIO *BIO_next(BIO *b ) ;
10200 extern BIO *BIO_get_retry_BIO(BIO *bio , int *reason ) ;   10200 extern BIO *BIO_get_retry_BIO(BIO *bio , int *reason ) ;
10201 extern int BIO_get_retry_reason(BIO *bio ) ;   10201 extern int BIO_get_retry_reason(BIO *bio ) ;
10202 extern BIO *BIO_dup_chain(BIO *in ) ;   10202 extern BIO *BIO_dup_chain(BIO *in ) ;
10203 extern int BIO_nread0(BIO *bio , char **buf ) ;   10203 extern int BIO_nread0(BIO *bio , char **buf ) ;
10204 extern int BIO_nread(BIO *bio , char **buf , int num ) ;   10204 extern int BIO_nread(BIO *bio , char **buf , int num ) ;
10205 extern int BIO_nwrite0(BIO *bio , char **buf ) ;   10205 extern int BIO_nwrite0(BIO *bio , char **buf ) ;
10206 extern int BIO_nwrite(BIO *bio , char **buf , int num ) ;   10206 extern int BIO_nwrite(BIO *bio , char **buf , int num ) ;
10207 extern long BIO_debug_callback(BIO *bio , int cmd , char const   *argp ,   10207 extern long BIO_debug_callback(BIO *bio , int cmd , char const   *argp ,
10208                                int argi , long argl , long ret ) ;   10208                                int argi , long argl , long ret ) ;
10209 extern BIO_METHOD *BIO_s_mem(void) ;   10209 extern BIO_METHOD *BIO_s_mem(void) ;
10210 extern BIO *BIO_new_mem_buf(void *buf , int len ) ;   10210 extern BIO *BIO_new_mem_buf(void *buf , int len ) ;
10211 extern BIO_METHOD *BIO_s_socket(void) ;   10211 extern BIO_METHOD *BIO_s_socket(void) ;
10212 extern BIO_METHOD *BIO_s_connect(void) ;   10212 extern BIO_METHOD *BIO_s_connect(void) ;
10213 extern BIO_METHOD *BIO_s_accept(void) ;   10213 extern BIO_METHOD *BIO_s_accept(void) ;
10214 extern BIO_METHOD *BIO_s_fd(void) ;   10214 extern BIO_METHOD *BIO_s_fd(void) ;
10215 extern BIO_METHOD *BIO_s_log(void) ;   10215 extern BIO_METHOD *BIO_s_log(void) ;
10216 extern BIO_METHOD *BIO_s_bio(void) ;   10216 extern BIO_METHOD *BIO_s_bio(void) ;
10217 extern BIO_METHOD *BIO_s_null(void) ;   10217 extern BIO_METHOD *BIO_s_null(void) ;
10218 extern BIO_METHOD *BIO_f_null(void) ;   10218 extern BIO_METHOD *BIO_f_null(void) ;
10219 extern BIO_METHOD *BIO_f_buffer(void) ;   10219 extern BIO_METHOD *BIO_f_buffer(void) ;
10220 extern BIO_METHOD *BIO_f_nbio_test(void) ;   10220 extern BIO_METHOD *BIO_f_nbio_test(void) ;
10221 extern BIO_METHOD *BIO_s_datagram(void) ;   10221 extern BIO_METHOD *BIO_s_datagram(void) ;
10222 extern int BIO_sock_should_retry(int i ) ;   10222 extern int BIO_sock_should_retry(int i ) ;
10223 extern int BIO_sock_non_fatal_error(int error ) ;   10223 extern int BIO_sock_non_fatal_error(int error ) ;
10224 extern int BIO_dgram_non_fatal_error(int error ) ;   10224 extern int BIO_dgram_non_fatal_error(int error ) ;
10225 extern int BIO_fd_should_retry(int i ) ;   10225 extern int BIO_fd_should_retry(int i ) ;
10226 extern int BIO_fd_non_fatal_error(int error ) ;   10226 extern int BIO_fd_non_fatal_error(int error ) ;
10227 extern int BIO_dump_cb(int (*cb)(void const   *data , size_t len , void *u ) ,   10227 extern int BIO_dump_cb(int (*cb)(void const   *data , size_t len , void *u ) ,
10228                        void *u , char const   *s , int len ) ;   10228                        void *u , char const   *s , int len ) ;
10229 extern int BIO_dump_indent_cb(int (*cb)(void const   *data , size_t len ,   10229 extern int BIO_dump_indent_cb(int (*cb)(void const   *data , size_t len ,
10230                                         void *u ) , void *u , char const   *s ,   10230                                         void *u ) , void *u , char const   *s ,
10231                               int len , int indent ) ;   10231                               int len , int indent ) ;
10232 extern int BIO_dump(BIO *b , char const   *bytes , int len ) ;   10232 extern int BIO_dump(BIO *b , char const   *bytes , int len ) ;
10233 extern int BIO_dump_indent(BIO *b , char const   *bytes , int len , int indent ) ;   10233 extern int BIO_dump_indent(BIO *b , char const   *bytes , int len , int indent ) ;
10234 extern int BIO_dump_fp(FILE *fp , char const   *s , int len ) ;   10234 extern int BIO_dump_fp(FILE *fp , char const   *s , int len ) ;
10235 extern int BIO_dump_indent_fp(FILE *fp , char const   *s , int len , int indent ) ;   10235 extern int BIO_dump_indent_fp(FILE *fp , char const   *s , int len , int indent ) ;
10236 extern struct hostent *BIO_gethostbyname(char const   *name ) ;   10236 extern struct hostent *BIO_gethostbyname(char const   *name ) ;
10237 extern int BIO_sock_error(int sock ) ;   10237 extern int BIO_sock_error(int sock ) ;
10238 extern int BIO_socket_ioctl(int fd , long type , void *arg ) ;   10238 extern int BIO_socket_ioctl(int fd , long type , void *arg ) ;
10239 extern int BIO_socket_nbio(int fd , int mode ) ;   10239 extern int BIO_socket_nbio(int fd , int mode ) ;
10240 extern int BIO_get_port(char const   *str , unsigned short *port_ptr ) ;   10240 extern int BIO_get_port(char const   *str , unsigned short *port_ptr ) ;
10241 extern int BIO_get_host_ip(char const   *str , unsigned char *ip ) ;   10241 extern int BIO_get_host_ip(char const   *str , unsigned char *ip ) ;
10242 extern int BIO_get_accept_socket(char *host_port , int mode ) ;   10242 extern int BIO_get_accept_socket(char *host_port , int mode ) ;
10243 extern int BIO_accept(int sock , char **ip_port ) ;   10243 extern int BIO_accept(int sock , char **ip_port ) ;
10244 extern int BIO_sock_init(void) ;   10244 extern int BIO_sock_init(void) ;
10245 extern void BIO_sock_cleanup(void) ;   10245 extern void BIO_sock_cleanup(void) ;
10246 extern int BIO_set_tcp_ndelay(int sock , int turn_on ) ;   10246 extern int BIO_set_tcp_ndelay(int sock , int turn_on ) ;
10247 extern BIO *BIO_new_socket(int sock , int close_flag ) ;   10247 extern BIO *BIO_new_socket(int sock , int close_flag ) ;
10248 extern BIO *BIO_new_dgram(int fd , int close_flag ) ;   10248 extern BIO *BIO_new_dgram(int fd , int close_flag ) ;
10249 extern BIO *BIO_new_fd(int fd , int close_flag ) ;   10249 extern BIO *BIO_new_fd(int fd , int close_flag ) ;
10250 extern BIO *BIO_new_connect(char *host_port ) ;   10250 extern BIO *BIO_new_connect(char *host_port ) ;
10251 extern BIO *BIO_new_accept(char *host_port ) ;   10251 extern BIO *BIO_new_accept(char *host_port ) ;
10252 extern int BIO_new_bio_pair(BIO **bio1 , size_t writebuf1 , BIO **bio2 ,   10252 extern int BIO_new_bio_pair(BIO **bio1 , size_t writebuf1 , BIO **bio2 ,
10253                             size_t writebuf2 ) ;   10253                             size_t writebuf2 ) ;
10254 extern void BIO_copy_next_retry(BIO *b ) ;   10254 extern void BIO_copy_next_retry(BIO *b ) ;
10255 extern int ( /* format attribute */  BIO_printf)(BIO *bio ,   10255 extern int ( /* format attribute */  BIO_printf)(BIO *bio ,
10256                                                  char const   *format  , ...) ;   10256                                                  char const   *format  , ...) ;
10257 extern int ( /* format attribute */  BIO_vprintf)(BIO *bio ,   10257 extern int ( /* format attribute */  BIO_vprintf)(BIO *bio ,
10258                                                   char const   *format ,   10258                                                   char const   *format ,
10259                                                   va_list args ) ;   10259                                                   va_list args ) ;
10260 extern int ( /* format attribute */  BIO_snprintf)(char *buf , size_t n ,   10260 extern int ( /* format attribute */  BIO_snprintf)(char *buf , size_t n ,
10261                                                    char const   *format  , ...) ;   10261                                                    char const   *format  , ...) ;
10262 extern int ( /* format attribute */  BIO_vsnprintf)(char *buf , size_t n ,   10262 extern int ( /* format attribute */  BIO_vsnprintf)(char *buf , size_t n ,
10263                                                     char const   *format ,   10263                                                     char const   *format ,
10264                                                     va_list args ) ;   10264                                                     va_list args ) ;
10265 extern void ERR_load_BIO_strings(void) ;   10265 extern void ERR_load_BIO_strings(void) ;
10266 extern BUF_MEM *BUF_MEM_new(void) ;   10266 extern BUF_MEM *BUF_MEM_new(void) ;
10267 extern void BUF_MEM_free(BUF_MEM *a ) ;   10267 extern void BUF_MEM_free(BUF_MEM *a ) ;
10268 extern int BUF_MEM_grow(BUF_MEM *str , size_t len ) ;   10268 extern int BUF_MEM_grow(BUF_MEM *str , size_t len ) ;
10269 extern int BUF_MEM_grow_clean(BUF_MEM *str , size_t len ) ;   10269 extern int BUF_MEM_grow_clean(BUF_MEM *str , size_t len ) ;
10270 extern char *BUF_strdup(char const   *str ) ;   10270 extern char *BUF_strdup(char const   *str ) ;
10271 extern char *BUF_strndup(char const   *str , size_t siz ) ;   10271 extern char *BUF_strndup(char const   *str , size_t siz ) ;
10272 extern void *BUF_memdup(void const   *data , size_t siz ) ;   10272 extern void *BUF_memdup(void const   *data , size_t siz ) ;
10273 extern void BUF_reverse(unsigned char *out , unsigned char *in , size_t siz ) ;   10273 extern void BUF_reverse(unsigned char *out , unsigned char *in , size_t siz ) ;
10274 extern size_t BUF_strlcpy(char *dst , char const   *src , size_t siz ) ;   10274 extern size_t BUF_strlcpy(char *dst , char const   *src , size_t siz ) ;
10275 extern size_t BUF_strlcat(char *dst , char const   *src , size_t siz ) ;   10275 extern size_t BUF_strlcat(char *dst , char const   *src , size_t siz ) ;
10276 extern void ERR_load_BUF_strings(void) ;   10276 extern void ERR_load_BUF_strings(void) ;
10277 extern int FIPS_mode_set(int onoff ) ;   10277 extern int FIPS_mode_set(int onoff ) ;
10278 extern int FIPS_mode(void) ;   10278 extern int FIPS_mode(void) ;
10279 extern void const   *FIPS_rand_check(void) ;   10279 extern void const   *FIPS_rand_check(void) ;
10280 extern int FIPS_selftest_failed(void) ;   10280 extern int FIPS_selftest_failed(void) ;
10281 extern void FIPS_selftest_check(void) ;   10281 extern void FIPS_selftest_check(void) ;
10282 extern void FIPS_corrupt_sha1(void) ;   10282 extern void FIPS_corrupt_sha1(void) ;
10283 extern int FIPS_selftest_sha1(void) ;   10283 extern int FIPS_selftest_sha1(void) ;
10284 extern void FIPS_corrupt_aes(void) ;   10284 extern void FIPS_corrupt_aes(void) ;
10285 extern int FIPS_selftest_aes(void) ;   10285 extern int FIPS_selftest_aes(void) ;
10286 extern void FIPS_corrupt_des(void) ;   10286 extern void FIPS_corrupt_des(void) ;
10287 extern int FIPS_selftest_des(void) ;   10287 extern int FIPS_selftest_des(void) ;
10288 extern void FIPS_corrupt_rsa(void) ;   10288 extern void FIPS_corrupt_rsa(void) ;
10289 extern void FIPS_corrupt_rsa_keygen(void) ;   10289 extern void FIPS_corrupt_rsa_keygen(void) ;
10290 extern int FIPS_selftest_rsa(void) ;   10290 extern int FIPS_selftest_rsa(void) ;
10291 extern void FIPS_corrupt_dsa(void) ;   10291 extern void FIPS_corrupt_dsa(void) ;
10292 extern void FIPS_corrupt_dsa_keygen(void) ;   10292 extern void FIPS_corrupt_dsa_keygen(void) ;
10293 extern int FIPS_selftest_dsa(void) ;   10293 extern int FIPS_selftest_dsa(void) ;
10294 extern void FIPS_corrupt_rng(void) ;   10294 extern void FIPS_corrupt_rng(void) ;
10295 extern void FIPS_rng_stick(void) ;   10295 extern void FIPS_rng_stick(void) ;
10296 extern int FIPS_selftest_rng(void) ;   10296 extern int FIPS_selftest_rng(void) ;
10297 extern int FIPS_selftest_hmac(void) ;   10297 extern int FIPS_selftest_hmac(void) ;
10298 extern int fips_pkey_signature_test(struct evp_pkey_st *pkey ,   10298 extern int fips_pkey_signature_test(struct evp_pkey_st *pkey ,
10299                                     unsigned char const   *tbs , int tbslen ,   10299                                     unsigned char const   *tbs , int tbslen ,
10300                                     unsigned char const   *kat ,   10300                                     unsigned char const   *kat ,
10301                                     unsigned int katlen ,   10301                                     unsigned int katlen ,
10302                                     struct env_md_st  const  *digest ,   10302                                     struct env_md_st  const  *digest ,
10303                                     unsigned int md_flags ,   10303                                     unsigned int md_flags ,
10304                                     char const   *fail_str ) ;   10304                                     char const   *fail_str ) ;
10305 extern int fips_cipher_test(struct evp_cipher_ctx_st *ctx ,   10305 extern int fips_cipher_test(struct evp_cipher_ctx_st *ctx ,
10306                             struct evp_cipher_st  const  *cipher ,   10306                             struct evp_cipher_st  const  *cipher ,
10307                             unsigned char const   *key ,   10307                             unsigned char const   *key ,
10308                             unsigned char const   *iv ,   10308                             unsigned char const   *iv ,
10309                             unsigned char const   *plaintext ,   10309                             unsigned char const   *plaintext ,
10310                             unsigned char const   *ciphertext , int len ) ;   10310                             unsigned char const   *ciphertext , int len ) ;
10311 extern void ERR_load_FIPS_strings(void) ;   10311 extern void ERR_load_FIPS_strings(void) ;
10312 extern int BN_GENCB_call(BN_GENCB *cb , int a , int b ) ;   10312 extern int BN_GENCB_call(BN_GENCB *cb , int a , int b ) ;
10313 extern BIGNUM const   *BN_value_one(void) ;   10313 extern BIGNUM const   *BN_value_one(void) ;
10314 extern char *BN_options(void) ;   10314 extern char *BN_options(void) ;
10315 extern BN_CTX *BN_CTX_new(void) ;   10315 extern BN_CTX *BN_CTX_new(void) ;
10316 extern void BN_CTX_init(BN_CTX *c ) ;   10316 extern void BN_CTX_init(BN_CTX *c ) ;
10317 extern void BN_CTX_free(BN_CTX *c ) ;   10317 extern void BN_CTX_free(BN_CTX *c ) ;
10318 extern void BN_CTX_start(BN_CTX *ctx ) ;   10318 extern void BN_CTX_start(BN_CTX *ctx ) ;
10319 extern BIGNUM *BN_CTX_get(BN_CTX *ctx ) ;   10319 extern BIGNUM *BN_CTX_get(BN_CTX *ctx ) ;
10320 extern void BN_CTX_end(BN_CTX *ctx ) ;   10320 extern void BN_CTX_end(BN_CTX *ctx ) ;
10321 extern int BN_rand(BIGNUM *rnd , int bits , int top , int bottom ) ;   10321 extern int BN_rand(BIGNUM *rnd , int bits , int top , int bottom ) ;
10322 extern int BN_pseudo_rand(BIGNUM *rnd , int bits , int top , int bottom ) ;   10322 extern int BN_pseudo_rand(BIGNUM *rnd , int bits , int top , int bottom ) ;
10323 extern int BN_rand_range(BIGNUM *rnd , BIGNUM const   *range ) ;   10323 extern int BN_rand_range(BIGNUM *rnd , BIGNUM const   *range ) ;
10324 extern int BN_pseudo_rand_range(BIGNUM *rnd , BIGNUM const   *range ) ;   10324 extern int BN_pseudo_rand_range(BIGNUM *rnd , BIGNUM const   *range ) ;
10325 extern int BN_num_bits(BIGNUM const   *a ) ;   10325 extern int BN_num_bits(BIGNUM const   *a ) ;
10326 extern int BN_num_bits_word(unsigned int  ) ;   10326 extern int BN_num_bits_word(unsigned int  ) ;
10327 extern BIGNUM *BN_new(void) ;   10327 extern BIGNUM *BN_new(void) ;
10328 extern void BN_init(BIGNUM * ) ;   10328 extern void BN_init(BIGNUM * ) ;
10329 extern void BN_clear_free(BIGNUM *a ) ;   10329 extern void BN_clear_free(BIGNUM *a ) ;
10330 extern BIGNUM *BN_copy(BIGNUM *a , BIGNUM const   *b ) ;   10330 extern BIGNUM *BN_copy(BIGNUM *a , BIGNUM const   *b ) ;
10331 extern void BN_swap(BIGNUM *a , BIGNUM *b ) ;   10331 extern void BN_swap(BIGNUM *a , BIGNUM *b ) ;
10332 extern BIGNUM *BN_bin2bn(unsigned char const   *s , int len , BIGNUM *ret ) ;   10332 extern BIGNUM *BN_bin2bn(unsigned char const   *s , int len , BIGNUM *ret ) ;
10333 extern int BN_bn2bin(BIGNUM const   *a , unsigned char *to ) ;   10333 extern int BN_bn2bin(BIGNUM const   *a , unsigned char *to ) ;
10334 extern BIGNUM *BN_mpi2bn(unsigned char const   *s , int len , BIGNUM *ret ) ;   10334 extern BIGNUM *BN_mpi2bn(unsigned char const   *s , int len , BIGNUM *ret ) ;
10335 extern int BN_bn2mpi(BIGNUM const   *a , unsigned char *to ) ;   10335 extern int BN_bn2mpi(BIGNUM const   *a , unsigned char *to ) ;
10336 extern int BN_sub(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ) ;   10336 extern int BN_sub(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ) ;
10337 extern int BN_usub(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ) ;   10337 extern int BN_usub(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ) ;
10338 extern int BN_uadd(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ) ;   10338 extern int BN_uadd(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ) ;
10339 extern int BN_add(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ) ;   10339 extern int BN_add(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ) ;
10340 extern int BN_mul(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,   10340 extern int BN_mul(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,
10341                   BN_CTX *ctx ) ;   10341                   BN_CTX *ctx ) ;
10342 extern int BN_sqr(BIGNUM *r , BIGNUM const   *a , BN_CTX *ctx ) ;   10342 extern int BN_sqr(BIGNUM *r , BIGNUM const   *a , BN_CTX *ctx ) ;
10343 extern void BN_set_negative(BIGNUM *b , int n ) ;   10343 extern void BN_set_negative(BIGNUM *b , int n ) ;
10344 extern int BN_div(BIGNUM *dv , BIGNUM *rem , BIGNUM const   *m ,   10344 extern int BN_div(BIGNUM *dv , BIGNUM *rem , BIGNUM const   *m ,
10345                   BIGNUM const   *d , BN_CTX *ctx ) ;   10345                   BIGNUM const   *d , BN_CTX *ctx ) ;
10346 extern int BN_nnmod(BIGNUM *r , BIGNUM const   *m , BIGNUM const   *d ,   10346 extern int BN_nnmod(BIGNUM *r , BIGNUM const   *m , BIGNUM const   *d ,
10347                     BN_CTX *ctx ) ;   10347                     BN_CTX *ctx ) ;
10348 extern int BN_mod_add(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,   10348 extern int BN_mod_add(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,
10349                       BIGNUM const   *m , BN_CTX *ctx ) ;   10349                       BIGNUM const   *m , BN_CTX *ctx ) ;
10350 extern int BN_mod_add_quick(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,   10350 extern int BN_mod_add_quick(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,
10351                             BIGNUM const   *m ) ;   10351                             BIGNUM const   *m ) ;
10352 extern int BN_mod_sub(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,   10352 extern int BN_mod_sub(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,
10353                       BIGNUM const   *m , BN_CTX *ctx ) ;   10353                       BIGNUM const   *m , BN_CTX *ctx ) ;
10354 extern int BN_mod_sub_quick(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,   10354 extern int BN_mod_sub_quick(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,
10355                             BIGNUM const   *m ) ;   10355                             BIGNUM const   *m ) ;
10356 extern int BN_mod_mul(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,   10356 extern int BN_mod_mul(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,
10357                       BIGNUM const   *m , BN_CTX *ctx ) ;   10357                       BIGNUM const   *m , BN_CTX *ctx ) ;
10358 extern int BN_mod_sqr(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *m ,   10358 extern int BN_mod_sqr(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *m ,
10359                       BN_CTX *ctx ) ;   10359                       BN_CTX *ctx ) ;
10360 extern int BN_mod_lshift1(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *m ,   10360 extern int BN_mod_lshift1(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *m ,
10361                           BN_CTX *ctx ) ;   10361                           BN_CTX *ctx ) ;
10362 extern int BN_mod_lshift1_quick(BIGNUM *r , BIGNUM const   *a ,   10362 extern int BN_mod_lshift1_quick(BIGNUM *r , BIGNUM const   *a ,
10363                                 BIGNUM const   *m ) ;   10363                                 BIGNUM const   *m ) ;
10364 extern int BN_mod_lshift(BIGNUM *r , BIGNUM const   *a , int n ,   10364 extern int BN_mod_lshift(BIGNUM *r , BIGNUM const   *a , int n ,
10365                          BIGNUM const   *m , BN_CTX *ctx ) ;   10365                          BIGNUM const   *m , BN_CTX *ctx ) ;
10366 extern int BN_mod_lshift_quick(BIGNUM *r , BIGNUM const   *a , int n ,   10366 extern int BN_mod_lshift_quick(BIGNUM *r , BIGNUM const   *a , int n ,
10367                                BIGNUM const   *m ) ;   10367                                BIGNUM const   *m ) ;
10368 extern unsigned int BN_mod_word(BIGNUM const   *a , unsigned int w ) ;   10368 extern unsigned int BN_mod_word(BIGNUM const   *a , unsigned int w ) ;
10369 extern unsigned int BN_div_word(BIGNUM *a , unsigned int w ) ;   10369 extern unsigned int BN_div_word(BIGNUM *a , unsigned int w ) ;
10370 extern int BN_mul_word(BIGNUM *a , unsigned int w ) ;   10370 extern int BN_mul_word(BIGNUM *a , unsigned int w ) ;
10371 extern int BN_add_word(BIGNUM *a , unsigned int w ) ;   10371 extern int BN_add_word(BIGNUM *a , unsigned int w ) ;
10372 extern int BN_sub_word(BIGNUM *a , unsigned int w ) ;   10372 extern int BN_sub_word(BIGNUM *a , unsigned int w ) ;
10373 extern int BN_set_word(BIGNUM *a , unsigned int w ) ;   10373 extern int BN_set_word(BIGNUM *a , unsigned int w ) ;
10374 extern unsigned int BN_get_word(BIGNUM const   *a ) ;   10374 extern unsigned int BN_get_word(BIGNUM const   *a ) ;
10375 extern int BN_cmp(BIGNUM const   *a , BIGNUM const   *b ) ;   10375 extern int BN_cmp(BIGNUM const   *a , BIGNUM const   *b ) ;
10376 extern void BN_free(BIGNUM *a ) ;   10376 extern void BN_free(BIGNUM *a ) ;
10377 extern int BN_is_bit_set(BIGNUM const   *a , int n ) ;   10377 extern int BN_is_bit_set(BIGNUM const   *a , int n ) ;
10378 extern int BN_lshift(BIGNUM *r , BIGNUM const   *a , int n ) ;   10378 extern int BN_lshift(BIGNUM *r , BIGNUM const   *a , int n ) ;
10379 extern int BN_lshift1(BIGNUM *r , BIGNUM const   *a ) ;   10379 extern int BN_lshift1(BIGNUM *r , BIGNUM const   *a ) ;
10380 extern int BN_exp(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,   10380 extern int BN_exp(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,
10381                   BN_CTX *ctx ) ;   10381                   BN_CTX *ctx ) ;
10382 extern int BN_mod_exp(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,   10382 extern int BN_mod_exp(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,
10383                       BIGNUM const   *m , BN_CTX *ctx ) ;   10383                       BIGNUM const   *m , BN_CTX *ctx ) ;
10384 extern int BN_mod_exp_mont(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,   10384 extern int BN_mod_exp_mont(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,
10385                            BIGNUM const   *m , BN_CTX *ctx , BN_MONT_CTX *m_ctx ) ;   10385                            BIGNUM const   *m , BN_CTX *ctx , BN_MONT_CTX *m_ctx ) ;
10386 extern int BN_mod_exp_mont_consttime(BIGNUM *rr , BIGNUM const   *a ,   10386 extern int BN_mod_exp_mont_consttime(BIGNUM *rr , BIGNUM const   *a ,
10387                                      BIGNUM const   *p , BIGNUM const   *m ,   10387                                      BIGNUM const   *p , BIGNUM const   *m ,
10388                                      BN_CTX *ctx , BN_MONT_CTX *in_mont ) ;   10388                                      BN_CTX *ctx , BN_MONT_CTX *in_mont ) ;
10389 extern int BN_mod_exp_mont_word(BIGNUM *r , unsigned int a , BIGNUM const   *p ,   10389 extern int BN_mod_exp_mont_word(BIGNUM *r , unsigned int a , BIGNUM const   *p ,
10390                                 BIGNUM const   *m , BN_CTX *ctx ,   10390                                 BIGNUM const   *m , BN_CTX *ctx ,
10391                                 BN_MONT_CTX *m_ctx ) ;   10391                                 BN_MONT_CTX *m_ctx ) ;
10392 extern int BN_mod_exp2_mont(BIGNUM *r , BIGNUM const   *a1 ,   10392 extern int BN_mod_exp2_mont(BIGNUM *r , BIGNUM const   *a1 ,
10393                             BIGNUM const   *p1 , BIGNUM const   *a2 ,   10393                             BIGNUM const   *p1 , BIGNUM const   *a2 ,
10394                             BIGNUM const   *p2 , BIGNUM const   *m ,   10394                             BIGNUM const   *p2 , BIGNUM const   *m ,
10395                             BN_CTX *ctx , BN_MONT_CTX *m_ctx ) ;   10395                             BN_CTX *ctx , BN_MONT_CTX *m_ctx ) ;
10396 extern int BN_mod_exp_simple(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,   10396 extern int BN_mod_exp_simple(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,
10397                              BIGNUM const   *m , BN_CTX *ctx ) ;   10397                              BIGNUM const   *m , BN_CTX *ctx ) ;
10398 extern int BN_mask_bits(BIGNUM *a , int n ) ;   10398 extern int BN_mask_bits(BIGNUM *a , int n ) ;
10399 extern int BN_print_fp(FILE *fp , BIGNUM const   *a ) ;   10399 extern int BN_print_fp(FILE *fp , BIGNUM const   *a ) ;
10400 extern int BN_print(BIO *fp , BIGNUM const   *a ) ;   10400 extern int BN_print(BIO *fp , BIGNUM const   *a ) ;
10401 extern int BN_reciprocal(BIGNUM *r , BIGNUM const   *m , int len , BN_CTX *ctx ) ;   10401 extern int BN_reciprocal(BIGNUM *r , BIGNUM const   *m , int len , BN_CTX *ctx ) ;
10402 extern int BN_rshift(BIGNUM *r , BIGNUM const   *a , int n ) ;   10402 extern int BN_rshift(BIGNUM *r , BIGNUM const   *a , int n ) ;
10403 extern int BN_rshift1(BIGNUM *r , BIGNUM const   *a ) ;   10403 extern int BN_rshift1(BIGNUM *r , BIGNUM const   *a ) ;
10404 extern void BN_clear(BIGNUM *a ) ;   10404 extern void BN_clear(BIGNUM *a ) ;
10405 extern BIGNUM *BN_dup(BIGNUM const   *a ) ;   10405 extern BIGNUM *BN_dup(BIGNUM const   *a ) ;
10406 extern int BN_ucmp(BIGNUM const   *a , BIGNUM const   *b ) ;   10406 extern int BN_ucmp(BIGNUM const   *a , BIGNUM const   *b ) ;
10407 extern int BN_set_bit(BIGNUM *a , int n ) ;   10407 extern int BN_set_bit(BIGNUM *a , int n ) ;
10408 extern int BN_clear_bit(BIGNUM *a , int n ) ;   10408 extern int BN_clear_bit(BIGNUM *a , int n ) ;
10409 extern char *BN_bn2hex(BIGNUM const   *a ) ;   10409 extern char *BN_bn2hex(BIGNUM const   *a ) ;
10410 extern char *BN_bn2dec(BIGNUM const   *a ) ;   10410 extern char *BN_bn2dec(BIGNUM const   *a ) ;
10411 extern int BN_hex2bn(BIGNUM **a , char const   *str ) ;   10411 extern int BN_hex2bn(BIGNUM **a , char const   *str ) ;
10412 extern int BN_dec2bn(BIGNUM **a , char const   *str ) ;   10412 extern int BN_dec2bn(BIGNUM **a , char const   *str ) ;
10413 extern int BN_asc2bn(BIGNUM **a , char const   *str ) ;   10413 extern int BN_asc2bn(BIGNUM **a , char const   *str ) ;
10414 extern int BN_gcd(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,   10414 extern int BN_gcd(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,
10415                   BN_CTX *ctx ) ;   10415                   BN_CTX *ctx ) ;
10416 extern int BN_kronecker(BIGNUM const   *a , BIGNUM const   *b , BN_CTX *ctx ) ;   10416 extern int BN_kronecker(BIGNUM const   *a , BIGNUM const   *b , BN_CTX *ctx ) ;
10417 extern BIGNUM *BN_mod_inverse(BIGNUM *ret , BIGNUM const   *a ,   10417 extern BIGNUM *BN_mod_inverse(BIGNUM *ret , BIGNUM const   *a ,
10418                               BIGNUM const   *n , BN_CTX *ctx ) ;   10418                               BIGNUM const   *n , BN_CTX *ctx ) ;
10419 extern BIGNUM *BN_mod_sqrt(BIGNUM *ret , BIGNUM const   *a , BIGNUM const   *n ,   10419 extern BIGNUM *BN_mod_sqrt(BIGNUM *ret , BIGNUM const   *a , BIGNUM const   *n ,
10420                            BN_CTX *ctx ) ;   10420                            BN_CTX *ctx ) ;
10421 extern BIGNUM *BN_generate_prime(BIGNUM *ret , int bits , int safe ,   10421 extern BIGNUM *BN_generate_prime(BIGNUM *ret , int bits , int safe ,
10422                                  BIGNUM const   *add , BIGNUM const   *rem ,   10422                                  BIGNUM const   *add , BIGNUM const   *rem ,
10423                                  void (*callback)(int  , int  , void * ) ,   10423                                  void (*callback)(int  , int  , void * ) ,
10424                                  void *cb_arg ) ;   10424                                  void *cb_arg ) ;
10425 extern int BN_is_prime(BIGNUM const   *p , int nchecks ,   10425 extern int BN_is_prime(BIGNUM const   *p , int nchecks ,
10426                        void (*callback)(int  , int  , void * ) , BN_CTX *ctx ,   10426                        void (*callback)(int  , int  , void * ) , BN_CTX *ctx ,
10427                        void *cb_arg ) ;   10427                        void *cb_arg ) ;
10428 extern int BN_is_prime_fasttest(BIGNUM const   *p , int nchecks ,   10428 extern int BN_is_prime_fasttest(BIGNUM const   *p , int nchecks ,
10429                                 void (*callback)(int  , int  , void * ) ,   10429                                 void (*callback)(int  , int  , void * ) ,
10430                                 BN_CTX *ctx , void *cb_arg ,   10430                                 BN_CTX *ctx , void *cb_arg ,
10431                                 int do_trial_division ) ;   10431                                 int do_trial_division ) ;
10432 extern int BN_generate_prime_ex(BIGNUM *ret , int bits , int safe ,   10432 extern int BN_generate_prime_ex(BIGNUM *ret , int bits , int safe ,
10433                                 BIGNUM const   *add , BIGNUM const   *rem ,   10433                                 BIGNUM const   *add , BIGNUM const   *rem ,
10434                                 BN_GENCB *cb ) ;   10434                                 BN_GENCB *cb ) ;
10435 extern int BN_is_prime_ex(BIGNUM const   *p , int nchecks , BN_CTX *ctx ,   10435 extern int BN_is_prime_ex(BIGNUM const   *p , int nchecks , BN_CTX *ctx ,
10436                           BN_GENCB *cb ) ;   10436                           BN_GENCB *cb ) ;
10437 extern int BN_is_prime_fasttest_ex(BIGNUM const   *p , int nchecks ,   10437 extern int BN_is_prime_fasttest_ex(BIGNUM const   *p , int nchecks ,
10438                                    BN_CTX *ctx , int do_trial_division ,   10438                                    BN_CTX *ctx , int do_trial_division ,
10439                                    BN_GENCB *cb ) ;   10439                                    BN_GENCB *cb ) ;
10440 extern int BN_X931_generate_Xpq(BIGNUM *Xp , BIGNUM *Xq , int nbits ,   10440 extern int BN_X931_generate_Xpq(BIGNUM *Xp , BIGNUM *Xq , int nbits ,
10441                                 BN_CTX *ctx ) ;   10441                                 BN_CTX *ctx ) ;
10442 extern int BN_X931_derive_prime_ex(BIGNUM *p , BIGNUM *p1 , BIGNUM *p2 ,   10442 extern int BN_X931_derive_prime_ex(BIGNUM *p , BIGNUM *p1 , BIGNUM *p2 ,
10443                                    BIGNUM const   *Xp , BIGNUM const   *Xp1 ,   10443                                    BIGNUM const   *Xp , BIGNUM const   *Xp1 ,
10444                                    BIGNUM const   *Xp2 , BIGNUM const   *e ,   10444                                    BIGNUM const   *Xp2 , BIGNUM const   *e ,
10445                                    BN_CTX *ctx , BN_GENCB *cb ) ;   10445                                    BN_CTX *ctx , BN_GENCB *cb ) ;
10446 extern int BN_X931_generate_prime_ex(BIGNUM *p , BIGNUM *p1 , BIGNUM *p2 ,   10446 extern int BN_X931_generate_prime_ex(BIGNUM *p , BIGNUM *p1 , BIGNUM *p2 ,
10447                                      BIGNUM *Xp1 , BIGNUM *Xp2 ,   10447                                      BIGNUM *Xp1 , BIGNUM *Xp2 ,
10448                                      BIGNUM const   *Xp , BIGNUM const   *e ,   10448                                      BIGNUM const   *Xp , BIGNUM const   *e ,
10449                                      BN_CTX *ctx , BN_GENCB *cb ) ;   10449                                      BN_CTX *ctx , BN_GENCB *cb ) ;
10450 extern BN_MONT_CTX *BN_MONT_CTX_new(void) ;   10450 extern BN_MONT_CTX *BN_MONT_CTX_new(void) ;
10451 extern void BN_MONT_CTX_init(BN_MONT_CTX *ctx ) ;   10451 extern void BN_MONT_CTX_init(BN_MONT_CTX *ctx ) ;
10452 extern int BN_mod_mul_montgomery(BIGNUM *r , BIGNUM const   *a ,   10452 extern int BN_mod_mul_montgomery(BIGNUM *r , BIGNUM const   *a ,
10453                                  BIGNUM const   *b , BN_MONT_CTX *mont ,   10453                                  BIGNUM const   *b , BN_MONT_CTX *mont ,
10454                                  BN_CTX *ctx ) ;   10454                                  BN_CTX *ctx ) ;
10455 extern int BN_from_montgomery(BIGNUM *r , BIGNUM const   *a ,   10455 extern int BN_from_montgomery(BIGNUM *r , BIGNUM const   *a ,
10456                               BN_MONT_CTX *mont , BN_CTX *ctx ) ;   10456                               BN_MONT_CTX *mont , BN_CTX *ctx ) ;
10457 extern void BN_MONT_CTX_free(BN_MONT_CTX *mont ) ;   10457 extern void BN_MONT_CTX_free(BN_MONT_CTX *mont ) ;
10458 extern int BN_MONT_CTX_set(BN_MONT_CTX *mont , BIGNUM const   *mod ,   10458 extern int BN_MONT_CTX_set(BN_MONT_CTX *mont , BIGNUM const   *mod ,
10459                            BN_CTX *ctx ) ;   10459                            BN_CTX *ctx ) ;
10460 extern BN_MONT_CTX *BN_MONT_CTX_copy(BN_MONT_CTX *to , BN_MONT_CTX *from ) ;   10460 extern BN_MONT_CTX *BN_MONT_CTX_copy(BN_MONT_CTX *to , BN_MONT_CTX *from ) ;
10461 extern BN_MONT_CTX *BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont , int lock ,   10461 extern BN_MONT_CTX *BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont , int lock ,
10462                                            BIGNUM const   *mod , BN_CTX *ctx ) ;   10462                                            BIGNUM const   *mod , BN_CTX *ctx ) ;
10463 extern BN_BLINDING *BN_BLINDING_new(BIGNUM const   *A , BIGNUM const   *Ai ,   10463 extern BN_BLINDING *BN_BLINDING_new(BIGNUM const   *A , BIGNUM const   *Ai ,
10464                                     BIGNUM *mod ) ;   10464                                     BIGNUM *mod ) ;
10465 extern void BN_BLINDING_free(BN_BLINDING *b ) ;   10465 extern void BN_BLINDING_free(BN_BLINDING *b ) ;
10466 extern int BN_BLINDING_update(BN_BLINDING *b , BN_CTX *ctx ) ;   10466 extern int BN_BLINDING_update(BN_BLINDING *b , BN_CTX *ctx ) ;
10467 extern int BN_BLINDING_convert(BIGNUM *n , BN_BLINDING *b , BN_CTX *ctx ) ;   10467 extern int BN_BLINDING_convert(BIGNUM *n , BN_BLINDING *b , BN_CTX *ctx ) ;
10468 extern int BN_BLINDING_invert(BIGNUM *n , BN_BLINDING *b , BN_CTX *ctx ) ;   10468 extern int BN_BLINDING_invert(BIGNUM *n , BN_BLINDING *b , BN_CTX *ctx ) ;
10469 extern int BN_BLINDING_convert_ex(BIGNUM *n , BIGNUM *r , BN_BLINDING *b ,   10469 extern int BN_BLINDING_convert_ex(BIGNUM *n , BIGNUM *r , BN_BLINDING *b ,
10470                                   BN_CTX * ) ;   10470                                   BN_CTX * ) ;
10471 extern int BN_BLINDING_invert_ex(BIGNUM *n , BIGNUM const   *r ,   10471 extern int BN_BLINDING_invert_ex(BIGNUM *n , BIGNUM const   *r ,
10472                                  BN_BLINDING *b , BN_CTX * ) ;   10472                                  BN_BLINDING *b , BN_CTX * ) ;
10473 extern unsigned long BN_BLINDING_get_thread_id(BN_BLINDING const   * ) ;   10473 extern unsigned long BN_BLINDING_get_thread_id(BN_BLINDING const   * ) ;
10474 extern void BN_BLINDING_set_thread_id(BN_BLINDING * , unsigned long  ) ;   10474 extern void BN_BLINDING_set_thread_id(BN_BLINDING * , unsigned long  ) ;
10475 extern CRYPTO_THREADID *BN_BLINDING_thread_id(BN_BLINDING * ) ;   10475 extern CRYPTO_THREADID *BN_BLINDING_thread_id(BN_BLINDING * ) ;
10476 extern unsigned long BN_BLINDING_get_flags(BN_BLINDING const   * ) ;   10476 extern unsigned long BN_BLINDING_get_flags(BN_BLINDING const   * ) ;
10477 extern void BN_BLINDING_set_flags(BN_BLINDING * , unsigned long  ) ;   10477 extern void BN_BLINDING_set_flags(BN_BLINDING * , unsigned long  ) ;
10478 extern BN_BLINDING *BN_BLINDING_create_param(BN_BLINDING *b ,   10478 extern BN_BLINDING *BN_BLINDING_create_param(BN_BLINDING *b ,
10479                                              BIGNUM const   *e , BIGNUM *m ,   10479                                              BIGNUM const   *e , BIGNUM *m ,
10480                                              BN_CTX *ctx ,   10480                                              BN_CTX *ctx ,
10481                                              int (*bn_mod_exp)(BIGNUM *r ,   10481                                              int (*bn_mod_exp)(BIGNUM *r ,
10482                                                                BIGNUM const   *a ,   10482                                                                BIGNUM const   *a ,
10483                                                                BIGNUM const   *p ,   10483                                                                BIGNUM const   *p ,
10484                                                                BIGNUM const   *m ,   10484                                                                BIGNUM const   *m ,
10485                                                                BN_CTX *ctx ,   10485                                                                BN_CTX *ctx ,
10486                                                                BN_MONT_CTX *m_ctx ) ,   10486                                                                BN_MONT_CTX *m_ctx ) ,
10487                                              BN_MONT_CTX *m_ctx ) ;   10487                                              BN_MONT_CTX *m_ctx ) ;
10488 extern void BN_set_params(int mul , int high , int low , int mont ) ;   10488 extern void BN_set_params(int mul , int high , int low , int mont ) ;
10489 extern int BN_get_params(int which ) ;   10489 extern int BN_get_params(int which ) ;
10490 extern void BN_RECP_CTX_init(BN_RECP_CTX *recp ) ;   10490 extern void BN_RECP_CTX_init(BN_RECP_CTX *recp ) ;
10491 extern BN_RECP_CTX *BN_RECP_CTX_new(void) ;   10491 extern BN_RECP_CTX *BN_RECP_CTX_new(void) ;
10492 extern void BN_RECP_CTX_free(BN_RECP_CTX *recp ) ;   10492 extern void BN_RECP_CTX_free(BN_RECP_CTX *recp ) ;
10493 extern int BN_RECP_CTX_set(BN_RECP_CTX *recp , BIGNUM const   *rdiv ,   10493 extern int BN_RECP_CTX_set(BN_RECP_CTX *recp , BIGNUM const   *rdiv ,
10494                            BN_CTX *ctx ) ;   10494                            BN_CTX *ctx ) ;
10495 extern int BN_mod_mul_reciprocal(BIGNUM *r , BIGNUM const   *x ,   10495 extern int BN_mod_mul_reciprocal(BIGNUM *r , BIGNUM const   *x ,
10496                                  BIGNUM const   *y , BN_RECP_CTX *recp ,   10496                                  BIGNUM const   *y , BN_RECP_CTX *recp ,
10497                                  BN_CTX *ctx ) ;   10497                                  BN_CTX *ctx ) ;
10498 extern int BN_mod_exp_recp(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,   10498 extern int BN_mod_exp_recp(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,
10499                            BIGNUM const   *m , BN_CTX *ctx ) ;   10499                            BIGNUM const   *m , BN_CTX *ctx ) ;
10500 extern int BN_div_recp(BIGNUM *dv , BIGNUM *rem , BIGNUM const   *m ,   10500 extern int BN_div_recp(BIGNUM *dv , BIGNUM *rem , BIGNUM const   *m ,
10501                        BN_RECP_CTX *recp , BN_CTX *ctx ) ;   10501                        BN_RECP_CTX *recp , BN_CTX *ctx ) ;
10502 extern int BN_GF2m_add(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ) ;   10502 extern int BN_GF2m_add(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ) ;
10503 extern int BN_GF2m_mod(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ) ;   10503 extern int BN_GF2m_mod(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ) ;
10504 extern int BN_GF2m_mod_mul(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,   10504 extern int BN_GF2m_mod_mul(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,
10505                            BIGNUM const   *p , BN_CTX *ctx ) ;   10505                            BIGNUM const   *p , BN_CTX *ctx ) ;
10506 extern int BN_GF2m_mod_sqr(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,   10506 extern int BN_GF2m_mod_sqr(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,
10507                            BN_CTX *ctx ) ;   10507                            BN_CTX *ctx ) ;
10508 extern int BN_GF2m_mod_inv(BIGNUM *r , BIGNUM const   *b , BIGNUM const   *p ,   10508 extern int BN_GF2m_mod_inv(BIGNUM *r , BIGNUM const   *b , BIGNUM const   *p ,
10509                            BN_CTX *ctx ) ;   10509                            BN_CTX *ctx ) ;
10510 extern int BN_GF2m_mod_div(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,   10510 extern int BN_GF2m_mod_div(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,
10511                            BIGNUM const   *p , BN_CTX *ctx ) ;   10511                            BIGNUM const   *p , BN_CTX *ctx ) ;
10512 extern int BN_GF2m_mod_exp(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,   10512 extern int BN_GF2m_mod_exp(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *b ,
10513                            BIGNUM const   *p , BN_CTX *ctx ) ;   10513                            BIGNUM const   *p , BN_CTX *ctx ) ;
10514 extern int BN_GF2m_mod_sqrt(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,   10514 extern int BN_GF2m_mod_sqrt(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,
10515                             BN_CTX *ctx ) ;   10515                             BN_CTX *ctx ) ;
10516 extern int BN_GF2m_mod_solve_quad(BIGNUM *r , BIGNUM const   *a ,   10516 extern int BN_GF2m_mod_solve_quad(BIGNUM *r , BIGNUM const   *a ,
10517                                   BIGNUM const   *p , BN_CTX *ctx ) ;   10517                                   BIGNUM const   *p , BN_CTX *ctx ) ;
10518 extern int BN_GF2m_mod_arr(BIGNUM *r , BIGNUM const   *a , int const   *p ) ;   10518 extern int BN_GF2m_mod_arr(BIGNUM *r , BIGNUM const   *a , int const   *p ) ;
10519 extern int BN_GF2m_mod_mul_arr(BIGNUM *r , BIGNUM const   *a ,   10519 extern int BN_GF2m_mod_mul_arr(BIGNUM *r , BIGNUM const   *a ,
10520                                BIGNUM const   *b , int const   *p , BN_CTX *ctx ) ;   10520                                BIGNUM const   *b , int const   *p , BN_CTX *ctx ) ;
10521 extern int BN_GF2m_mod_sqr_arr(BIGNUM *r , BIGNUM const   *a , int const   *p ,   10521 extern int BN_GF2m_mod_sqr_arr(BIGNUM *r , BIGNUM const   *a , int const   *p ,
10522                                BN_CTX *ctx ) ;   10522                                BN_CTX *ctx ) ;
10523 extern int BN_GF2m_mod_inv_arr(BIGNUM *r , BIGNUM const   *b , int const   *p ,   10523 extern int BN_GF2m_mod_inv_arr(BIGNUM *r , BIGNUM const   *b , int const   *p ,
10524                                BN_CTX *ctx ) ;   10524                                BN_CTX *ctx ) ;
10525 extern int BN_GF2m_mod_div_arr(BIGNUM *r , BIGNUM const   *a ,   10525 extern int BN_GF2m_mod_div_arr(BIGNUM *r , BIGNUM const   *a ,
10526                                BIGNUM const   *b , int const   *p , BN_CTX *ctx ) ;   10526                                BIGNUM const   *b , int const   *p , BN_CTX *ctx ) ;
10527 extern int BN_GF2m_mod_exp_arr(BIGNUM *r , BIGNUM const   *a ,   10527 extern int BN_GF2m_mod_exp_arr(BIGNUM *r , BIGNUM const   *a ,
10528                                BIGNUM const   *b , int const   *p , BN_CTX *ctx ) ;   10528                                BIGNUM const   *b , int const   *p , BN_CTX *ctx ) ;
10529 extern int BN_GF2m_mod_sqrt_arr(BIGNUM *r , BIGNUM const   *a , int const   *p ,   10529 extern int BN_GF2m_mod_sqrt_arr(BIGNUM *r , BIGNUM const   *a , int const   *p ,
10530                                 BN_CTX *ctx ) ;   10530                                 BN_CTX *ctx ) ;
10531 extern int BN_GF2m_mod_solve_quad_arr(BIGNUM *r , BIGNUM const   *a ,   10531 extern int BN_GF2m_mod_solve_quad_arr(BIGNUM *r , BIGNUM const   *a ,
10532                                       int const   *p , BN_CTX *ctx ) ;   10532                                       int const   *p , BN_CTX *ctx ) ;
10533 extern int BN_GF2m_poly2arr(BIGNUM const   *a , int *p , int max ) ;   10533 extern int BN_GF2m_poly2arr(BIGNUM const   *a , int *p , int max ) ;
10534 extern int BN_GF2m_arr2poly(int const   *p , BIGNUM *a ) ;   10534 extern int BN_GF2m_arr2poly(int const   *p , BIGNUM *a ) ;
10535 extern int BN_nist_mod_192(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,   10535 extern int BN_nist_mod_192(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,
10536                            BN_CTX *ctx ) ;   10536                            BN_CTX *ctx ) ;
10537 extern int BN_nist_mod_224(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,   10537 extern int BN_nist_mod_224(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,
10538                            BN_CTX *ctx ) ;   10538                            BN_CTX *ctx ) ;
10539 extern int BN_nist_mod_256(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,   10539 extern int BN_nist_mod_256(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,
10540                            BN_CTX *ctx ) ;   10540                            BN_CTX *ctx ) ;
10541 extern int BN_nist_mod_384(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,   10541 extern int BN_nist_mod_384(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,
10542                            BN_CTX *ctx ) ;   10542                            BN_CTX *ctx ) ;
10543 extern int BN_nist_mod_521(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,   10543 extern int BN_nist_mod_521(BIGNUM *r , BIGNUM const   *a , BIGNUM const   *p ,
10544                            BN_CTX *ctx ) ;   10544                            BN_CTX *ctx ) ;
10545 extern BIGNUM const   *BN_get0_nist_prime_192(void) ;   10545 extern BIGNUM const   *BN_get0_nist_prime_192(void) ;
10546 extern BIGNUM const   *BN_get0_nist_prime_224(void) ;   10546 extern BIGNUM const   *BN_get0_nist_prime_224(void) ;
10547 extern BIGNUM const   *BN_get0_nist_prime_256(void) ;   10547 extern BIGNUM const   *BN_get0_nist_prime_256(void) ;
10548 extern BIGNUM const   *BN_get0_nist_prime_384(void) ;   10548 extern BIGNUM const   *BN_get0_nist_prime_384(void) ;
10549 extern BIGNUM const   *BN_get0_nist_prime_521(void) ;   10549 extern BIGNUM const   *BN_get0_nist_prime_521(void) ;
10550 extern BIGNUM *bn_expand2(BIGNUM *a , int words ) ;   10550 extern BIGNUM *bn_expand2(BIGNUM *a , int words ) ;
10551 extern BIGNUM *bn_dup_expand(BIGNUM const   *a , int words ) ;   10551 extern BIGNUM *bn_dup_expand(BIGNUM const   *a , int words ) ;
10552 extern unsigned int bn_mul_add_words(unsigned int *rp ,   10552 extern unsigned int bn_mul_add_words(unsigned int *rp ,
10553                                      unsigned int const   *ap , int num ,   10553                                      unsigned int const   *ap , int num ,
10554                                      unsigned int w ) ;   10554                                      unsigned int w ) ;
10555 extern unsigned int bn_mul_words(unsigned int *rp , unsigned int const   *ap ,   10555 extern unsigned int bn_mul_words(unsigned int *rp , unsigned int const   *ap ,
10556                                  int num , unsigned int w ) ;   10556                                  int num , unsigned int w ) ;
10557 extern void bn_sqr_words(unsigned int *rp , unsigned int const   *ap , int num ) ;   10557 extern void bn_sqr_words(unsigned int *rp , unsigned int const   *ap , int num ) ;
10558 extern unsigned int bn_div_words(unsigned int h , unsigned int l ,   10558 extern unsigned int bn_div_words(unsigned int h , unsigned int l ,
10559                                  unsigned int d ) ;   10559                                  unsigned int d ) ;
10560 extern unsigned int bn_add_words(unsigned int *rp , unsigned int const   *ap ,   10560 extern unsigned int bn_add_words(unsigned int *rp , unsigned int const   *ap ,
10561                                  unsigned int const   *bp , int num ) ;   10561                                  unsigned int const   *bp , int num ) ;
10562 extern unsigned int bn_sub_words(unsigned int *rp , unsigned int const   *ap ,   10562 extern unsigned int bn_sub_words(unsigned int *rp , unsigned int const   *ap ,
10563                                  unsigned int const   *bp , int num ) ;   10563                                  unsigned int const   *bp , int num ) ;
10564 extern BIGNUM *get_rfc2409_prime_768(BIGNUM *bn ) ;   10564 extern BIGNUM *get_rfc2409_prime_768(BIGNUM *bn ) ;
10565 extern BIGNUM *get_rfc2409_prime_1024(BIGNUM *bn ) ;   10565 extern BIGNUM *get_rfc2409_prime_1024(BIGNUM *bn ) ;
10566 extern BIGNUM *get_rfc3526_prime_1536(BIGNUM *bn ) ;   10566 extern BIGNUM *get_rfc3526_prime_1536(BIGNUM *bn ) ;
10567 extern BIGNUM *get_rfc3526_prime_2048(BIGNUM *bn ) ;   10567 extern BIGNUM *get_rfc3526_prime_2048(BIGNUM *bn ) ;
10568 extern BIGNUM *get_rfc3526_prime_3072(BIGNUM *bn ) ;   10568 extern BIGNUM *get_rfc3526_prime_3072(BIGNUM *bn ) ;
10569 extern BIGNUM *get_rfc3526_prime_4096(BIGNUM *bn ) ;   10569 extern BIGNUM *get_rfc3526_prime_4096(BIGNUM *bn ) ;
10570 extern BIGNUM *get_rfc3526_prime_6144(BIGNUM *bn ) ;   10570 extern BIGNUM *get_rfc3526_prime_6144(BIGNUM *bn ) ;
10571 extern BIGNUM *get_rfc3526_prime_8192(BIGNUM *bn ) ;   10571 extern BIGNUM *get_rfc3526_prime_8192(BIGNUM *bn ) ;
10572 extern int BN_bntest_rand(BIGNUM *rnd , int bits , int top , int bottom ) ;   10572 extern int BN_bntest_rand(BIGNUM *rnd , int bits , int top , int bottom ) ;
10573 extern void ERR_load_BN_strings(void) ;   10573 extern void ERR_load_BN_strings(void) ;
10574 extern ASN1_SEQUENCE_ANY *d2i_ASN1_SEQUENCE_ANY(ASN1_SEQUENCE_ANY **a ,   10574 extern ASN1_SEQUENCE_ANY *d2i_ASN1_SEQUENCE_ANY(ASN1_SEQUENCE_ANY **a ,
10575                                                 unsigned char const   **in ,   10575                                                 unsigned char const   **in ,
10576                                                 long len ) ;   10576                                                 long len ) ;
10577 extern int i2d_ASN1_SEQUENCE_ANY(ASN1_SEQUENCE_ANY const   *a ,   10577 extern int i2d_ASN1_SEQUENCE_ANY(ASN1_SEQUENCE_ANY const   *a ,
10578                                  unsigned char **out ) ;   10578                                  unsigned char **out ) ;
10579 extern ASN1_ITEM const   ASN1_SEQUENCE_ANY_it ;   10579 extern ASN1_ITEM const   ASN1_SEQUENCE_ANY_it ;
10580 extern ASN1_SEQUENCE_ANY *d2i_ASN1_SET_ANY(ASN1_SEQUENCE_ANY **a ,   10580 extern ASN1_SEQUENCE_ANY *d2i_ASN1_SET_ANY(ASN1_SEQUENCE_ANY **a ,
10581                                            unsigned char const   **in ,   10581                                            unsigned char const   **in ,
10582                                            long len ) ;   10582                                            long len ) ;
10583 extern int i2d_ASN1_SET_ANY(ASN1_SEQUENCE_ANY const   *a , unsigned char **out ) ;   10583 extern int i2d_ASN1_SET_ANY(ASN1_SEQUENCE_ANY const   *a , unsigned char **out ) ;
10584 extern ASN1_ITEM const   ASN1_SET_ANY_it ;   10584 extern ASN1_ITEM const   ASN1_SET_ANY_it ;
10585 extern ASN1_TYPE *ASN1_TYPE_new(void) ;   10585 extern ASN1_TYPE *ASN1_TYPE_new(void) ;
10586 extern void ASN1_TYPE_free(ASN1_TYPE *a ) ;   10586 extern void ASN1_TYPE_free(ASN1_TYPE *a ) ;
10587 extern ASN1_TYPE *d2i_ASN1_TYPE(ASN1_TYPE **a , unsigned char const   **in ,   10587 extern ASN1_TYPE *d2i_ASN1_TYPE(ASN1_TYPE **a , unsigned char const   **in ,
10588                                 long len ) ;   10588                                 long len ) ;
10589 extern int i2d_ASN1_TYPE(ASN1_TYPE *a , unsigned char **out ) ;   10589 extern int i2d_ASN1_TYPE(ASN1_TYPE *a , unsigned char **out ) ;
10590 extern ASN1_ITEM const   ASN1_ANY_it ;   10590 extern ASN1_ITEM const   ASN1_ANY_it ;
10591 extern int ASN1_TYPE_get(ASN1_TYPE *a ) ;   10591 extern int ASN1_TYPE_get(ASN1_TYPE *a ) ;
10592 extern void ASN1_TYPE_set(ASN1_TYPE *a , int type , void *value ) ;   10592 extern void ASN1_TYPE_set(ASN1_TYPE *a , int type , void *value ) ;
10593 extern int ASN1_TYPE_set1(ASN1_TYPE *a , int type , void const   *value ) ;   10593 extern int ASN1_TYPE_set1(ASN1_TYPE *a , int type , void const   *value ) ;
10594 extern int ASN1_TYPE_cmp(ASN1_TYPE *a , ASN1_TYPE *b ) ;   10594 extern int ASN1_TYPE_cmp(ASN1_TYPE *a , ASN1_TYPE *b ) ;
10595 extern ASN1_OBJECT *ASN1_OBJECT_new(void) ;   10595 extern ASN1_OBJECT *ASN1_OBJECT_new(void) ;
10596 extern void ASN1_OBJECT_free(ASN1_OBJECT *a ) ;   10596 extern void ASN1_OBJECT_free(ASN1_OBJECT *a ) ;
10597 extern int i2d_ASN1_OBJECT(ASN1_OBJECT *a , unsigned char **pp ) ;   10597 extern int i2d_ASN1_OBJECT(ASN1_OBJECT *a , unsigned char **pp ) ;
10598 extern ASN1_OBJECT *c2i_ASN1_OBJECT(ASN1_OBJECT **a ,   10598 extern ASN1_OBJECT *c2i_ASN1_OBJECT(ASN1_OBJECT **a ,
10599                                     unsigned char const   **pp , long length ) ;   10599                                     unsigned char const   **pp , long length ) ;
10600 extern ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a ,   10600 extern ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a ,
10601                                     unsigned char const   **pp , long length ) ;   10601                                     unsigned char const   **pp , long length ) ;
10602 extern ASN1_ITEM const   ASN1_OBJECT_it ;   10602 extern ASN1_ITEM const   ASN1_OBJECT_it ;
10603 extern ASN1_STRING *ASN1_STRING_new(void) ;   10603 extern ASN1_STRING *ASN1_STRING_new(void) ;
10604 extern void ASN1_STRING_free(ASN1_STRING *a ) ;   10604 extern void ASN1_STRING_free(ASN1_STRING *a ) ;
10605 extern int ASN1_STRING_copy(ASN1_STRING *dst , ASN1_STRING const   *str ) ;   10605 extern int ASN1_STRING_copy(ASN1_STRING *dst , ASN1_STRING const   *str ) ;
10606 extern ASN1_STRING *ASN1_STRING_dup(ASN1_STRING const   *a ) ;   10606 extern ASN1_STRING *ASN1_STRING_dup(ASN1_STRING const   *a ) ;
10607 extern ASN1_STRING *ASN1_STRING_type_new(int type ) ;   10607 extern ASN1_STRING *ASN1_STRING_type_new(int type ) ;
10608 extern int ASN1_STRING_cmp(ASN1_STRING const   *a , ASN1_STRING const   *b ) ;   10608 extern int ASN1_STRING_cmp(ASN1_STRING const   *a , ASN1_STRING const   *b ) ;
10609 extern int ASN1_STRING_set(ASN1_STRING *str , void const   *data , int len ) ;   10609 extern int ASN1_STRING_set(ASN1_STRING *str , void const   *data , int len ) ;
10610 extern void ASN1_STRING_set0(ASN1_STRING *str , void *data , int len ) ;   10610 extern void ASN1_STRING_set0(ASN1_STRING *str , void *data , int len ) ;
10611 extern int ASN1_STRING_length(ASN1_STRING const   *x ) ;   10611 extern int ASN1_STRING_length(ASN1_STRING const   *x ) ;
10612 extern void ASN1_STRING_length_set(ASN1_STRING *x , int n ) ;   10612 extern void ASN1_STRING_length_set(ASN1_STRING *x , int n ) ;
10613 extern int ASN1_STRING_type(ASN1_STRING *x ) ;   10613 extern int ASN1_STRING_type(ASN1_STRING *x ) ;
10614 extern unsigned char *ASN1_STRING_data(ASN1_STRING *x ) ;   10614 extern unsigned char *ASN1_STRING_data(ASN1_STRING *x ) ;
10615 extern ASN1_BIT_STRING *ASN1_BIT_STRING_new(void) ;   10615 extern ASN1_BIT_STRING *ASN1_BIT_STRING_new(void) ;
10616 extern void ASN1_BIT_STRING_free(ASN1_BIT_STRING *a ) ;   10616 extern void ASN1_BIT_STRING_free(ASN1_BIT_STRING *a ) ;
10617 extern ASN1_BIT_STRING *d2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a ,   10617 extern ASN1_BIT_STRING *d2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a ,
10618                                             unsigned char const   **in ,   10618                                             unsigned char const   **in ,
10619                                             long len ) ;   10619                                             long len ) ;
10620 extern int i2d_ASN1_BIT_STRING(ASN1_BIT_STRING *a , unsigned char **out ) ;   10620 extern int i2d_ASN1_BIT_STRING(ASN1_BIT_STRING *a , unsigned char **out ) ;
10621 extern ASN1_ITEM const   ASN1_BIT_STRING_it ;   10621 extern ASN1_ITEM const   ASN1_BIT_STRING_it ;
10622 extern int i2c_ASN1_BIT_STRING(ASN1_BIT_STRING *a , unsigned char **pp ) ;   10622 extern int i2c_ASN1_BIT_STRING(ASN1_BIT_STRING *a , unsigned char **pp ) ;
10623 extern ASN1_BIT_STRING *c2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a ,   10623 extern ASN1_BIT_STRING *c2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a ,
10624                                             unsigned char const   **pp ,   10624                                             unsigned char const   **pp ,
10625                                             long length ) ;   10625                                             long length ) ;
10626 extern int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a , unsigned char *d ,   10626 extern int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a , unsigned char *d ,
10627                                int length ) ;   10627                                int length ) ;
10628 extern int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a , int n , int value ) ;   10628 extern int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a , int n , int value ) ;
10629 extern int ASN1_BIT_STRING_get_bit(ASN1_BIT_STRING *a , int n ) ;   10629 extern int ASN1_BIT_STRING_get_bit(ASN1_BIT_STRING *a , int n ) ;
10630 extern int ASN1_BIT_STRING_check(ASN1_BIT_STRING *a , unsigned char *flags ,   10630 extern int ASN1_BIT_STRING_check(ASN1_BIT_STRING *a , unsigned char *flags ,
10631                                  int flags_len ) ;   10631                                  int flags_len ) ;
10632 extern int ASN1_BIT_STRING_name_print(BIO *out , ASN1_BIT_STRING *bs ,   10632 extern int ASN1_BIT_STRING_name_print(BIO *out , ASN1_BIT_STRING *bs ,
10633                                       BIT_STRING_BITNAME *tbl , int indent ) ;   10633                                       BIT_STRING_BITNAME *tbl , int indent ) ;
10634 extern int ASN1_BIT_STRING_num_asc(char *name , BIT_STRING_BITNAME *tbl ) ;   10634 extern int ASN1_BIT_STRING_num_asc(char *name , BIT_STRING_BITNAME *tbl ) ;
10635 extern int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs , char *name ,   10635 extern int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs , char *name ,
10636                                    int value , BIT_STRING_BITNAME *tbl ) ;   10636                                    int value , BIT_STRING_BITNAME *tbl ) ;
10637 extern int i2d_ASN1_BOOLEAN(int a , unsigned char **pp ) ;   10637 extern int i2d_ASN1_BOOLEAN(int a , unsigned char **pp ) ;
10638 extern int d2i_ASN1_BOOLEAN(int *a , unsigned char const   **pp , long length ) ;   10638 extern int d2i_ASN1_BOOLEAN(int *a , unsigned char const   **pp , long length ) ;
10639 extern ASN1_INTEGER *ASN1_INTEGER_new(void) ;   10639 extern ASN1_INTEGER *ASN1_INTEGER_new(void) ;
10640 extern void ASN1_INTEGER_free(ASN1_INTEGER *a ) ;   10640 extern void ASN1_INTEGER_free(ASN1_INTEGER *a ) ;
10641 extern ASN1_INTEGER *d2i_ASN1_INTEGER(ASN1_INTEGER **a ,   10641 extern ASN1_INTEGER *d2i_ASN1_INTEGER(ASN1_INTEGER **a ,
10642                                       unsigned char const   **in , long len ) ;   10642                                       unsigned char const   **in , long len ) ;
10643 extern int i2d_ASN1_INTEGER(ASN1_INTEGER *a , unsigned char **out ) ;   10643 extern int i2d_ASN1_INTEGER(ASN1_INTEGER *a , unsigned char **out ) ;
10644 extern ASN1_ITEM const   ASN1_INTEGER_it ;   10644 extern ASN1_ITEM const   ASN1_INTEGER_it ;
10645 extern int i2c_ASN1_INTEGER(ASN1_INTEGER *a , unsigned char **pp ) ;   10645 extern int i2c_ASN1_INTEGER(ASN1_INTEGER *a , unsigned char **pp ) ;
10646 extern ASN1_INTEGER *c2i_ASN1_INTEGER(ASN1_INTEGER **a ,   10646 extern ASN1_INTEGER *c2i_ASN1_INTEGER(ASN1_INTEGER **a ,
10647                                       unsigned char const   **pp , long length ) ;   10647                                       unsigned char const   **pp , long length ) ;
10648 extern ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a ,   10648 extern ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a ,
10649                                        unsigned char const   **pp , long length ) ;   10649                                        unsigned char const   **pp , long length ) ;
10650 extern ASN1_INTEGER *ASN1_INTEGER_dup(ASN1_INTEGER const   *x ) ;   10650 extern ASN1_INTEGER *ASN1_INTEGER_dup(ASN1_INTEGER const   *x ) ;
10651 extern int ASN1_INTEGER_cmp(ASN1_INTEGER const   *x , ASN1_INTEGER const   *y ) ;   10651 extern int ASN1_INTEGER_cmp(ASN1_INTEGER const   *x , ASN1_INTEGER const   *y ) ;
10652 extern ASN1_ENUMERATED *ASN1_ENUMERATED_new(void) ;   10652 extern ASN1_ENUMERATED *ASN1_ENUMERATED_new(void) ;
10653 extern void ASN1_ENUMERATED_free(ASN1_ENUMERATED *a ) ;   10653 extern void ASN1_ENUMERATED_free(ASN1_ENUMERATED *a ) ;
10654 extern ASN1_ENUMERATED *d2i_ASN1_ENUMERATED(ASN1_ENUMERATED **a ,   10654 extern ASN1_ENUMERATED *d2i_ASN1_ENUMERATED(ASN1_ENUMERATED **a ,
10655                                             unsigned char const   **in ,   10655                                             unsigned char const   **in ,
10656                                             long len ) ;   10656                                             long len ) ;
10657 extern int i2d_ASN1_ENUMERATED(ASN1_ENUMERATED *a , unsigned char **out ) ;   10657 extern int i2d_ASN1_ENUMERATED(ASN1_ENUMERATED *a , unsigned char **out ) ;
10658 extern ASN1_ITEM const   ASN1_ENUMERATED_it ;   10658 extern ASN1_ITEM const   ASN1_ENUMERATED_it ;
10659 extern int ASN1_UTCTIME_check(ASN1_UTCTIME *a ) ;   10659 extern int ASN1_UTCTIME_check(ASN1_UTCTIME *a ) ;
10660 extern ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s , time_t t ) ;   10660 extern ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s , time_t t ) ;
10661 extern ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s , time_t t ,   10661 extern ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s , time_t t ,
10662                                       int offset_day , long offset_sec ) ;   10662                                       int offset_day , long offset_sec ) ;
10663 extern int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s , char const   *str ) ;   10663 extern int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s , char const   *str ) ;
10664 extern int ASN1_UTCTIME_cmp_time_t(ASN1_UTCTIME const   *s , time_t t ) ;   10664 extern int ASN1_UTCTIME_cmp_time_t(ASN1_UTCTIME const   *s , time_t t ) ;
10665 extern int ASN1_GENERALIZEDTIME_check(ASN1_GENERALIZEDTIME *a ) ;   10665 extern int ASN1_GENERALIZEDTIME_check(ASN1_GENERALIZEDTIME *a ) ;
10666 extern ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s ,   10666 extern ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s ,
10667                                                       time_t t ) ;   10667                                                       time_t t ) ;
10668 extern ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_adj(ASN1_GENERALIZEDTIME *s ,   10668 extern ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_adj(ASN1_GENERALIZEDTIME *s ,
10669                                                       time_t t ,   10669                                                       time_t t ,
10670                                                       int offset_day ,   10670                                                       int offset_day ,
10671                                                       long offset_sec ) ;   10671                                                       long offset_sec ) ;
10672 extern int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *s ,   10672 extern int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *s ,
10673                                            char const   *str ) ;   10673                                            char const   *str ) ;
10674 extern ASN1_OCTET_STRING *ASN1_OCTET_STRING_new(void) ;   10674 extern ASN1_OCTET_STRING *ASN1_OCTET_STRING_new(void) ;
10675 extern void ASN1_OCTET_STRING_free(ASN1_OCTET_STRING *a ) ;   10675 extern void ASN1_OCTET_STRING_free(ASN1_OCTET_STRING *a ) ;
10676 extern ASN1_OCTET_STRING *d2i_ASN1_OCTET_STRING(ASN1_OCTET_STRING **a ,   10676 extern ASN1_OCTET_STRING *d2i_ASN1_OCTET_STRING(ASN1_OCTET_STRING **a ,
10677                                                 unsigned char const   **in ,   10677                                                 unsigned char const   **in ,
10678                                                 long len ) ;   10678                                                 long len ) ;
10679 extern int i2d_ASN1_OCTET_STRING(ASN1_OCTET_STRING *a , unsigned char **out ) ;   10679 extern int i2d_ASN1_OCTET_STRING(ASN1_OCTET_STRING *a , unsigned char **out ) ;
10680 extern ASN1_ITEM const   ASN1_OCTET_STRING_it ;   10680 extern ASN1_ITEM const   ASN1_OCTET_STRING_it ;
10681 extern ASN1_OCTET_STRING *ASN1_OCTET_STRING_dup(ASN1_OCTET_STRING const   *a ) ;   10681 extern ASN1_OCTET_STRING *ASN1_OCTET_STRING_dup(ASN1_OCTET_STRING const   *a ) ;
10682 extern int ASN1_OCTET_STRING_cmp(ASN1_OCTET_STRING const   *a ,   10682 extern int ASN1_OCTET_STRING_cmp(ASN1_OCTET_STRING const   *a ,
10683                                  ASN1_OCTET_STRING const   *b ) ;   10683                                  ASN1_OCTET_STRING const   *b ) ;
10684 extern int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *str ,   10684 extern int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *str ,
10685                                  unsigned char const   *data , int len ) ;   10685                                  unsigned char const   *data , int len ) ;
10686 extern ASN1_VISIBLESTRING *ASN1_VISIBLESTRING_new(void) ;   10686 extern ASN1_VISIBLESTRING *ASN1_VISIBLESTRING_new(void) ;
10687 extern void ASN1_VISIBLESTRING_free(ASN1_VISIBLESTRING *a ) ;   10687 extern void ASN1_VISIBLESTRING_free(ASN1_VISIBLESTRING *a ) ;
10688 extern ASN1_VISIBLESTRING *d2i_ASN1_VISIBLESTRING(ASN1_VISIBLESTRING **a ,   10688 extern ASN1_VISIBLESTRING *d2i_ASN1_VISIBLESTRING(ASN1_VISIBLESTRING **a ,
10689                                                   unsigned char const   **in ,   10689                                                   unsigned char const   **in ,
10690                                                   long len ) ;   10690                                                   long len ) ;
10691 extern int i2d_ASN1_VISIBLESTRING(ASN1_VISIBLESTRING *a , unsigned char **out ) ;   10691 extern int i2d_ASN1_VISIBLESTRING(ASN1_VISIBLESTRING *a , unsigned char **out ) ;
10692 extern ASN1_ITEM const   ASN1_VISIBLESTRING_it ;   10692 extern ASN1_ITEM const   ASN1_VISIBLESTRING_it ;
10693 extern ASN1_UNIVERSALSTRING *ASN1_UNIVERSALSTRING_new(void) ;   10693 extern ASN1_UNIVERSALSTRING *ASN1_UNIVERSALSTRING_new(void) ;
10694 extern void ASN1_UNIVERSALSTRING_free(ASN1_UNIVERSALSTRING *a ) ;   10694 extern void ASN1_UNIVERSALSTRING_free(ASN1_UNIVERSALSTRING *a ) ;
10695 extern ASN1_UNIVERSALSTRING *d2i_ASN1_UNIVERSALSTRING(ASN1_UNIVERSALSTRING **a ,   10695 extern ASN1_UNIVERSALSTRING *d2i_ASN1_UNIVERSALSTRING(ASN1_UNIVERSALSTRING **a ,
10696                                                       unsigned char const   **in ,   10696                                                       unsigned char const   **in ,
10697                                                       long len ) ;   10697                                                       long len ) ;
10698 extern int i2d_ASN1_UNIVERSALSTRING(ASN1_UNIVERSALSTRING *a ,   10698 extern int i2d_ASN1_UNIVERSALSTRING(ASN1_UNIVERSALSTRING *a ,
10699                                     unsigned char **out ) ;   10699                                     unsigned char **out ) ;
10700 extern ASN1_ITEM const   ASN1_UNIVERSALSTRING_it ;   10700 extern ASN1_ITEM const   ASN1_UNIVERSALSTRING_it ;
10701 extern ASN1_UTF8STRING *ASN1_UTF8STRING_new(void) ;   10701 extern ASN1_UTF8STRING *ASN1_UTF8STRING_new(void) ;
10702 extern void ASN1_UTF8STRING_free(ASN1_UTF8STRING *a ) ;   10702 extern void ASN1_UTF8STRING_free(ASN1_UTF8STRING *a ) ;
10703 extern ASN1_UTF8STRING *d2i_ASN1_UTF8STRING(ASN1_UTF8STRING **a ,   10703 extern ASN1_UTF8STRING *d2i_ASN1_UTF8STRING(ASN1_UTF8STRING **a ,
10704                                             unsigned char const   **in ,   10704                                             unsigned char const   **in ,
10705                                             long len ) ;   10705                                             long len ) ;
10706 extern int i2d_ASN1_UTF8STRING(ASN1_UTF8STRING *a , unsigned char **out ) ;   10706 extern int i2d_ASN1_UTF8STRING(ASN1_UTF8STRING *a , unsigned char **out ) ;
10707 extern ASN1_ITEM const   ASN1_UTF8STRING_it ;   10707 extern ASN1_ITEM const   ASN1_UTF8STRING_it ;
10708 extern ASN1_NULL *ASN1_NULL_new(void) ;   10708 extern ASN1_NULL *ASN1_NULL_new(void) ;
10709 extern void ASN1_NULL_free(ASN1_NULL *a ) ;   10709 extern void ASN1_NULL_free(ASN1_NULL *a ) ;
10710 extern ASN1_NULL *d2i_ASN1_NULL(ASN1_NULL **a , unsigned char const   **in ,   10710 extern ASN1_NULL *d2i_ASN1_NULL(ASN1_NULL **a , unsigned char const   **in ,
10711                                 long len ) ;   10711                                 long len ) ;
10712 extern int i2d_ASN1_NULL(ASN1_NULL *a , unsigned char **out ) ;   10712 extern int i2d_ASN1_NULL(ASN1_NULL *a , unsigned char **out ) ;
10713 extern ASN1_ITEM const   ASN1_NULL_it ;   10713 extern ASN1_ITEM const   ASN1_NULL_it ;
10714 extern ASN1_BMPSTRING *ASN1_BMPSTRING_new(void) ;   10714 extern ASN1_BMPSTRING *ASN1_BMPSTRING_new(void) ;
10715 extern void ASN1_BMPSTRING_free(ASN1_BMPSTRING *a ) ;   10715 extern void ASN1_BMPSTRING_free(ASN1_BMPSTRING *a ) ;
10716 extern ASN1_BMPSTRING *d2i_ASN1_BMPSTRING(ASN1_BMPSTRING **a ,   10716 extern ASN1_BMPSTRING *d2i_ASN1_BMPSTRING(ASN1_BMPSTRING **a ,
10717                                           unsigned char const   **in , long len ) ;   10717                                           unsigned char const   **in , long len ) ;
10718 extern int i2d_ASN1_BMPSTRING(ASN1_BMPSTRING *a , unsigned char **out ) ;   10718 extern int i2d_ASN1_BMPSTRING(ASN1_BMPSTRING *a , unsigned char **out ) ;
10719 extern ASN1_ITEM const   ASN1_BMPSTRING_it ;   10719 extern ASN1_ITEM const   ASN1_BMPSTRING_it ;
10720 extern int UTF8_getc(unsigned char const   *str , int len , unsigned long *val ) ;   10720 extern int UTF8_getc(unsigned char const   *str , int len , unsigned long *val ) ;
10721 extern int UTF8_putc(unsigned char *str , int len , unsigned long value ) ;   10721 extern int UTF8_putc(unsigned char *str , int len , unsigned long value ) ;
10722 extern ASN1_STRING *ASN1_PRINTABLE_new(void) ;   10722 extern ASN1_STRING *ASN1_PRINTABLE_new(void) ;
10723 extern void ASN1_PRINTABLE_free(ASN1_STRING *a ) ;   10723 extern void ASN1_PRINTABLE_free(ASN1_STRING *a ) ;
10724 extern ASN1_STRING *d2i_ASN1_PRINTABLE(ASN1_STRING **a ,   10724 extern ASN1_STRING *d2i_ASN1_PRINTABLE(ASN1_STRING **a ,
10725                                        unsigned char const   **in , long len ) ;   10725                                        unsigned char const   **in , long len ) ;
10726 extern int i2d_ASN1_PRINTABLE(ASN1_STRING *a , unsigned char **out ) ;   10726 extern int i2d_ASN1_PRINTABLE(ASN1_STRING *a , unsigned char **out ) ;
10727 extern ASN1_ITEM const   ASN1_PRINTABLE_it ;   10727 extern ASN1_ITEM const   ASN1_PRINTABLE_it ;
10728 extern ASN1_STRING *DIRECTORYSTRING_new(void) ;   10728 extern ASN1_STRING *DIRECTORYSTRING_new(void) ;
10729 extern void DIRECTORYSTRING_free(ASN1_STRING *a ) ;   10729 extern void DIRECTORYSTRING_free(ASN1_STRING *a ) ;
10730 extern ASN1_STRING *d2i_DIRECTORYSTRING(ASN1_STRING **a ,   10730 extern ASN1_STRING *d2i_DIRECTORYSTRING(ASN1_STRING **a ,
10731                                         unsigned char const   **in , long len ) ;   10731                                         unsigned char const   **in , long len ) ;
10732 extern int i2d_DIRECTORYSTRING(ASN1_STRING *a , unsigned char **out ) ;   10732 extern int i2d_DIRECTORYSTRING(ASN1_STRING *a , unsigned char **out ) ;
10733 extern ASN1_ITEM const   DIRECTORYSTRING_it ;   10733 extern ASN1_ITEM const   DIRECTORYSTRING_it ;
10734 extern ASN1_STRING *DISPLAYTEXT_new(void) ;   10734 extern ASN1_STRING *DISPLAYTEXT_new(void) ;
10735 extern void DISPLAYTEXT_free(ASN1_STRING *a ) ;   10735 extern void DISPLAYTEXT_free(ASN1_STRING *a ) ;
10736 extern ASN1_STRING *d2i_DISPLAYTEXT(ASN1_STRING **a ,   10736 extern ASN1_STRING *d2i_DISPLAYTEXT(ASN1_STRING **a ,
10737                                     unsigned char const   **in , long len ) ;   10737                                     unsigned char const   **in , long len ) ;
10738 extern int i2d_DISPLAYTEXT(ASN1_STRING *a , unsigned char **out ) ;   10738 extern int i2d_DISPLAYTEXT(ASN1_STRING *a , unsigned char **out ) ;
10739 extern ASN1_ITEM const   DISPLAYTEXT_it ;   10739 extern ASN1_ITEM const   DISPLAYTEXT_it ;
10740 extern ASN1_PRINTABLESTRING *ASN1_PRINTABLESTRING_new(void) ;   10740 extern ASN1_PRINTABLESTRING *ASN1_PRINTABLESTRING_new(void) ;
10741 extern void ASN1_PRINTABLESTRING_free(ASN1_PRINTABLESTRING *a ) ;   10741 extern void ASN1_PRINTABLESTRING_free(ASN1_PRINTABLESTRING *a ) ;
10742 extern ASN1_PRINTABLESTRING *d2i_ASN1_PRINTABLESTRING(ASN1_PRINTABLESTRING **a ,   10742 extern ASN1_PRINTABLESTRING *d2i_ASN1_PRINTABLESTRING(ASN1_PRINTABLESTRING **a ,
10743                                                       unsigned char const   **in ,   10743                                                       unsigned char const   **in ,
10744                                                       long len ) ;   10744                                                       long len ) ;
10745 extern int i2d_ASN1_PRINTABLESTRING(ASN1_PRINTABLESTRING *a ,   10745 extern int i2d_ASN1_PRINTABLESTRING(ASN1_PRINTABLESTRING *a ,
10746                                     unsigned char **out ) ;   10746                                     unsigned char **out ) ;
10747 extern ASN1_ITEM const   ASN1_PRINTABLESTRING_it ;   10747 extern ASN1_ITEM const   ASN1_PRINTABLESTRING_it ;
10748 extern ASN1_T61STRING *ASN1_T61STRING_new(void) ;   10748 extern ASN1_T61STRING *ASN1_T61STRING_new(void) ;
10749 extern void ASN1_T61STRING_free(ASN1_T61STRING *a ) ;   10749 extern void ASN1_T61STRING_free(ASN1_T61STRING *a ) ;
10750 extern ASN1_T61STRING *d2i_ASN1_T61STRING(ASN1_T61STRING **a ,   10750 extern ASN1_T61STRING *d2i_ASN1_T61STRING(ASN1_T61STRING **a ,
10751                                           unsigned char const   **in , long len ) ;   10751                                           unsigned char const   **in , long len ) ;
10752 extern int i2d_ASN1_T61STRING(ASN1_T61STRING *a , unsigned char **out ) ;   10752 extern int i2d_ASN1_T61STRING(ASN1_T61STRING *a , unsigned char **out ) ;
10753 extern ASN1_ITEM const   ASN1_T61STRING_it ;   10753 extern ASN1_ITEM const   ASN1_T61STRING_it ;
10754 extern ASN1_IA5STRING *ASN1_IA5STRING_new(void) ;   10754 extern ASN1_IA5STRING *ASN1_IA5STRING_new(void) ;
10755 extern void ASN1_IA5STRING_free(ASN1_IA5STRING *a ) ;   10755 extern void ASN1_IA5STRING_free(ASN1_IA5STRING *a ) ;
10756 extern ASN1_IA5STRING *d2i_ASN1_IA5STRING(ASN1_IA5STRING **a ,   10756 extern ASN1_IA5STRING *d2i_ASN1_IA5STRING(ASN1_IA5STRING **a ,
10757                                           unsigned char const   **in , long len ) ;   10757                                           unsigned char const   **in , long len ) ;
10758 extern int i2d_ASN1_IA5STRING(ASN1_IA5STRING *a , unsigned char **out ) ;   10758 extern int i2d_ASN1_IA5STRING(ASN1_IA5STRING *a , unsigned char **out ) ;
10759 extern ASN1_ITEM const   ASN1_IA5STRING_it ;   10759 extern ASN1_ITEM const   ASN1_IA5STRING_it ;
10760 extern ASN1_GENERALSTRING *ASN1_GENERALSTRING_new(void) ;   10760 extern ASN1_GENERALSTRING *ASN1_GENERALSTRING_new(void) ;
10761 extern void ASN1_GENERALSTRING_free(ASN1_GENERALSTRING *a ) ;   10761 extern void ASN1_GENERALSTRING_free(ASN1_GENERALSTRING *a ) ;
10762 extern ASN1_GENERALSTRING *d2i_ASN1_GENERALSTRING(ASN1_GENERALSTRING **a ,   10762 extern ASN1_GENERALSTRING *d2i_ASN1_GENERALSTRING(ASN1_GENERALSTRING **a ,
10763                                                   unsigned char const   **in ,   10763                                                   unsigned char const   **in ,
10764                                                   long len ) ;   10764                                                   long len ) ;
10765 extern int i2d_ASN1_GENERALSTRING(ASN1_GENERALSTRING *a , unsigned char **out ) ;   10765 extern int i2d_ASN1_GENERALSTRING(ASN1_GENERALSTRING *a , unsigned char **out ) ;
10766 extern ASN1_ITEM const   ASN1_GENERALSTRING_it ;   10766 extern ASN1_ITEM const   ASN1_GENERALSTRING_it ;
10767 extern ASN1_UTCTIME *ASN1_UTCTIME_new(void) ;   10767 extern ASN1_UTCTIME *ASN1_UTCTIME_new(void) ;
10768 extern void ASN1_UTCTIME_free(ASN1_UTCTIME *a ) ;   10768 extern void ASN1_UTCTIME_free(ASN1_UTCTIME *a ) ;
10769 extern ASN1_UTCTIME *d2i_ASN1_UTCTIME(ASN1_UTCTIME **a ,   10769 extern ASN1_UTCTIME *d2i_ASN1_UTCTIME(ASN1_UTCTIME **a ,
10770                                       unsigned char const   **in , long len ) ;   10770                                       unsigned char const   **in , long len ) ;
10771 extern int i2d_ASN1_UTCTIME(ASN1_UTCTIME *a , unsigned char **out ) ;   10771 extern int i2d_ASN1_UTCTIME(ASN1_UTCTIME *a , unsigned char **out ) ;
10772 extern ASN1_ITEM const   ASN1_UTCTIME_it ;   10772 extern ASN1_ITEM const   ASN1_UTCTIME_it ;
10773 extern ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_new(void) ;   10773 extern ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_new(void) ;
10774 extern void ASN1_GENERALIZEDTIME_free(ASN1_GENERALIZEDTIME *a ) ;   10774 extern void ASN1_GENERALIZEDTIME_free(ASN1_GENERALIZEDTIME *a ) ;
10775 extern ASN1_GENERALIZEDTIME *d2i_ASN1_GENERALIZEDTIME(ASN1_GENERALIZEDTIME **a ,   10775 extern ASN1_GENERALIZEDTIME *d2i_ASN1_GENERALIZEDTIME(ASN1_GENERALIZEDTIME **a ,
10776                                                       unsigned char const   **in ,   10776                                                       unsigned char const   **in ,
10777                                                       long len ) ;   10777                                                       long len ) ;
10778 extern int i2d_ASN1_GENERALIZEDTIME(ASN1_GENERALIZEDTIME *a ,   10778 extern int i2d_ASN1_GENERALIZEDTIME(ASN1_GENERALIZEDTIME *a ,
10779                                     unsigned char **out ) ;   10779                                     unsigned char **out ) ;
10780 extern ASN1_ITEM const   ASN1_GENERALIZEDTIME_it ;   10780 extern ASN1_ITEM const   ASN1_GENERALIZEDTIME_it ;
10781 extern ASN1_TIME *ASN1_TIME_new(void) ;   10781 extern ASN1_TIME *ASN1_TIME_new(void) ;
10782 extern void ASN1_TIME_free(ASN1_TIME *a ) ;   10782 extern void ASN1_TIME_free(ASN1_TIME *a ) ;
10783 extern ASN1_TIME *d2i_ASN1_TIME(ASN1_TIME **a , unsigned char const   **in ,   10783 extern ASN1_TIME *d2i_ASN1_TIME(ASN1_TIME **a , unsigned char const   **in ,
10784                                 long len ) ;   10784                                 long len ) ;
10785 extern int i2d_ASN1_TIME(ASN1_TIME *a , unsigned char **out ) ;   10785 extern int i2d_ASN1_TIME(ASN1_TIME *a , unsigned char **out ) ;
10786 extern ASN1_ITEM const   ASN1_TIME_it ;   10786 extern ASN1_ITEM const   ASN1_TIME_it ;
10787 extern ASN1_ITEM const   ASN1_OCTET_STRING_NDEF_it ;   10787 extern ASN1_ITEM const   ASN1_OCTET_STRING_NDEF_it ;
10788 extern ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s , time_t t ) ;   10788 extern ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s , time_t t ) ;
10789 extern ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s , time_t t , int offset_day ,   10789 extern ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s , time_t t , int offset_day ,
10790                                 long offset_sec ) ;   10790                                 long offset_sec ) ;
10791 extern int ASN1_TIME_check(ASN1_TIME *t ) ;   10791 extern int ASN1_TIME_check(ASN1_TIME *t ) ;
10792 extern ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(ASN1_TIME *t ,   10792 extern ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(ASN1_TIME *t ,
10793                                                           ASN1_GENERALIZEDTIME **out ) ;   10793                                                           ASN1_GENERALIZEDTIME **out ) ;
10794 extern int ASN1_TIME_set_string(ASN1_TIME *s , char const   *str ) ;   10794 extern int ASN1_TIME_set_string(ASN1_TIME *s , char const   *str ) ;
10795 extern int i2d_ASN1_SET(struct stack_st_OPENSSL_BLOCK *a , unsigned char **pp ,   10795 extern int i2d_ASN1_SET(struct stack_st_OPENSSL_BLOCK *a , unsigned char **pp ,
10796                         i2d_of_void *i2d , int ex_tag , int ex_class ,   10796                         i2d_of_void *i2d , int ex_tag , int ex_class ,
10797                         int is_set ) ;   10797                         int is_set ) ;
10798 extern struct stack_st_OPENSSL_BLOCK *d2i_ASN1_SET(struct stack_st_OPENSSL_BLOCK **a ,   10798 extern struct stack_st_OPENSSL_BLOCK *d2i_ASN1_SET(struct stack_st_OPENSSL_BLOCK **a ,
10799                                                    unsigned char const   **pp ,   10799                                                    unsigned char const   **pp ,
10800                                                    long length ,   10800                                                    long length ,
10801                                                    d2i_of_void *d2i ,   10801                                                    d2i_of_void *d2i ,
10802                                                    void (*free_func)(OPENSSL_BLOCK  ) ,   10802                                                    void (*free_func)(OPENSSL_BLOCK  ) ,
10803                                                    int ex_tag , int ex_class ) ;   10803                                                    int ex_tag , int ex_class ) ;
10804 extern int i2a_ASN1_INTEGER(BIO *bp , ASN1_INTEGER *a ) ;   10804 extern int i2a_ASN1_INTEGER(BIO *bp , ASN1_INTEGER *a ) ;
10805 extern int a2i_ASN1_INTEGER(BIO *bp , ASN1_INTEGER *bs , char *buf , int size ) ;   10805 extern int a2i_ASN1_INTEGER(BIO *bp , ASN1_INTEGER *bs , char *buf , int size ) ;
10806 extern int i2a_ASN1_ENUMERATED(BIO *bp , ASN1_ENUMERATED *a ) ;   10806 extern int i2a_ASN1_ENUMERATED(BIO *bp , ASN1_ENUMERATED *a ) ;
10807 extern int a2i_ASN1_ENUMERATED(BIO *bp , ASN1_ENUMERATED *bs , char *buf ,   10807 extern int a2i_ASN1_ENUMERATED(BIO *bp , ASN1_ENUMERATED *bs , char *buf ,
10808                                int size ) ;   10808                                int size ) ;
10809 extern int i2a_ASN1_OBJECT(BIO *bp , ASN1_OBJECT *a ) ;   10809 extern int i2a_ASN1_OBJECT(BIO *bp , ASN1_OBJECT *a ) ;
10810 extern int a2i_ASN1_STRING(BIO *bp , ASN1_STRING *bs , char *buf , int size ) ;   10810 extern int a2i_ASN1_STRING(BIO *bp , ASN1_STRING *bs , char *buf , int size ) ;
10811 extern int i2a_ASN1_STRING(BIO *bp , ASN1_STRING *a , int type ) ;   10811 extern int i2a_ASN1_STRING(BIO *bp , ASN1_STRING *a , int type ) ;
10812 extern int i2t_ASN1_OBJECT(char *buf , int buf_len , ASN1_OBJECT *a ) ;   10812 extern int i2t_ASN1_OBJECT(char *buf , int buf_len , ASN1_OBJECT *a ) ;
10813 extern int a2d_ASN1_OBJECT(unsigned char *out , int olen , char const   *buf ,   10813 extern int a2d_ASN1_OBJECT(unsigned char *out , int olen , char const   *buf ,
10814                            int num ) ;   10814                            int num ) ;
10815 extern ASN1_OBJECT *ASN1_OBJECT_create(int nid , unsigned char *data , int len ,   10815 extern ASN1_OBJECT *ASN1_OBJECT_create(int nid , unsigned char *data , int len ,
10816                                        char const   *sn , char const   *ln ) ;   10816                                        char const   *sn , char const   *ln ) ;
10817 extern int ASN1_INTEGER_set(ASN1_INTEGER *a , long v ) ;   10817 extern int ASN1_INTEGER_set(ASN1_INTEGER *a , long v ) ;
10818 extern long ASN1_INTEGER_get(ASN1_INTEGER const   *a ) ;   10818 extern long ASN1_INTEGER_get(ASN1_INTEGER const   *a ) ;
10819 extern ASN1_INTEGER *BN_to_ASN1_INTEGER(BIGNUM const   *bn , ASN1_INTEGER *ai ) ;   10819 extern ASN1_INTEGER *BN_to_ASN1_INTEGER(BIGNUM const   *bn , ASN1_INTEGER *ai ) ;
10820 extern BIGNUM *ASN1_INTEGER_to_BN(ASN1_INTEGER const   *ai , BIGNUM *bn ) ;   10820 extern BIGNUM *ASN1_INTEGER_to_BN(ASN1_INTEGER const   *ai , BIGNUM *bn ) ;
10821 extern int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a , long v ) ;   10821 extern int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a , long v ) ;
10822 extern long ASN1_ENUMERATED_get(ASN1_ENUMERATED *a ) ;   10822 extern long ASN1_ENUMERATED_get(ASN1_ENUMERATED *a ) ;
10823 extern ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(BIGNUM *bn , ASN1_ENUMERATED *ai ) ;   10823 extern ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(BIGNUM *bn , ASN1_ENUMERATED *ai ) ;
10824 extern BIGNUM *ASN1_ENUMERATED_to_BN(ASN1_ENUMERATED *ai , BIGNUM *bn ) ;   10824 extern BIGNUM *ASN1_ENUMERATED_to_BN(ASN1_ENUMERATED *ai , BIGNUM *bn ) ;
10825 extern int ASN1_PRINTABLE_type(unsigned char const   *s , int max ) ;   10825 extern int ASN1_PRINTABLE_type(unsigned char const   *s , int max ) ;
10826 extern int i2d_ASN1_bytes(ASN1_STRING *a , unsigned char **pp , int tag ,   10826 extern int i2d_ASN1_bytes(ASN1_STRING *a , unsigned char **pp , int tag ,
10827                           int xclass ) ;   10827                           int xclass ) ;
10828 extern ASN1_STRING *d2i_ASN1_bytes(ASN1_STRING **a ,   10828 extern ASN1_STRING *d2i_ASN1_bytes(ASN1_STRING **a ,
10829                                    unsigned char const   **pp , long length ,   10829                                    unsigned char const   **pp , long length ,
10830                                    int Ptag , int Pclass ) ;   10830                                    int Ptag , int Pclass ) ;
10831 extern unsigned long ASN1_tag2bit(int tag ) ;   10831 extern unsigned long ASN1_tag2bit(int tag ) ;
10832 extern ASN1_STRING *d2i_ASN1_type_bytes(ASN1_STRING **a ,   10832 extern ASN1_STRING *d2i_ASN1_type_bytes(ASN1_STRING **a ,
10833                                         unsigned char const   **pp ,   10833                                         unsigned char const   **pp ,
10834                                         long length , int type ) ;   10834                                         long length , int type ) ;
10835 extern int asn1_Finish(ASN1_CTX *c ) ;   10835 extern int asn1_Finish(ASN1_CTX *c ) ;
10836 extern int asn1_const_Finish(ASN1_const_CTX *c ) ;   10836 extern int asn1_const_Finish(ASN1_const_CTX *c ) ;
10837 extern int ASN1_get_object(unsigned char const   **pp , long *plength ,   10837 extern int ASN1_get_object(unsigned char const   **pp , long *plength ,
10838                            int *ptag , int *pclass , long omax ) ;   10838                            int *ptag , int *pclass , long omax ) ;
10839 extern int ASN1_check_infinite_end(unsigned char **p , long len ) ;   10839 extern int ASN1_check_infinite_end(unsigned char **p , long len ) ;
10840 extern int ASN1_const_check_infinite_end(unsigned char const   **p , long len ) ;   10840 extern int ASN1_const_check_infinite_end(unsigned char const   **p , long len ) ;
10841 extern void ASN1_put_object(unsigned char **pp , int constructed , int length ,   10841 extern void ASN1_put_object(unsigned char **pp , int constructed , int length ,
10842                             int tag , int xclass ) ;   10842                             int tag , int xclass ) ;
10843 extern int ASN1_put_eoc(unsigned char **pp ) ;   10843 extern int ASN1_put_eoc(unsigned char **pp ) ;
10844 extern int ASN1_object_size(int constructed , int length , int tag ) ;   10844 extern int ASN1_object_size(int constructed , int length , int tag ) ;
10845 extern void *ASN1_dup(i2d_of_void *i2d , d2i_of_void *d2i , void *x ) ;   10845 extern void *ASN1_dup(i2d_of_void *i2d , d2i_of_void *d2i , void *x ) ;
10846 extern void *ASN1_item_dup(ASN1_ITEM const   *it , void *x ) ;   10846 extern void *ASN1_item_dup(ASN1_ITEM const   *it , void *x ) ;
10847 extern void *ASN1_d2i_fp(void *(*xnew)(void) , d2i_of_void *d2i , FILE *in ,   10847 extern void *ASN1_d2i_fp(void *(*xnew)(void) , d2i_of_void *d2i , FILE *in ,
10848                          void **x ) ;   10848                          void **x ) ;
10849 extern void *ASN1_item_d2i_fp(ASN1_ITEM const   *it , FILE *in , void *x ) ;   10849 extern void *ASN1_item_d2i_fp(ASN1_ITEM const   *it , FILE *in , void *x ) ;
10850 extern int ASN1_i2d_fp(i2d_of_void *i2d , FILE *out , void *x ) ;   10850 extern int ASN1_i2d_fp(i2d_of_void *i2d , FILE *out , void *x ) ;
10851 extern int ASN1_item_i2d_fp(ASN1_ITEM const   *it , FILE *out , void *x ) ;   10851 extern int ASN1_item_i2d_fp(ASN1_ITEM const   *it , FILE *out , void *x ) ;
10852 extern int ASN1_STRING_print_ex_fp(FILE *fp , ASN1_STRING *str ,   10852 extern int ASN1_STRING_print_ex_fp(FILE *fp , ASN1_STRING *str ,
10853                                    unsigned long flags ) ;   10853                                    unsigned long flags ) ;
10854 extern int ASN1_STRING_to_UTF8(unsigned char **out , ASN1_STRING *in ) ;   10854 extern int ASN1_STRING_to_UTF8(unsigned char **out , ASN1_STRING *in ) ;
10855 extern void *ASN1_d2i_bio(void *(*xnew)(void) , d2i_of_void *d2i , BIO *in ,   10855 extern void *ASN1_d2i_bio(void *(*xnew)(void) , d2i_of_void *d2i , BIO *in ,
10856                           void **x ) ;   10856                           void **x ) ;
10857 extern void *ASN1_item_d2i_bio(ASN1_ITEM const   *it , BIO *in , void *x ) ;   10857 extern void *ASN1_item_d2i_bio(ASN1_ITEM const   *it , BIO *in , void *x ) ;
10858 extern int ASN1_i2d_bio(i2d_of_void *i2d , BIO *out , unsigned char *x ) ;   10858 extern int ASN1_i2d_bio(i2d_of_void *i2d , BIO *out , unsigned char *x ) ;
10859 extern int ASN1_item_i2d_bio(ASN1_ITEM const   *it , BIO *out , void *x ) ;   10859 extern int ASN1_item_i2d_bio(ASN1_ITEM const   *it , BIO *out , void *x ) ;
10860 extern int ASN1_UTCTIME_print(BIO *fp , ASN1_UTCTIME const   *a ) ;   10860 extern int ASN1_UTCTIME_print(BIO *fp , ASN1_UTCTIME const   *a ) ;
10861 extern int ASN1_GENERALIZEDTIME_print(BIO *fp , ASN1_GENERALIZEDTIME const   *a ) ;   10861 extern int ASN1_GENERALIZEDTIME_print(BIO *fp , ASN1_GENERALIZEDTIME const   *a ) ;
10862 extern int ASN1_TIME_print(BIO *fp , ASN1_TIME const   *a ) ;   10862 extern int ASN1_TIME_print(BIO *fp , ASN1_TIME const   *a ) ;
10863 extern int ASN1_STRING_print(BIO *bp , ASN1_STRING const   *v ) ;   10863 extern int ASN1_STRING_print(BIO *bp , ASN1_STRING const   *v ) ;
10864 extern int ASN1_STRING_print_ex(BIO *out , ASN1_STRING *str ,   10864 extern int ASN1_STRING_print_ex(BIO *out , ASN1_STRING *str ,
10865                                 unsigned long flags ) ;   10865                                 unsigned long flags ) ;
10866 extern int ASN1_bn_print(BIO *bp , char const   *number , BIGNUM const   *num ,   10866 extern int ASN1_bn_print(BIO *bp , char const   *number , BIGNUM const   *num ,
10867                          unsigned char *buf , int off ) ;   10867                          unsigned char *buf , int off ) ;
10868 extern int ASN1_parse(BIO *bp , unsigned char const   *pp , long len ,   10868 extern int ASN1_parse(BIO *bp , unsigned char const   *pp , long len ,
10869                       int indent ) ;   10869                       int indent ) ;
10870 extern int ASN1_parse_dump(BIO *bp , unsigned char const   *pp , long len ,   10870 extern int ASN1_parse_dump(BIO *bp , unsigned char const   *pp , long len ,
10871                            int indent , int dump ) ;   10871                            int indent , int dump ) ;
10872 extern char const   *ASN1_tag2str(int tag ) ;   10872 extern char const   *ASN1_tag2str(int tag ) ;
10873 extern NETSCAPE_X509 *NETSCAPE_X509_new(void) ;   10873 extern NETSCAPE_X509 *NETSCAPE_X509_new(void) ;
10874 extern void NETSCAPE_X509_free(NETSCAPE_X509 *a ) ;   10874 extern void NETSCAPE_X509_free(NETSCAPE_X509 *a ) ;
10875 extern NETSCAPE_X509 *d2i_NETSCAPE_X509(NETSCAPE_X509 **a ,   10875 extern NETSCAPE_X509 *d2i_NETSCAPE_X509(NETSCAPE_X509 **a ,
10876                                         unsigned char const   **in , long len ) ;   10876                                         unsigned char const   **in , long len ) ;
10877 extern int i2d_NETSCAPE_X509(NETSCAPE_X509 *a , unsigned char **out ) ;   10877 extern int i2d_NETSCAPE_X509(NETSCAPE_X509 *a , unsigned char **out ) ;
10878 extern ASN1_ITEM const   NETSCAPE_X509_it ;   10878 extern ASN1_ITEM const   NETSCAPE_X509_it ;
10879 extern int ASN1_UNIVERSALSTRING_to_string(ASN1_UNIVERSALSTRING *s ) ;   10879 extern int ASN1_UNIVERSALSTRING_to_string(ASN1_UNIVERSALSTRING *s ) ;
10880 extern int ASN1_TYPE_set_octetstring(ASN1_TYPE *a , unsigned char *data ,   10880 extern int ASN1_TYPE_set_octetstring(ASN1_TYPE *a , unsigned char *data ,
10881                                      int len ) ;   10881                                      int len ) ;
10882 extern int ASN1_TYPE_get_octetstring(ASN1_TYPE *a , unsigned char *data ,   10882 extern int ASN1_TYPE_get_octetstring(ASN1_TYPE *a , unsigned char *data ,
10883                                      int max_len ) ;   10883                                      int max_len ) ;
10884 extern int ASN1_TYPE_set_int_octetstring(ASN1_TYPE *a , long num ,   10884 extern int ASN1_TYPE_set_int_octetstring(ASN1_TYPE *a , long num ,
10885                                          unsigned char *data , int len ) ;   10885                                          unsigned char *data , int len ) ;
10886 extern int ASN1_TYPE_get_int_octetstring(ASN1_TYPE *a , long *num ,   10886 extern int ASN1_TYPE_get_int_octetstring(ASN1_TYPE *a , long *num ,
10887                                          unsigned char *data , int max_len ) ;   10887                                          unsigned char *data , int max_len ) ;
10888 extern struct stack_st_OPENSSL_BLOCK *ASN1_seq_unpack(unsigned char const   *buf ,   10888 extern struct stack_st_OPENSSL_BLOCK *ASN1_seq_unpack(unsigned char const   *buf ,
10889                                                       int len ,   10889                                                       int len ,
10890                                                       d2i_of_void *d2i ,   10890                                                       d2i_of_void *d2i ,
10891                                                       void (*free_func)(OPENSSL_BLOCK  ) ) ;   10891                                                       void (*free_func)(OPENSSL_BLOCK  ) ) ;
10892 extern unsigned char *ASN1_seq_pack(struct stack_st_OPENSSL_BLOCK *safes ,   10892 extern unsigned char *ASN1_seq_pack(struct stack_st_OPENSSL_BLOCK *safes ,
10893                                     i2d_of_void *i2d , unsigned char **buf ,   10893                                     i2d_of_void *i2d , unsigned char **buf ,
10894                                     int *len ) ;   10894                                     int *len ) ;
10895 extern void *ASN1_unpack_string(ASN1_STRING *oct , d2i_of_void *d2i ) ;   10895 extern void *ASN1_unpack_string(ASN1_STRING *oct , d2i_of_void *d2i ) ;
10896 extern void *ASN1_item_unpack(ASN1_STRING *oct , ASN1_ITEM const   *it ) ;   10896 extern void *ASN1_item_unpack(ASN1_STRING *oct , ASN1_ITEM const   *it ) ;
10897 extern ASN1_STRING *ASN1_pack_string(void *obj , i2d_of_void *i2d ,   10897 extern ASN1_STRING *ASN1_pack_string(void *obj , i2d_of_void *i2d ,
10898                                      ASN1_OCTET_STRING **oct ) ;   10898                                      ASN1_OCTET_STRING **oct ) ;
10899 extern ASN1_STRING *ASN1_item_pack(void *obj , ASN1_ITEM const   *it ,   10899 extern ASN1_STRING *ASN1_item_pack(void *obj , ASN1_ITEM const   *it ,
10900                                    ASN1_OCTET_STRING **oct ) ;   10900                                    ASN1_OCTET_STRING **oct ) ;
10901 extern void ASN1_STRING_set_default_mask(unsigned long mask ) ;   10901 extern void ASN1_STRING_set_default_mask(unsigned long mask ) ;
10902 extern int ASN1_STRING_set_default_mask_asc(char const   *p ) ;   10902 extern int ASN1_STRING_set_default_mask_asc(char const   *p ) ;
10903 extern unsigned long ASN1_STRING_get_default_mask(void) ;   10903 extern unsigned long ASN1_STRING_get_default_mask(void) ;
10904 extern int ASN1_mbstring_copy(ASN1_STRING **out , unsigned char const   *in ,   10904 extern int ASN1_mbstring_copy(ASN1_STRING **out , unsigned char const   *in ,
10905                               int len , int inform , unsigned long mask ) ;   10905                               int len , int inform , unsigned long mask ) ;
10906 extern int ASN1_mbstring_ncopy(ASN1_STRING **out , unsigned char const   *in ,   10906 extern int ASN1_mbstring_ncopy(ASN1_STRING **out , unsigned char const   *in ,
10907                                int len , int inform , unsigned long mask ,   10907                                int len , int inform , unsigned long mask ,
10908                                long minsize , long maxsize ) ;   10908                                long minsize , long maxsize ) ;
10909 extern ASN1_STRING *ASN1_STRING_set_by_NID(ASN1_STRING **out ,   10909 extern ASN1_STRING *ASN1_STRING_set_by_NID(ASN1_STRING **out ,
10910                                            unsigned char const   *in ,   10910                                            unsigned char const   *in ,
10911                                            int inlen , int inform , int nid ) ;   10911                                            int inlen , int inform , int nid ) ;
10912 extern ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid ) ;   10912 extern ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid ) ;
10913 extern int ASN1_STRING_TABLE_add(int  , long  , long  , unsigned long  ,   10913 extern int ASN1_STRING_TABLE_add(int  , long  , long  , unsigned long  ,
10914                                  unsigned long  ) ;   10914                                  unsigned long  ) ;
10915 extern void ASN1_STRING_TABLE_cleanup(void) ;   10915 extern void ASN1_STRING_TABLE_cleanup(void) ;
10916 extern ASN1_VALUE *ASN1_item_new(ASN1_ITEM const   *it ) ;   10916 extern ASN1_VALUE *ASN1_item_new(ASN1_ITEM const   *it ) ;
10917 extern void ASN1_item_free(ASN1_VALUE *val , ASN1_ITEM const   *it ) ;   10917 extern void ASN1_item_free(ASN1_VALUE *val , ASN1_ITEM const   *it ) ;
10918 extern ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **val , unsigned char const   **in ,   10918 extern ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **val , unsigned char const   **in ,
10919                                  long len , ASN1_ITEM const   *it ) ;   10919                                  long len , ASN1_ITEM const   *it ) ;
10920 extern int ASN1_item_i2d(ASN1_VALUE *val , unsigned char **out ,   10920 extern int ASN1_item_i2d(ASN1_VALUE *val , unsigned char **out ,
10921                          ASN1_ITEM const   *it ) ;   10921                          ASN1_ITEM const   *it ) ;
10922 extern int ASN1_item_ndef_i2d(ASN1_VALUE *val , unsigned char **out ,   10922 extern int ASN1_item_ndef_i2d(ASN1_VALUE *val , unsigned char **out ,
10923                               ASN1_ITEM const   *it ) ;   10923                               ASN1_ITEM const   *it ) ;
10924 extern void ASN1_add_oid_module(void) ;   10924 extern void ASN1_add_oid_module(void) ;
10925 extern ASN1_TYPE *ASN1_generate_nconf(char *str , CONF *nconf ) ;   10925 extern ASN1_TYPE *ASN1_generate_nconf(char *str , CONF *nconf ) ;
10926 extern ASN1_TYPE *ASN1_generate_v3(char *str , X509V3_CTX *cnf ) ;   10926 extern ASN1_TYPE *ASN1_generate_v3(char *str , X509V3_CTX *cnf ) ;
10927 extern int ASN1_item_print(BIO *out , ASN1_VALUE *ifld , int indent ,   10927 extern int ASN1_item_print(BIO *out , ASN1_VALUE *ifld , int indent ,
10928                            ASN1_ITEM const   *it , ASN1_PCTX const   *pctx ) ;   10928                            ASN1_ITEM const   *it , ASN1_PCTX const   *pctx ) ;
10929 extern ASN1_PCTX *ASN1_PCTX_new(void) ;   10929 extern ASN1_PCTX *ASN1_PCTX_new(void) ;
10930 extern void ASN1_PCTX_free(ASN1_PCTX *p ) ;   10930 extern void ASN1_PCTX_free(ASN1_PCTX *p ) ;
10931 extern unsigned long ASN1_PCTX_get_flags(ASN1_PCTX *p ) ;   10931 extern unsigned long ASN1_PCTX_get_flags(ASN1_PCTX *p ) ;
10932 extern void ASN1_PCTX_set_flags(ASN1_PCTX *p , unsigned long flags ) ;   10932 extern void ASN1_PCTX_set_flags(ASN1_PCTX *p , unsigned long flags ) ;
10933 extern unsigned long ASN1_PCTX_get_nm_flags(ASN1_PCTX *p ) ;   10933 extern unsigned long ASN1_PCTX_get_nm_flags(ASN1_PCTX *p ) ;
10934 extern void ASN1_PCTX_set_nm_flags(ASN1_PCTX *p , unsigned long flags ) ;   10934 extern void ASN1_PCTX_set_nm_flags(ASN1_PCTX *p , unsigned long flags ) ;
10935 extern unsigned long ASN1_PCTX_get_cert_flags(ASN1_PCTX *p ) ;   10935 extern unsigned long ASN1_PCTX_get_cert_flags(ASN1_PCTX *p ) ;
10936 extern void ASN1_PCTX_set_cert_flags(ASN1_PCTX *p , unsigned long flags ) ;   10936 extern void ASN1_PCTX_set_cert_flags(ASN1_PCTX *p , unsigned long flags ) ;
10937 extern unsigned long ASN1_PCTX_get_oid_flags(ASN1_PCTX *p ) ;   10937 extern unsigned long ASN1_PCTX_get_oid_flags(ASN1_PCTX *p ) ;
10938 extern void ASN1_PCTX_set_oid_flags(ASN1_PCTX *p , unsigned long flags ) ;   10938 extern void ASN1_PCTX_set_oid_flags(ASN1_PCTX *p , unsigned long flags ) ;
10939 extern unsigned long ASN1_PCTX_get_str_flags(ASN1_PCTX *p ) ;   10939 extern unsigned long ASN1_PCTX_get_str_flags(ASN1_PCTX *p ) ;
10940 extern void ASN1_PCTX_set_str_flags(ASN1_PCTX *p , unsigned long flags ) ;   10940 extern void ASN1_PCTX_set_str_flags(ASN1_PCTX *p , unsigned long flags ) ;
10941 extern BIO_METHOD *BIO_f_asn1(void) ;   10941 extern BIO_METHOD *BIO_f_asn1(void) ;
10942 extern BIO *BIO_new_NDEF(BIO *out , ASN1_VALUE *val , ASN1_ITEM const   *it ) ;   10942 extern BIO *BIO_new_NDEF(BIO *out , ASN1_VALUE *val , ASN1_ITEM const   *it ) ;
10943 extern int i2d_ASN1_bio_stream(BIO *out , ASN1_VALUE *val , BIO *in ,   10943 extern int i2d_ASN1_bio_stream(BIO *out , ASN1_VALUE *val , BIO *in ,
10944                                int flags , ASN1_ITEM const   *it ) ;   10944                                int flags , ASN1_ITEM const   *it ) ;
10945 extern int PEM_write_bio_ASN1_stream(BIO *out , ASN1_VALUE *val , BIO *in ,   10945 extern int PEM_write_bio_ASN1_stream(BIO *out , ASN1_VALUE *val , BIO *in ,
10946                                      int flags , char const   *hdr ,   10946                                      int flags , char const   *hdr ,
10947                                      ASN1_ITEM const   *it ) ;   10947                                      ASN1_ITEM const   *it ) ;
10948 extern int SMIME_write_ASN1(BIO *bio , ASN1_VALUE *val , BIO *data , int flags ,   10948 extern int SMIME_write_ASN1(BIO *bio , ASN1_VALUE *val , BIO *data , int flags ,
10949                             int ctype_nid , int econt_nid ,   10949                             int ctype_nid , int econt_nid ,
10950                             struct stack_st_X509_ALGOR *mdalgs ,   10950                             struct stack_st_X509_ALGOR *mdalgs ,
10951                             ASN1_ITEM const   *it ) ;   10951                             ASN1_ITEM const   *it ) ;
10952 extern ASN1_VALUE *SMIME_read_ASN1(BIO *bio , BIO **bcont ,   10952 extern ASN1_VALUE *SMIME_read_ASN1(BIO *bio , BIO **bcont ,
10953                                    ASN1_ITEM const   *it ) ;   10953                                    ASN1_ITEM const   *it ) ;
10954 extern int SMIME_crlf_copy(BIO *in , BIO *out , int flags ) ;   10954 extern int SMIME_crlf_copy(BIO *in , BIO *out , int flags ) ;
10955 extern int SMIME_text(BIO *in , BIO *out ) ;   10955 extern int SMIME_text(BIO *in , BIO *out ) ;
10956 extern void ERR_load_ASN1_strings(void) ;   10956 extern void ERR_load_ASN1_strings(void) ;
10957 extern int OBJ_NAME_init(void) ;   10957 extern int OBJ_NAME_init(void) ;
10958 extern int OBJ_NAME_new_index(unsigned long (*hash_func)(char const   * ) ,   10958 extern int OBJ_NAME_new_index(unsigned long (*hash_func)(char const   * ) ,
10959                               int (*cmp_func)(char const   * , char const   * ) ,   10959                               int (*cmp_func)(char const   * , char const   * ) ,
10960                               void (*free_func)(char const   * , int  ,   10960                               void (*free_func)(char const   * , int  ,
10961                                                 char const   * ) ) ;   10961                                                 char const   * ) ) ;
10962 extern char const   *OBJ_NAME_get(char const   *name , int type ) ;   10962 extern char const   *OBJ_NAME_get(char const   *name , int type ) ;
10963 extern int OBJ_NAME_add(char const   *name , int type , char const   *data ) ;   10963 extern int OBJ_NAME_add(char const   *name , int type , char const   *data ) ;
10964 extern int OBJ_NAME_remove(char const   *name , int type ) ;   10964 extern int OBJ_NAME_remove(char const   *name , int type ) ;
10965 extern void OBJ_NAME_cleanup(int type ) ;   10965 extern void OBJ_NAME_cleanup(int type ) ;
10966 extern void OBJ_NAME_do_all(int type , void (*fn)(OBJ_NAME const   * ,   10966 extern void OBJ_NAME_do_all(int type , void (*fn)(OBJ_NAME const   * ,
10967                                                   void *arg ) , void *arg ) ;   10967                                                   void *arg ) , void *arg ) ;
10968 extern void OBJ_NAME_do_all_sorted(int type , void (*fn)(OBJ_NAME const   * ,   10968 extern void OBJ_NAME_do_all_sorted(int type , void (*fn)(OBJ_NAME const   * ,
10969                                                          void *arg ) ,   10969                                                          void *arg ) ,
10970                                    void *arg ) ;   10970                                    void *arg ) ;
10971 extern ASN1_OBJECT *OBJ_dup(ASN1_OBJECT const   *o ) ;   10971 extern ASN1_OBJECT *OBJ_dup(ASN1_OBJECT const   *o ) ;
10972 extern ASN1_OBJECT *OBJ_nid2obj(int n ) ;   10972 extern ASN1_OBJECT *OBJ_nid2obj(int n ) ;
10973 extern char const   *OBJ_nid2ln(int n ) ;   10973 extern char const   *OBJ_nid2ln(int n ) ;
10974 extern char const   *OBJ_nid2sn(int n ) ;   10974 extern char const   *OBJ_nid2sn(int n ) ;
10975 extern int OBJ_obj2nid(ASN1_OBJECT const   *o ) ;   10975 extern int OBJ_obj2nid(ASN1_OBJECT const   *o ) ;
10976 extern ASN1_OBJECT *OBJ_txt2obj(char const   *s , int no_name ) ;   10976 extern ASN1_OBJECT *OBJ_txt2obj(char const   *s , int no_name ) ;
10977 extern int OBJ_obj2txt(char *buf , int buf_len , ASN1_OBJECT const   *a ,   10977 extern int OBJ_obj2txt(char *buf , int buf_len , ASN1_OBJECT const   *a ,
10978                        int no_name ) ;   10978                        int no_name ) ;
10979 extern int OBJ_txt2nid(char const   *s ) ;   10979 extern int OBJ_txt2nid(char const   *s ) ;
10980 extern int OBJ_ln2nid(char const   *s ) ;   10980 extern int OBJ_ln2nid(char const   *s ) ;
10981 extern int OBJ_sn2nid(char const   *s ) ;   10981 extern int OBJ_sn2nid(char const   *s ) ;
10982 extern int OBJ_cmp(ASN1_OBJECT const   *a , ASN1_OBJECT const   *b ) ;   10982 extern int OBJ_cmp(ASN1_OBJECT const   *a , ASN1_OBJECT const   *b ) ;
10983 extern void const   *OBJ_bsearch_(void const   *key , void const   *base ,   10983 extern void const   *OBJ_bsearch_(void const   *key , void const   *base ,
10984                                   int num , int size ,   10984                                   int num , int size ,
10985                                   int (*cmp)(void const   * , void const   * ) ) ;   10985                                   int (*cmp)(void const   * , void const   * ) ) ;
10986 extern void const   *OBJ_bsearch_ex_(void const   *key , void const   *base ,   10986 extern void const   *OBJ_bsearch_ex_(void const   *key , void const   *base ,
10987                                      int num , int size ,   10987                                      int num , int size ,
10988                                      int (*cmp)(void const   * , void const   * ) ,   10988                                      int (*cmp)(void const   * , void const   * ) ,
10989                                      int flags ) ;   10989                                      int flags ) ;
10990 extern int OBJ_new_nid(int num ) ;   10990 extern int OBJ_new_nid(int num ) ;
10991 extern int OBJ_add_object(ASN1_OBJECT const   *obj ) ;   10991 extern int OBJ_add_object(ASN1_OBJECT const   *obj ) ;
10992 extern int OBJ_create(char const   *oid , char const   *sn , char const   *ln ) ;   10992 extern int OBJ_create(char const   *oid , char const   *sn , char const   *ln ) ;
10993 extern void OBJ_cleanup(void) ;   10993 extern void OBJ_cleanup(void) ;
10994 extern int OBJ_create_objects(BIO *in ) ;   10994 extern int OBJ_create_objects(BIO *in ) ;
10995 extern int OBJ_find_sigid_algs(int signid , int *pdig_nid , int *ppkey_nid ) ;   10995 extern int OBJ_find_sigid_algs(int signid , int *pdig_nid , int *ppkey_nid ) ;
10996 extern int OBJ_find_sigid_by_algs(int *psignid , int dig_nid , int pkey_nid ) ;   10996 extern int OBJ_find_sigid_by_algs(int *psignid , int dig_nid , int pkey_nid ) ;
10997 extern int OBJ_add_sigid(int signid , int dig_id , int pkey_id ) ;   10997 extern int OBJ_add_sigid(int signid , int dig_id , int pkey_id ) ;
10998 extern void OBJ_sigid_free(void) ;   10998 extern void OBJ_sigid_free(void) ;
10999 extern int obj_cleanup_defer ;   10999 extern int obj_cleanup_defer ;
11000 extern void check_defer(int nid ) ;   11000 extern void check_defer(int nid ) ;
11001 extern void ERR_load_OBJ_strings(void) ;   11001 extern void ERR_load_OBJ_strings(void) ;
11002 extern int EVP_MD_type(EVP_MD const   *md ) ;   11002 extern int EVP_MD_type(EVP_MD const   *md ) ;
11003 extern int EVP_MD_pkey_type(EVP_MD const   *md ) ;   11003 extern int EVP_MD_pkey_type(EVP_MD const   *md ) ;
11004 extern int EVP_MD_size(EVP_MD const   *md ) ;   11004 extern int EVP_MD_size(EVP_MD const   *md ) ;
11005 extern int EVP_MD_block_size(EVP_MD const   *md ) ;   11005 extern int EVP_MD_block_size(EVP_MD const   *md ) ;
11006 extern unsigned long EVP_MD_flags(EVP_MD const   *md ) ;   11006 extern unsigned long EVP_MD_flags(EVP_MD const   *md ) ;
11007 extern EVP_MD const   *EVP_MD_CTX_md(EVP_MD_CTX const   *ctx ) ;   11007 extern EVP_MD const   *EVP_MD_CTX_md(EVP_MD_CTX const   *ctx ) ;
11008 extern int EVP_CIPHER_nid(EVP_CIPHER const   *cipher ) ;   11008 extern int EVP_CIPHER_nid(EVP_CIPHER const   *cipher ) ;
11009 extern int EVP_CIPHER_block_size(EVP_CIPHER const   *cipher ) ;   11009 extern int EVP_CIPHER_block_size(EVP_CIPHER const   *cipher ) ;
11010 extern int EVP_CIPHER_key_length(EVP_CIPHER const   *cipher ) ;   11010 extern int EVP_CIPHER_key_length(EVP_CIPHER const   *cipher ) ;
11011 extern int EVP_CIPHER_iv_length(EVP_CIPHER const   *cipher ) ;   11011 extern int EVP_CIPHER_iv_length(EVP_CIPHER const   *cipher ) ;
11012 extern unsigned long EVP_CIPHER_flags(EVP_CIPHER const   *cipher ) ;   11012 extern unsigned long EVP_CIPHER_flags(EVP_CIPHER const   *cipher ) ;
11013 extern EVP_CIPHER const   *EVP_CIPHER_CTX_cipher(EVP_CIPHER_CTX const   *ctx ) ;   11013 extern EVP_CIPHER const   *EVP_CIPHER_CTX_cipher(EVP_CIPHER_CTX const   *ctx ) ;
11014 extern int EVP_CIPHER_CTX_nid(EVP_CIPHER_CTX const   *ctx ) ;   11014 extern int EVP_CIPHER_CTX_nid(EVP_CIPHER_CTX const   *ctx ) ;
11015 extern int EVP_CIPHER_CTX_block_size(EVP_CIPHER_CTX const   *ctx ) ;   11015 extern int EVP_CIPHER_CTX_block_size(EVP_CIPHER_CTX const   *ctx ) ;
11016 extern int EVP_CIPHER_CTX_key_length(EVP_CIPHER_CTX const   *ctx ) ;   11016 extern int EVP_CIPHER_CTX_key_length(EVP_CIPHER_CTX const   *ctx ) ;
11017 extern int EVP_CIPHER_CTX_iv_length(EVP_CIPHER_CTX const   *ctx ) ;   11017 extern int EVP_CIPHER_CTX_iv_length(EVP_CIPHER_CTX const   *ctx ) ;
11018 extern int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out , EVP_CIPHER_CTX const   *in ) ;   11018 extern int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out , EVP_CIPHER_CTX const   *in ) ;
11019 extern void *EVP_CIPHER_CTX_get_app_data(EVP_CIPHER_CTX const   *ctx ) ;   11019 extern void *EVP_CIPHER_CTX_get_app_data(EVP_CIPHER_CTX const   *ctx ) ;
11020 extern void EVP_CIPHER_CTX_set_app_data(EVP_CIPHER_CTX *ctx , void *data ) ;   11020 extern void EVP_CIPHER_CTX_set_app_data(EVP_CIPHER_CTX *ctx , void *data ) ;
11021 extern unsigned long EVP_CIPHER_CTX_flags(EVP_CIPHER_CTX const   *ctx ) ;   11021 extern unsigned long EVP_CIPHER_CTX_flags(EVP_CIPHER_CTX const   *ctx ) ;
11022 extern int EVP_Cipher(EVP_CIPHER_CTX *c , unsigned char *out ,   11022 extern int EVP_Cipher(EVP_CIPHER_CTX *c , unsigned char *out ,
11023                       unsigned char const   *in , unsigned int inl ) ;   11023                       unsigned char const   *in , unsigned int inl ) ;
11024 extern void EVP_MD_CTX_init(EVP_MD_CTX *ctx ) ;   11024 extern void EVP_MD_CTX_init(EVP_MD_CTX *ctx ) ;
11025 extern int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx ) ;   11025 extern int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx ) ;
11026 extern EVP_MD_CTX *EVP_MD_CTX_create(void) ;   11026 extern EVP_MD_CTX *EVP_MD_CTX_create(void) ;
11027 extern void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx ) ;   11027 extern void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx ) ;
11028 extern int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out , EVP_MD_CTX const   *in ) ;   11028 extern int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out , EVP_MD_CTX const   *in ) ;
11029 extern void EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx , int flags ) ;   11029 extern void EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx , int flags ) ;
11030 extern void EVP_MD_CTX_clear_flags(EVP_MD_CTX *ctx , int flags ) ;   11030 extern void EVP_MD_CTX_clear_flags(EVP_MD_CTX *ctx , int flags ) ;
11031 extern int EVP_MD_CTX_test_flags(EVP_MD_CTX const   *ctx , int flags ) ;   11031 extern int EVP_MD_CTX_test_flags(EVP_MD_CTX const   *ctx , int flags ) ;
11032 extern int EVP_DigestInit_ex(EVP_MD_CTX *ctx , EVP_MD const   *type ,   11032 extern int EVP_DigestInit_ex(EVP_MD_CTX *ctx , EVP_MD const   *type ,
11033                              ENGINE *impl ) ;   11033                              ENGINE *impl ) ;
11034 extern int EVP_DigestUpdate(EVP_MD_CTX *ctx , void const   *d , size_t cnt ) ;   11034 extern int EVP_DigestUpdate(EVP_MD_CTX *ctx , void const   *d , size_t cnt ) ;
11035 extern int EVP_DigestFinal_ex(EVP_MD_CTX *ctx , unsigned char *md ,   11035 extern int EVP_DigestFinal_ex(EVP_MD_CTX *ctx , unsigned char *md ,
11036                               unsigned int *s ) ;   11036                               unsigned int *s ) ;
11037 extern int EVP_Digest(void const   *data , size_t count , unsigned char *md ,   11037 extern int EVP_Digest(void const   *data , size_t count , unsigned char *md ,
11038                       unsigned int *size , EVP_MD const   *type , ENGINE *impl ) ;   11038                       unsigned int *size , EVP_MD const   *type , ENGINE *impl ) ;
11039 extern int EVP_MD_CTX_copy(EVP_MD_CTX *out , EVP_MD_CTX const   *in ) ;   11039 extern int EVP_MD_CTX_copy(EVP_MD_CTX *out , EVP_MD_CTX const   *in ) ;
11040 extern int EVP_DigestInit(EVP_MD_CTX *ctx , EVP_MD const   *type ) ;   11040 extern int EVP_DigestInit(EVP_MD_CTX *ctx , EVP_MD const   *type ) ;
11041 extern int EVP_DigestFinal(EVP_MD_CTX *ctx , unsigned char *md ,   11041 extern int EVP_DigestFinal(EVP_MD_CTX *ctx , unsigned char *md ,
11042                            unsigned int *s ) ;   11042                            unsigned int *s ) ;
11043 extern int EVP_read_pw_string(char *buf , int length , char const   *prompt ,   11043 extern int EVP_read_pw_string(char *buf , int length , char const   *prompt ,
11044                               int verify ) ;   11044                               int verify ) ;
11045 extern int EVP_read_pw_string_min(char *buf , int minlen , int maxlen ,   11045 extern int EVP_read_pw_string_min(char *buf , int minlen , int maxlen ,
11046                                   char const   *prompt , int verify ) ;   11046                                   char const   *prompt , int verify ) ;
11047 extern void EVP_set_pw_prompt(char const   *prompt ) ;   11047 extern void EVP_set_pw_prompt(char const   *prompt ) ;
11048 extern char *EVP_get_pw_prompt(void) ;   11048 extern char *EVP_get_pw_prompt(void) ;
11049 extern int EVP_BytesToKey(EVP_CIPHER const   *type , EVP_MD const   *md ,   11049 extern int EVP_BytesToKey(EVP_CIPHER const   *type , EVP_MD const   *md ,
11050                           unsigned char const   *salt ,   11050                           unsigned char const   *salt ,
11051                           unsigned char const   *data , int datal , int count ,   11051                           unsigned char const   *data , int datal , int count ,
11052                           unsigned char *key , unsigned char *iv ) ;   11052                           unsigned char *key , unsigned char *iv ) ;
11053 extern void EVP_CIPHER_CTX_set_flags(EVP_CIPHER_CTX *ctx , int flags ) ;   11053 extern void EVP_CIPHER_CTX_set_flags(EVP_CIPHER_CTX *ctx , int flags ) ;
11054 extern void EVP_CIPHER_CTX_clear_flags(EVP_CIPHER_CTX *ctx , int flags ) ;   11054 extern void EVP_CIPHER_CTX_clear_flags(EVP_CIPHER_CTX *ctx , int flags ) ;
11055 extern int EVP_CIPHER_CTX_test_flags(EVP_CIPHER_CTX const   *ctx , int flags ) ;   11055 extern int EVP_CIPHER_CTX_test_flags(EVP_CIPHER_CTX const   *ctx , int flags ) ;
11056 extern int EVP_EncryptInit(EVP_CIPHER_CTX *ctx , EVP_CIPHER const   *cipher ,   11056 extern int EVP_EncryptInit(EVP_CIPHER_CTX *ctx , EVP_CIPHER const   *cipher ,
11057                            unsigned char const   *key ,   11057                            unsigned char const   *key ,
11058                            unsigned char const   *iv ) ;   11058                            unsigned char const   *iv ) ;
11059 extern int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx , EVP_CIPHER const   *cipher ,   11059 extern int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx , EVP_CIPHER const   *cipher ,
11060                               ENGINE *impl , unsigned char const   *key ,   11060                               ENGINE *impl , unsigned char const   *key ,
11061                               unsigned char const   *iv ) ;   11061                               unsigned char const   *iv ) ;
11062 extern int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx , unsigned char *out ,   11062 extern int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx , unsigned char *out ,
11063                              int *outl , unsigned char const   *in , int inl ) ;   11063                              int *outl , unsigned char const   *in , int inl ) ;
11064 extern int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx , unsigned char *out ,   11064 extern int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx , unsigned char *out ,
11065                                int *outl ) ;   11065                                int *outl ) ;
11066 extern int EVP_EncryptFinal(EVP_CIPHER_CTX *ctx , unsigned char *out ,   11066 extern int EVP_EncryptFinal(EVP_CIPHER_CTX *ctx , unsigned char *out ,
11067                             int *outl ) ;   11067                             int *outl ) ;
11068 extern int EVP_DecryptInit(EVP_CIPHER_CTX *ctx , EVP_CIPHER const   *cipher ,   11068 extern int EVP_DecryptInit(EVP_CIPHER_CTX *ctx , EVP_CIPHER const   *cipher ,
11069                            unsigned char const   *key ,   11069                            unsigned char const   *key ,
11070                            unsigned char const   *iv ) ;   11070                            unsigned char const   *iv ) ;
11071 extern int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx , EVP_CIPHER const   *cipher ,   11071 extern int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx , EVP_CIPHER const   *cipher ,
11072                               ENGINE *impl , unsigned char const   *key ,   11072                               ENGINE *impl , unsigned char const   *key ,
11073                               unsigned char const   *iv ) ;   11073                               unsigned char const   *iv ) ;
11074 extern int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx , unsigned char *out ,   11074 extern int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx , unsigned char *out ,
11075                              int *outl , unsigned char const   *in , int inl ) ;   11075                              int *outl , unsigned char const   *in , int inl ) ;
11076 extern int EVP_DecryptFinal(EVP_CIPHER_CTX *ctx , unsigned char *outm ,   11076 extern int EVP_DecryptFinal(EVP_CIPHER_CTX *ctx , unsigned char *outm ,
11077                             int *outl ) ;   11077                             int *outl ) ;
11078 extern int EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx , unsigned char *outm ,   11078 extern int EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx , unsigned char *outm ,
11079                                int *outl ) ;   11079                                int *outl ) ;
11080 extern int EVP_CipherInit(EVP_CIPHER_CTX *ctx , EVP_CIPHER const   *cipher ,   11080 extern int EVP_CipherInit(EVP_CIPHER_CTX *ctx , EVP_CIPHER const   *cipher ,
11081                           unsigned char const   *key ,   11081                           unsigned char const   *key ,
11082                           unsigned char const   *iv , int enc ) ;   11082                           unsigned char const   *iv , int enc ) ;
11083 extern int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx , EVP_CIPHER const   *cipher ,   11083 extern int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx , EVP_CIPHER const   *cipher ,
11084                              ENGINE *impl , unsigned char const   *key ,   11084                              ENGINE *impl , unsigned char const   *key ,
11085                              unsigned char const   *iv , int enc ) ;   11085                              unsigned char const   *iv , int enc ) ;
11086 extern int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx , unsigned char *out ,   11086 extern int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx , unsigned char *out ,
11087                             int *outl , unsigned char const   *in , int inl ) ;   11087                             int *outl , unsigned char const   *in , int inl ) ;
11088 extern int EVP_CipherFinal(EVP_CIPHER_CTX *ctx , unsigned char *outm ,   11088 extern int EVP_CipherFinal(EVP_CIPHER_CTX *ctx , unsigned char *outm ,
11089                            int *outl ) ;   11089                            int *outl ) ;
11090 extern int EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx , unsigned char *outm ,   11090 extern int EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx , unsigned char *outm ,
11091                               int *outl ) ;   11091                               int *outl ) ;
11092 extern int EVP_SignFinal(EVP_MD_CTX *ctx , unsigned char *md , unsigned int *s ,   11092 extern int EVP_SignFinal(EVP_MD_CTX *ctx , unsigned char *md , unsigned int *s ,
11093                          EVP_PKEY *pkey ) ;   11093                          EVP_PKEY *pkey ) ;
11094 extern int EVP_VerifyFinal(EVP_MD_CTX *ctx , unsigned char const   *sigbuf ,   11094 extern int EVP_VerifyFinal(EVP_MD_CTX *ctx , unsigned char const   *sigbuf ,
11095                            unsigned int siglen , EVP_PKEY *pkey ) ;   11095                            unsigned int siglen , EVP_PKEY *pkey ) ;
11096 extern int EVP_DigestSignInit(EVP_MD_CTX *ctx , EVP_PKEY_CTX **pctx ,   11096 extern int EVP_DigestSignInit(EVP_MD_CTX *ctx , EVP_PKEY_CTX **pctx ,
11097                               EVP_MD const   *type , ENGINE *e , EVP_PKEY *pkey ) ;   11097                               EVP_MD const   *type , ENGINE *e , EVP_PKEY *pkey ) ;
11098 extern int EVP_DigestSignFinal(EVP_MD_CTX *ctx , unsigned char *sigret ,   11098 extern int EVP_DigestSignFinal(EVP_MD_CTX *ctx , unsigned char *sigret ,
11099                                size_t *siglen ) ;   11099                                size_t *siglen ) ;
11100 extern int EVP_DigestVerifyInit(EVP_MD_CTX *ctx , EVP_PKEY_CTX **pctx ,   11100 extern int EVP_DigestVerifyInit(EVP_MD_CTX *ctx , EVP_PKEY_CTX **pctx ,
11101                                 EVP_MD const   *type , ENGINE *e ,   11101                                 EVP_MD const   *type , ENGINE *e ,
11102                                 EVP_PKEY *pkey ) ;   11102                                 EVP_PKEY *pkey ) ;
11103 extern int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx , unsigned char *sig ,   11103 extern int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx , unsigned char *sig ,
11104                                  size_t siglen ) ;   11104                                  size_t siglen ) ;
11105 extern int EVP_OpenInit(EVP_CIPHER_CTX *ctx , EVP_CIPHER const   *type ,   11105 extern int EVP_OpenInit(EVP_CIPHER_CTX *ctx , EVP_CIPHER const   *type ,
11106                         unsigned char const   *ek , int ekl ,   11106                         unsigned char const   *ek , int ekl ,
11107                         unsigned char const   *iv , EVP_PKEY *priv ) ;   11107                         unsigned char const   *iv , EVP_PKEY *priv ) ;
11108 extern int EVP_OpenFinal(EVP_CIPHER_CTX *ctx , unsigned char *out , int *outl ) ;   11108 extern int EVP_OpenFinal(EVP_CIPHER_CTX *ctx , unsigned char *out , int *outl ) ;
11109 extern int EVP_SealInit(EVP_CIPHER_CTX *ctx , EVP_CIPHER const   *type ,   11109 extern int EVP_SealInit(EVP_CIPHER_CTX *ctx , EVP_CIPHER const   *type ,
11110                         unsigned char **ek , int *ekl , unsigned char *iv ,   11110                         unsigned char **ek , int *ekl , unsigned char *iv ,
11111                         EVP_PKEY **pubk , int npubk ) ;   11111                         EVP_PKEY **pubk , int npubk ) ;
11112 extern int EVP_SealFinal(EVP_CIPHER_CTX *ctx , unsigned char *out , int *outl ) ;   11112 extern int EVP_SealFinal(EVP_CIPHER_CTX *ctx , unsigned char *out , int *outl ) ;
11113 extern void EVP_EncodeInit(EVP_ENCODE_CTX *ctx ) ;   11113 extern void EVP_EncodeInit(EVP_ENCODE_CTX *ctx ) ;
11114 extern void EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx , unsigned char *out ,   11114 extern void EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx , unsigned char *out ,
11115                              int *outl , unsigned char const   *in , int inl ) ;   11115                              int *outl , unsigned char const   *in , int inl ) ;
11116 extern void EVP_EncodeFinal(EVP_ENCODE_CTX *ctx , unsigned char *out ,   11116 extern void EVP_EncodeFinal(EVP_ENCODE_CTX *ctx , unsigned char *out ,
11117                             int *outl ) ;   11117                             int *outl ) ;
11118 extern int EVP_EncodeBlock(unsigned char *t , unsigned char const   *f , int n ) ;   11118 extern int EVP_EncodeBlock(unsigned char *t , unsigned char const   *f , int n ) ;
11119 extern void EVP_DecodeInit(EVP_ENCODE_CTX *ctx ) ;   11119 extern void EVP_DecodeInit(EVP_ENCODE_CTX *ctx ) ;
11120 extern int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx , unsigned char *out ,   11120 extern int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx , unsigned char *out ,
11121                             int *outl , unsigned char const   *in , int inl ) ;   11121                             int *outl , unsigned char const   *in , int inl ) ;
11122 extern int EVP_DecodeFinal(EVP_ENCODE_CTX *ctx , unsigned char *out , int *outl ) ;   11122 extern int EVP_DecodeFinal(EVP_ENCODE_CTX *ctx , unsigned char *out , int *outl ) ;
11123 extern int EVP_DecodeBlock(unsigned char *t , unsigned char const   *f , int n ) ;   11123 extern int EVP_DecodeBlock(unsigned char *t , unsigned char const   *f , int n ) ;
11124 extern void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *a ) ;   11124 extern void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *a ) ;
11125 extern int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *a ) ;   11125 extern int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *a ) ;
11126 extern EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void) ;   11126 extern EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void) ;
11127 extern void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *a ) ;   11127 extern void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *a ) ;
11128 extern int EVP_CIPHER_CTX_set_key_length(EVP_CIPHER_CTX *x , int keylen ) ;   11128 extern int EVP_CIPHER_CTX_set_key_length(EVP_CIPHER_CTX *x , int keylen ) ;
11129 extern int EVP_CIPHER_CTX_set_padding(EVP_CIPHER_CTX *c , int pad ) ;   11129 extern int EVP_CIPHER_CTX_set_padding(EVP_CIPHER_CTX *c , int pad ) ;
11130 extern int EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx , int type , int arg ,   11130 extern int EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx , int type , int arg ,
11131                                void *ptr ) ;   11131                                void *ptr ) ;
11132 extern int EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx , unsigned char *key ) ;   11132 extern int EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx , unsigned char *key ) ;
11133 extern BIO_METHOD *BIO_f_md(void) ;   11133 extern BIO_METHOD *BIO_f_md(void) ;
11134 extern BIO_METHOD *BIO_f_base64(void) ;   11134 extern BIO_METHOD *BIO_f_base64(void) ;
11135 extern BIO_METHOD *BIO_f_cipher(void) ;   11135 extern BIO_METHOD *BIO_f_cipher(void) ;
11136 extern BIO_METHOD *BIO_f_reliable(void) ;   11136 extern BIO_METHOD *BIO_f_reliable(void) ;
11137 extern void BIO_set_cipher(BIO *b , EVP_CIPHER const   *c ,   11137 extern void BIO_set_cipher(BIO *b , EVP_CIPHER const   *c ,
11138                            unsigned char const   *k , unsigned char const   *i ,   11138                            unsigned char const   *k , unsigned char const   *i ,
11139                            int enc ) ;   11139                            int enc ) ;
11140 extern EVP_MD const   *EVP_md_null(void) ;   11140 extern EVP_MD const   *EVP_md_null(void) ;
11141 extern EVP_MD const   *EVP_md2(void) ;   11141 extern EVP_MD const   *EVP_md2(void) ;
11142 extern EVP_MD const   *EVP_md4(void) ;   11142 extern EVP_MD const   *EVP_md4(void) ;
11143 extern EVP_MD const   *EVP_md5(void) ;   11143 extern EVP_MD const   *EVP_md5(void) ;
11144 extern EVP_MD const   *EVP_sha(void) ;   11144 extern EVP_MD const   *EVP_sha(void) ;
11145 extern EVP_MD const   *EVP_sha1(void) ;   11145 extern EVP_MD const   *EVP_sha1(void) ;
11146 extern EVP_MD const   *EVP_dss(void) ;   11146 extern EVP_MD const   *EVP_dss(void) ;
11147 extern EVP_MD const   *EVP_dss1(void) ;   11147 extern EVP_MD const   *EVP_dss1(void) ;
11148 extern EVP_MD const   *EVP_ecdsa(void) ;   11148 extern EVP_MD const   *EVP_ecdsa(void) ;
11149 extern EVP_MD const   *EVP_sha224(void) ;   11149 extern EVP_MD const   *EVP_sha224(void) ;
11150 extern EVP_MD const   *EVP_sha256(void) ;   11150 extern EVP_MD const   *EVP_sha256(void) ;
11151 extern EVP_MD const   *EVP_sha384(void) ;   11151 extern EVP_MD const   *EVP_sha384(void) ;
11152 extern EVP_MD const   *EVP_sha512(void) ;   11152 extern EVP_MD const   *EVP_sha512(void) ;
11153 extern EVP_MD const   *EVP_ripemd160(void) ;   11153 extern EVP_MD const   *EVP_ripemd160(void) ;
11154 extern EVP_MD const   *EVP_whirlpool(void) ;   11154 extern EVP_MD const   *EVP_whirlpool(void) ;
11155 extern EVP_CIPHER const   *EVP_enc_null(void) ;   11155 extern EVP_CIPHER const   *EVP_enc_null(void) ;
11156 extern EVP_CIPHER const   *EVP_des_ecb(void) ;   11156 extern EVP_CIPHER const   *EVP_des_ecb(void) ;
11157 extern EVP_CIPHER const   *EVP_des_ede(void) ;   11157 extern EVP_CIPHER const   *EVP_des_ede(void) ;
11158 extern EVP_CIPHER const   *EVP_des_ede3(void) ;   11158 extern EVP_CIPHER const   *EVP_des_ede3(void) ;
11159 extern EVP_CIPHER const   *EVP_des_ede_ecb(void) ;   11159 extern EVP_CIPHER const   *EVP_des_ede_ecb(void) ;
11160 extern EVP_CIPHER const   *EVP_des_ede3_ecb(void) ;   11160 extern EVP_CIPHER const   *EVP_des_ede3_ecb(void) ;
11161 extern EVP_CIPHER const   *EVP_des_cfb64(void) ;   11161 extern EVP_CIPHER const   *EVP_des_cfb64(void) ;
11162 extern EVP_CIPHER const   *EVP_des_cfb1(void) ;   11162 extern EVP_CIPHER const   *EVP_des_cfb1(void) ;
11163 extern EVP_CIPHER const   *EVP_des_cfb8(void) ;   11163 extern EVP_CIPHER const   *EVP_des_cfb8(void) ;
11164 extern EVP_CIPHER const   *EVP_des_ede_cfb64(void) ;   11164 extern EVP_CIPHER const   *EVP_des_ede_cfb64(void) ;
11165 extern EVP_CIPHER const   *EVP_des_ede3_cfb64(void) ;   11165 extern EVP_CIPHER const   *EVP_des_ede3_cfb64(void) ;
11166 extern EVP_CIPHER const   *EVP_des_ede3_cfb1(void) ;   11166 extern EVP_CIPHER const   *EVP_des_ede3_cfb1(void) ;
11167 extern EVP_CIPHER const   *EVP_des_ede3_cfb8(void) ;   11167 extern EVP_CIPHER const   *EVP_des_ede3_cfb8(void) ;
11168 extern EVP_CIPHER const   *EVP_des_ofb(void) ;   11168 extern EVP_CIPHER const   *EVP_des_ofb(void) ;
11169 extern EVP_CIPHER const   *EVP_des_ede_ofb(void) ;   11169 extern EVP_CIPHER const   *EVP_des_ede_ofb(void) ;
11170 extern EVP_CIPHER const   *EVP_des_ede3_ofb(void) ;   11170 extern EVP_CIPHER const   *EVP_des_ede3_ofb(void) ;
11171 extern EVP_CIPHER const   *EVP_des_cbc(void) ;   11171 extern EVP_CIPHER const   *EVP_des_cbc(void) ;
11172 extern EVP_CIPHER const   *EVP_des_ede_cbc(void) ;   11172 extern EVP_CIPHER const   *EVP_des_ede_cbc(void) ;
11173 extern EVP_CIPHER const   *EVP_des_ede3_cbc(void) ;   11173 extern EVP_CIPHER const   *EVP_des_ede3_cbc(void) ;
11174 extern EVP_CIPHER const   *EVP_desx_cbc(void) ;   11174 extern EVP_CIPHER const   *EVP_desx_cbc(void) ;
11175 extern EVP_CIPHER const   *EVP_rc4(void) ;   11175 extern EVP_CIPHER const   *EVP_rc4(void) ;
11176 extern EVP_CIPHER const   *EVP_rc4_40(void) ;   11176 extern EVP_CIPHER const   *EVP_rc4_40(void) ;
11177 extern EVP_CIPHER const   *EVP_rc2_ecb(void) ;   11177 extern EVP_CIPHER const   *EVP_rc2_ecb(void) ;
11178 extern EVP_CIPHER const   *EVP_rc2_cbc(void) ;   11178 extern EVP_CIPHER const   *EVP_rc2_cbc(void) ;
11179 extern EVP_CIPHER const   *EVP_rc2_40_cbc(void) ;   11179 extern EVP_CIPHER const   *EVP_rc2_40_cbc(void) ;
11180 extern EVP_CIPHER const   *EVP_rc2_64_cbc(void) ;   11180 extern EVP_CIPHER const   *EVP_rc2_64_cbc(void) ;
11181 extern EVP_CIPHER const   *EVP_rc2_cfb64(void) ;   11181 extern EVP_CIPHER const   *EVP_rc2_cfb64(void) ;
11182 extern EVP_CIPHER const   *EVP_rc2_ofb(void) ;   11182 extern EVP_CIPHER const   *EVP_rc2_ofb(void) ;
11183 extern EVP_CIPHER const   *EVP_bf_ecb(void) ;   11183 extern EVP_CIPHER const   *EVP_bf_ecb(void) ;
11184 extern EVP_CIPHER const   *EVP_bf_cbc(void) ;   11184 extern EVP_CIPHER const   *EVP_bf_cbc(void) ;
11185 extern EVP_CIPHER const   *EVP_bf_cfb64(void) ;   11185 extern EVP_CIPHER const   *EVP_bf_cfb64(void) ;
11186 extern EVP_CIPHER const   *EVP_bf_ofb(void) ;   11186 extern EVP_CIPHER const   *EVP_bf_ofb(void) ;
11187 extern EVP_CIPHER const   *EVP_cast5_ecb(void) ;   11187 extern EVP_CIPHER const   *EVP_cast5_ecb(void) ;
11188 extern EVP_CIPHER const   *EVP_cast5_cbc(void) ;   11188 extern EVP_CIPHER const   *EVP_cast5_cbc(void) ;
11189 extern EVP_CIPHER const   *EVP_cast5_cfb64(void) ;   11189 extern EVP_CIPHER const   *EVP_cast5_cfb64(void) ;
11190 extern EVP_CIPHER const   *EVP_cast5_ofb(void) ;   11190 extern EVP_CIPHER const   *EVP_cast5_ofb(void) ;
11191 extern EVP_CIPHER const   *EVP_aes_128_ecb(void) ;   11191 extern EVP_CIPHER const   *EVP_aes_128_ecb(void) ;
11192 extern EVP_CIPHER const   *EVP_aes_128_cbc(void) ;   11192 extern EVP_CIPHER const   *EVP_aes_128_cbc(void) ;
11193 extern EVP_CIPHER const   *EVP_aes_128_cfb1(void) ;   11193 extern EVP_CIPHER const   *EVP_aes_128_cfb1(void) ;
11194 extern EVP_CIPHER const   *EVP_aes_128_cfb8(void) ;   11194 extern EVP_CIPHER const   *EVP_aes_128_cfb8(void) ;
11195 extern EVP_CIPHER const   *EVP_aes_128_cfb128(void) ;   11195 extern EVP_CIPHER const   *EVP_aes_128_cfb128(void) ;
11196 extern EVP_CIPHER const   *EVP_aes_128_ofb(void) ;   11196 extern EVP_CIPHER const   *EVP_aes_128_ofb(void) ;
11197 extern EVP_CIPHER const   *EVP_aes_192_ecb(void) ;   11197 extern EVP_CIPHER const   *EVP_aes_192_ecb(void) ;
11198 extern EVP_CIPHER const   *EVP_aes_192_cbc(void) ;   11198 extern EVP_CIPHER const   *EVP_aes_192_cbc(void) ;
11199 extern EVP_CIPHER const   *EVP_aes_192_cfb1(void) ;   11199 extern EVP_CIPHER const   *EVP_aes_192_cfb1(void) ;
11200 extern EVP_CIPHER const   *EVP_aes_192_cfb8(void) ;   11200 extern EVP_CIPHER const   *EVP_aes_192_cfb8(void) ;
11201 extern EVP_CIPHER const   *EVP_aes_192_cfb128(void) ;   11201 extern EVP_CIPHER const   *EVP_aes_192_cfb128(void) ;
11202 extern EVP_CIPHER const   *EVP_aes_192_ofb(void) ;   11202 extern EVP_CIPHER const   *EVP_aes_192_ofb(void) ;
11203 extern EVP_CIPHER const   *EVP_aes_256_ecb(void) ;   11203 extern EVP_CIPHER const   *EVP_aes_256_ecb(void) ;
11204 extern EVP_CIPHER const   *EVP_aes_256_cbc(void) ;   11204 extern EVP_CIPHER const   *EVP_aes_256_cbc(void) ;
11205 extern EVP_CIPHER const   *EVP_aes_256_cfb1(void) ;   11205 extern EVP_CIPHER const   *EVP_aes_256_cfb1(void) ;
11206 extern EVP_CIPHER const   *EVP_aes_256_cfb8(void) ;   11206 extern EVP_CIPHER const   *EVP_aes_256_cfb8(void) ;
11207 extern EVP_CIPHER const   *EVP_aes_256_cfb128(void) ;   11207 extern EVP_CIPHER const   *EVP_aes_256_cfb128(void) ;
11208 extern EVP_CIPHER const   *EVP_aes_256_ofb(void) ;   11208 extern EVP_CIPHER const   *EVP_aes_256_ofb(void) ;
11209 extern EVP_CIPHER const   *EVP_camellia_128_ecb(void) ;   11209 extern EVP_CIPHER const   *EVP_camellia_128_ecb(void) ;
11210 extern EVP_CIPHER const   *EVP_camellia_128_cbc(void) ;   11210 extern EVP_CIPHER const   *EVP_camellia_128_cbc(void) ;
11211 extern EVP_CIPHER const   *EVP_camellia_128_cfb1(void) ;   11211 extern EVP_CIPHER const   *EVP_camellia_128_cfb1(void) ;
11212 extern EVP_CIPHER const   *EVP_camellia_128_cfb8(void) ;   11212 extern EVP_CIPHER const   *EVP_camellia_128_cfb8(void) ;
11213 extern EVP_CIPHER const   *EVP_camellia_128_cfb128(void) ;   11213 extern EVP_CIPHER const   *EVP_camellia_128_cfb128(void) ;
11214 extern EVP_CIPHER const   *EVP_camellia_128_ofb(void) ;   11214 extern EVP_CIPHER const   *EVP_camellia_128_ofb(void) ;
11215 extern EVP_CIPHER const   *EVP_camellia_192_ecb(void) ;   11215 extern EVP_CIPHER const   *EVP_camellia_192_ecb(void) ;
11216 extern EVP_CIPHER const   *EVP_camellia_192_cbc(void) ;   11216 extern EVP_CIPHER const   *EVP_camellia_192_cbc(void) ;
11217 extern EVP_CIPHER const   *EVP_camellia_192_cfb1(void) ;   11217 extern EVP_CIPHER const   *EVP_camellia_192_cfb1(void) ;
11218 extern EVP_CIPHER const   *EVP_camellia_192_cfb8(void) ;   11218 extern EVP_CIPHER const   *EVP_camellia_192_cfb8(void) ;
11219 extern EVP_CIPHER const   *EVP_camellia_192_cfb128(void) ;   11219 extern EVP_CIPHER const   *EVP_camellia_192_cfb128(void) ;
11220 extern EVP_CIPHER const   *EVP_camellia_192_ofb(void) ;   11220 extern EVP_CIPHER const   *EVP_camellia_192_ofb(void) ;
11221 extern EVP_CIPHER const   *EVP_camellia_256_ecb(void) ;   11221 extern EVP_CIPHER const   *EVP_camellia_256_ecb(void) ;
11222 extern EVP_CIPHER const   *EVP_camellia_256_cbc(void) ;   11222 extern EVP_CIPHER const   *EVP_camellia_256_cbc(void) ;
11223 extern EVP_CIPHER const   *EVP_camellia_256_cfb1(void) ;   11223 extern EVP_CIPHER const   *EVP_camellia_256_cfb1(void) ;
11224 extern EVP_CIPHER const   *EVP_camellia_256_cfb8(void) ;   11224 extern EVP_CIPHER const   *EVP_camellia_256_cfb8(void) ;
11225 extern EVP_CIPHER const   *EVP_camellia_256_cfb128(void) ;   11225 extern EVP_CIPHER const   *EVP_camellia_256_cfb128(void) ;
11226 extern EVP_CIPHER const   *EVP_camellia_256_ofb(void) ;   11226 extern EVP_CIPHER const   *EVP_camellia_256_ofb(void) ;
11227 extern EVP_CIPHER const   *EVP_seed_ecb(void) ;   11227 extern EVP_CIPHER const   *EVP_seed_ecb(void) ;
11228 extern EVP_CIPHER const   *EVP_seed_cbc(void) ;   11228 extern EVP_CIPHER const   *EVP_seed_cbc(void) ;
11229 extern EVP_CIPHER const   *EVP_seed_cfb128(void) ;   11229 extern EVP_CIPHER const   *EVP_seed_cfb128(void) ;
11230 extern EVP_CIPHER const   *EVP_seed_ofb(void) ;   11230 extern EVP_CIPHER const   *EVP_seed_ofb(void) ;
11231 extern void OPENSSL_add_all_algorithms_noconf(void) ;   11231 extern void OPENSSL_add_all_algorithms_noconf(void) ;
11232 extern void OPENSSL_add_all_algorithms_conf(void) ;   11232 extern void OPENSSL_add_all_algorithms_conf(void) ;
11233 extern void OpenSSL_add_all_ciphers(void) ;   11233 extern void OpenSSL_add_all_ciphers(void) ;
11234 extern void OpenSSL_add_all_digests(void) ;   11234 extern void OpenSSL_add_all_digests(void) ;
11235 extern int EVP_add_cipher(EVP_CIPHER const   *cipher ) ;   11235 extern int EVP_add_cipher(EVP_CIPHER const   *cipher ) ;
11236 extern int EVP_add_digest(EVP_MD const   *digest ) ;   11236 extern int EVP_add_digest(EVP_MD const   *digest ) ;
11237 extern EVP_CIPHER const   *EVP_get_cipherbyname(char const   *name ) ;   11237 extern EVP_CIPHER const   *EVP_get_cipherbyname(char const   *name ) ;
11238 extern EVP_MD const   *EVP_get_digestbyname(char const   *name ) ;   11238 extern EVP_MD const   *EVP_get_digestbyname(char const   *name ) ;
11239 extern void EVP_cleanup(void) ;   11239 extern void EVP_cleanup(void) ;
11240 extern void EVP_CIPHER_do_all(void (*fn)(EVP_CIPHER const   *ciph ,   11240 extern void EVP_CIPHER_do_all(void (*fn)(EVP_CIPHER const   *ciph ,
11241                                          char const   *from , char const   *to ,   11241                                          char const   *from , char const   *to ,
11242                                          void *x ) , void *arg ) ;   11242                                          void *x ) , void *arg ) ;
11243 extern void EVP_CIPHER_do_all_sorted(void (*fn)(EVP_CIPHER const   *ciph ,   11243 extern void EVP_CIPHER_do_all_sorted(void (*fn)(EVP_CIPHER const   *ciph ,
11244                                                 char const   *from ,   11244                                                 char const   *from ,
11245                                                 char const   *to , void *x ) ,   11245                                                 char const   *to , void *x ) ,
11246                                      void *arg ) ;   11246                                      void *arg ) ;
11247 extern void EVP_MD_do_all(void (*fn)(EVP_MD const   *ciph , char const   *from ,   11247 extern void EVP_MD_do_all(void (*fn)(EVP_MD const   *ciph , char const   *from ,
11248                                      char const   *to , void *x ) , void *arg ) ;   11248                                      char const   *to , void *x ) , void *arg ) ;
11249 extern void EVP_MD_do_all_sorted(void (*fn)(EVP_MD const   *ciph ,   11249 extern void EVP_MD_do_all_sorted(void (*fn)(EVP_MD const   *ciph ,
11250                                             char const   *from ,   11250                                             char const   *from ,
11251                                             char const   *to , void *x ) ,   11251                                             char const   *to , void *x ) ,
11252                                  void *arg ) ;   11252                                  void *arg ) ;
11253 extern int EVP_PKEY_decrypt_old(unsigned char *dec_key ,   11253 extern int EVP_PKEY_decrypt_old(unsigned char *dec_key ,
11254                                 unsigned char const   *enc_key ,   11254                                 unsigned char const   *enc_key ,
11255                                 int enc_key_len , EVP_PKEY *private_key ) ;   11255                                 int enc_key_len , EVP_PKEY *private_key ) ;
11256 extern int EVP_PKEY_encrypt_old(unsigned char *enc_key ,   11256 extern int EVP_PKEY_encrypt_old(unsigned char *enc_key ,
11257                                 unsigned char const   *key , int key_len ,   11257                                 unsigned char const   *key , int key_len ,
11258                                 EVP_PKEY *pub_key ) ;   11258                                 EVP_PKEY *pub_key ) ;
11259 extern int EVP_PKEY_type(int type ) ;   11259 extern int EVP_PKEY_type(int type ) ;
11260 extern int EVP_PKEY_id(EVP_PKEY const   *pkey ) ;   11260 extern int EVP_PKEY_id(EVP_PKEY const   *pkey ) ;
11261 extern int EVP_PKEY_base_id(EVP_PKEY const   *pkey ) ;   11261 extern int EVP_PKEY_base_id(EVP_PKEY const   *pkey ) ;
11262 extern int EVP_PKEY_bits(EVP_PKEY *pkey ) ;   11262 extern int EVP_PKEY_bits(EVP_PKEY *pkey ) ;
11263 extern int EVP_PKEY_size(EVP_PKEY *pkey ) ;   11263 extern int EVP_PKEY_size(EVP_PKEY *pkey ) ;
11264 extern int EVP_PKEY_set_type(EVP_PKEY *pkey , int type ) ;   11264 extern int EVP_PKEY_set_type(EVP_PKEY *pkey , int type ) ;
11265 extern int EVP_PKEY_set_type_str(EVP_PKEY *pkey , char const   *str , int len ) ;   11265 extern int EVP_PKEY_set_type_str(EVP_PKEY *pkey , char const   *str , int len ) ;
11266 extern int EVP_PKEY_assign(EVP_PKEY *pkey , int type , void *key ) ;   11266 extern int EVP_PKEY_assign(EVP_PKEY *pkey , int type , void *key ) ;
11267 extern void *EVP_PKEY_get0(EVP_PKEY *pkey ) ;   11267 extern void *EVP_PKEY_get0(EVP_PKEY *pkey ) ;
11268 extern int EVP_PKEY_set1_RSA(EVP_PKEY *pkey , struct rsa_st *key ) ;   11268 extern int EVP_PKEY_set1_RSA(EVP_PKEY *pkey , struct rsa_st *key ) ;
11269 extern struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey ) ;   11269 extern struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey ) ;
11270 extern int EVP_PKEY_set1_DSA(EVP_PKEY *pkey , struct dsa_st *key ) ;   11270 extern int EVP_PKEY_set1_DSA(EVP_PKEY *pkey , struct dsa_st *key ) ;
11271 extern struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey ) ;   11271 extern struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey ) ;
11272 extern int EVP_PKEY_set1_DH(EVP_PKEY *pkey , struct dh_st *key ) ;   11272 extern int EVP_PKEY_set1_DH(EVP_PKEY *pkey , struct dh_st *key ) ;
11273 extern struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey ) ;   11273 extern struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey ) ;
11274 extern EVP_PKEY *EVP_PKEY_new(void) ;   11274 extern EVP_PKEY *EVP_PKEY_new(void) ;
11275 extern void EVP_PKEY_free(EVP_PKEY *pkey ) ;   11275 extern void EVP_PKEY_free(EVP_PKEY *pkey ) ;
11276 extern EVP_PKEY *d2i_PublicKey(int type , EVP_PKEY **a ,   11276 extern EVP_PKEY *d2i_PublicKey(int type , EVP_PKEY **a ,
11277                                unsigned char const   **pp , long length ) ;   11277                                unsigned char const   **pp , long length ) ;
11278 extern int i2d_PublicKey(EVP_PKEY *a , unsigned char **pp ) ;   11278 extern int i2d_PublicKey(EVP_PKEY *a , unsigned char **pp ) ;
11279 extern EVP_PKEY *d2i_PrivateKey(int type , EVP_PKEY **a ,   11279 extern EVP_PKEY *d2i_PrivateKey(int type , EVP_PKEY **a ,
11280                                 unsigned char const   **pp , long length ) ;   11280                                 unsigned char const   **pp , long length ) ;
11281 extern EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **a , unsigned char const   **pp ,   11281 extern EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **a , unsigned char const   **pp ,
11282                                     long length ) ;   11282                                     long length ) ;
11283 extern int i2d_PrivateKey(EVP_PKEY *a , unsigned char **pp ) ;   11283 extern int i2d_PrivateKey(EVP_PKEY *a , unsigned char **pp ) ;
11284 extern int EVP_PKEY_copy_parameters(EVP_PKEY *to , EVP_PKEY const   *from ) ;   11284 extern int EVP_PKEY_copy_parameters(EVP_PKEY *to , EVP_PKEY const   *from ) ;
11285 extern int EVP_PKEY_missing_parameters(EVP_PKEY const   *pkey ) ;   11285 extern int EVP_PKEY_missing_parameters(EVP_PKEY const   *pkey ) ;
11286 extern int EVP_PKEY_save_parameters(EVP_PKEY *pkey , int mode ) ;   11286 extern int EVP_PKEY_save_parameters(EVP_PKEY *pkey , int mode ) ;
11287 extern int EVP_PKEY_cmp_parameters(EVP_PKEY const   *a , EVP_PKEY const   *b ) ;   11287 extern int EVP_PKEY_cmp_parameters(EVP_PKEY const   *a , EVP_PKEY const   *b ) ;
11288 extern int EVP_PKEY_cmp(EVP_PKEY const   *a , EVP_PKEY const   *b ) ;   11288 extern int EVP_PKEY_cmp(EVP_PKEY const   *a , EVP_PKEY const   *b ) ;
11289 extern int EVP_PKEY_print_public(BIO *out , EVP_PKEY const   *pkey ,   11289 extern int EVP_PKEY_print_public(BIO *out , EVP_PKEY const   *pkey ,
11290                                  int indent , ASN1_PCTX *pctx ) ;   11290                                  int indent , ASN1_PCTX *pctx ) ;
11291 extern int EVP_PKEY_print_private(BIO *out , EVP_PKEY const   *pkey ,   11291 extern int EVP_PKEY_print_private(BIO *out , EVP_PKEY const   *pkey ,
11292                                   int indent , ASN1_PCTX *pctx ) ;   11292                                   int indent , ASN1_PCTX *pctx ) ;
11293 extern int EVP_PKEY_print_params(BIO *out , EVP_PKEY const   *pkey ,   11293 extern int EVP_PKEY_print_params(BIO *out , EVP_PKEY const   *pkey ,
11294                                  int indent , ASN1_PCTX *pctx ) ;   11294                                  int indent , ASN1_PCTX *pctx ) ;
11295 extern int EVP_PKEY_get_default_digest_nid(EVP_PKEY *pkey , int *pnid ) ;   11295 extern int EVP_PKEY_get_default_digest_nid(EVP_PKEY *pkey , int *pnid ) ;
11296 extern int EVP_CIPHER_type(EVP_CIPHER const   *ctx ) ;   11296 extern int EVP_CIPHER_type(EVP_CIPHER const   *ctx ) ;
11297 extern int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c , ASN1_TYPE *type ) ;   11297 extern int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c , ASN1_TYPE *type ) ;
11298 extern int EVP_CIPHER_asn1_to_param(EVP_CIPHER_CTX *c , ASN1_TYPE *type ) ;   11298 extern int EVP_CIPHER_asn1_to_param(EVP_CIPHER_CTX *c , ASN1_TYPE *type ) ;
11299 extern int EVP_CIPHER_set_asn1_iv(EVP_CIPHER_CTX *c , ASN1_TYPE *type ) ;   11299 extern int EVP_CIPHER_set_asn1_iv(EVP_CIPHER_CTX *c , ASN1_TYPE *type ) ;
11300 extern int EVP_CIPHER_get_asn1_iv(EVP_CIPHER_CTX *c , ASN1_TYPE *type ) ;   11300 extern int EVP_CIPHER_get_asn1_iv(EVP_CIPHER_CTX *c , ASN1_TYPE *type ) ;
11301 extern int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *ctx , char const   *pass ,   11301 extern int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *ctx , char const   *pass ,
11302                               int passlen , ASN1_TYPE *param ,   11302                               int passlen , ASN1_TYPE *param ,
11303                               EVP_CIPHER const   *cipher , EVP_MD const   *md ,   11303                               EVP_CIPHER const   *cipher , EVP_MD const   *md ,
11304                               int en_de ) ;   11304                               int en_de ) ;
11305 extern int PKCS5_PBKDF2_HMAC_SHA1(char const   *pass , int passlen ,   11305 extern int PKCS5_PBKDF2_HMAC_SHA1(char const   *pass , int passlen ,
11306                                   unsigned char const   *salt , int saltlen ,   11306                                   unsigned char const   *salt , int saltlen ,
11307                                   int iter , int keylen , unsigned char *out ) ;   11307                                   int iter , int keylen , unsigned char *out ) ;
11308 extern int PKCS5_PBKDF2_HMAC(char const   *pass , int passlen ,   11308 extern int PKCS5_PBKDF2_HMAC(char const   *pass , int passlen ,
11309                              unsigned char const   *salt , int saltlen ,   11309                              unsigned char const   *salt , int saltlen ,
11310                              int iter , EVP_MD const   *digest , int keylen ,   11310                              int iter , EVP_MD const   *digest , int keylen ,
11311                              unsigned char *out ) ;   11311                              unsigned char *out ) ;
11312 extern int PKCS5_v2_PBE_keyivgen(EVP_CIPHER_CTX *ctx , char const   *pass ,   11312 extern int PKCS5_v2_PBE_keyivgen(EVP_CIPHER_CTX *ctx , char const   *pass ,
11313                                  int passlen , ASN1_TYPE *param ,   11313                                  int passlen , ASN1_TYPE *param ,
11314                                  EVP_CIPHER const   *cipher ,   11314                                  EVP_CIPHER const   *cipher ,
11315                                  EVP_MD const   *md , int en_de ) ;   11315                                  EVP_MD const   *md , int en_de ) ;
11316 extern void PKCS5_PBE_add(void) ;   11316 extern void PKCS5_PBE_add(void) ;
11317 extern int EVP_PBE_CipherInit(ASN1_OBJECT *pbe_obj , char const   *pass ,   11317 extern int EVP_PBE_CipherInit(ASN1_OBJECT *pbe_obj , char const   *pass ,
11318                               int passlen , ASN1_TYPE *param ,   11318                               int passlen , ASN1_TYPE *param ,
11319                               EVP_CIPHER_CTX *ctx , int en_de ) ;   11319                               EVP_CIPHER_CTX *ctx , int en_de ) ;
11320 extern int EVP_PBE_alg_add_type(int pbe_type , int pbe_nid , int cipher_nid ,   11320 extern int EVP_PBE_alg_add_type(int pbe_type , int pbe_nid , int cipher_nid ,
11321                                 int md_nid , EVP_PBE_KEYGEN *keygen ) ;   11321                                 int md_nid , EVP_PBE_KEYGEN *keygen ) ;
11322 extern int EVP_PBE_alg_add(int nid , EVP_CIPHER const   *cipher ,   11322 extern int EVP_PBE_alg_add(int nid , EVP_CIPHER const   *cipher ,
11323                            EVP_MD const   *md , EVP_PBE_KEYGEN *keygen ) ;   11323                            EVP_MD const   *md , EVP_PBE_KEYGEN *keygen ) ;
11324 extern int EVP_PBE_find(int type , int pbe_nid , int *pcnid , int *pmnid ,   11324 extern int EVP_PBE_find(int type , int pbe_nid , int *pcnid , int *pmnid ,
11325                         EVP_PBE_KEYGEN **pkeygen ) ;   11325                         EVP_PBE_KEYGEN **pkeygen ) ;
11326 extern void EVP_PBE_cleanup(void) ;   11326 extern void EVP_PBE_cleanup(void) ;
11327 extern int EVP_PKEY_asn1_get_count(void) ;   11327 extern int EVP_PKEY_asn1_get_count(void) ;
11328 extern EVP_PKEY_ASN1_METHOD const   *EVP_PKEY_asn1_get0(int idx ) ;   11328 extern EVP_PKEY_ASN1_METHOD const   *EVP_PKEY_asn1_get0(int idx ) ;
11329 extern EVP_PKEY_ASN1_METHOD const   *EVP_PKEY_asn1_find(ENGINE **pe , int type ) ;   11329 extern EVP_PKEY_ASN1_METHOD const   *EVP_PKEY_asn1_find(ENGINE **pe , int type ) ;
11330 extern EVP_PKEY_ASN1_METHOD const   *EVP_PKEY_asn1_find_str(ENGINE **pe ,   11330 extern EVP_PKEY_ASN1_METHOD const   *EVP_PKEY_asn1_find_str(ENGINE **pe ,
11331                                                             char const   *str ,   11331                                                             char const   *str ,
11332                                                             int len ) ;   11332                                                             int len ) ;
11333 extern int EVP_PKEY_asn1_add0(EVP_PKEY_ASN1_METHOD const   *ameth ) ;   11333 extern int EVP_PKEY_asn1_add0(EVP_PKEY_ASN1_METHOD const   *ameth ) ;
11334 extern int EVP_PKEY_asn1_add_alias(int to , int from ) ;   11334 extern int EVP_PKEY_asn1_add_alias(int to , int from ) ;
11335 extern int EVP_PKEY_asn1_get0_info(int *ppkey_id , int *pkey_base_id ,   11335 extern int EVP_PKEY_asn1_get0_info(int *ppkey_id , int *pkey_base_id ,
11336                                    int *ppkey_flags , char const   **pinfo ,   11336                                    int *ppkey_flags , char const   **pinfo ,
11337                                    char const   **ppem_str ,   11337                                    char const   **ppem_str ,
11338                                    EVP_PKEY_ASN1_METHOD const   *ameth ) ;   11338                                    EVP_PKEY_ASN1_METHOD const   *ameth ) ;
11339 extern EVP_PKEY_ASN1_METHOD const   *EVP_PKEY_get0_asn1(EVP_PKEY *pkey ) ;   11339 extern EVP_PKEY_ASN1_METHOD const   *EVP_PKEY_get0_asn1(EVP_PKEY *pkey ) ;
11340 extern EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_new(int id , int flags ,   11340 extern EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_new(int id , int flags ,
11341                                                char const   *pem_str ,   11341                                                char const   *pem_str ,
11342                                                char const   *info ) ;   11342                                                char const   *info ) ;
11343 extern void EVP_PKEY_asn1_copy(EVP_PKEY_ASN1_METHOD *dst ,   11343 extern void EVP_PKEY_asn1_copy(EVP_PKEY_ASN1_METHOD *dst ,
11344                                EVP_PKEY_ASN1_METHOD const   *src ) ;   11344                                EVP_PKEY_ASN1_METHOD const   *src ) ;
11345 extern void EVP_PKEY_asn1_free(EVP_PKEY_ASN1_METHOD *ameth ) ;   11345 extern void EVP_PKEY_asn1_free(EVP_PKEY_ASN1_METHOD *ameth ) ;
11346 extern void EVP_PKEY_asn1_set_public(EVP_PKEY_ASN1_METHOD *ameth ,   11346 extern void EVP_PKEY_asn1_set_public(EVP_PKEY_ASN1_METHOD *ameth ,
11347                                      int (*pub_decode)(EVP_PKEY *pk ,   11347                                      int (*pub_decode)(EVP_PKEY *pk ,
11348                                                        X509_PUBKEY *pub ) ,   11348                                                        X509_PUBKEY *pub ) ,
11349                                      int (*pub_encode)(X509_PUBKEY *pub ,   11349                                      int (*pub_encode)(X509_PUBKEY *pub ,
11350                                                        EVP_PKEY const   *pk ) ,   11350                                                        EVP_PKEY const   *pk ) ,
11351                                      int (*pub_cmp)(EVP_PKEY const   *a ,   11351                                      int (*pub_cmp)(EVP_PKEY const   *a ,
11352                                                     EVP_PKEY const   *b ) ,   11352                                                     EVP_PKEY const   *b ) ,
11353                                      int (*pub_print)(BIO *out ,   11353                                      int (*pub_print)(BIO *out ,
11354                                                       EVP_PKEY const   *pkey ,   11354                                                       EVP_PKEY const   *pkey ,
11355                                                       int indent ,   11355                                                       int indent ,
11356                                                       ASN1_PCTX *pctx ) ,   11356                                                       ASN1_PCTX *pctx ) ,
11357                                      int (*pkey_size)(EVP_PKEY const   *pk ) ,   11357                                      int (*pkey_size)(EVP_PKEY const   *pk ) ,
11358                                      int (*pkey_bits)(EVP_PKEY const   *pk ) ) ;   11358                                      int (*pkey_bits)(EVP_PKEY const   *pk ) ) ;
11359 extern void EVP_PKEY_asn1_set_private(EVP_PKEY_ASN1_METHOD *ameth ,   11359 extern void EVP_PKEY_asn1_set_private(EVP_PKEY_ASN1_METHOD *ameth ,
11360                                       int (*priv_decode)(EVP_PKEY *pk ,   11360                                       int (*priv_decode)(EVP_PKEY *pk ,
11361                                                          PKCS8_PRIV_KEY_INFO *p8inf ) ,   11361                                                          PKCS8_PRIV_KEY_INFO *p8inf ) ,
11362                                       int (*priv_encode)(PKCS8_PRIV_KEY_INFO *p8 ,   11362                                       int (*priv_encode)(PKCS8_PRIV_KEY_INFO *p8 ,
11363                                                          EVP_PKEY const   *pk ) ,   11363                                                          EVP_PKEY const   *pk ) ,
11364                                       int (*priv_print)(BIO *out ,   11364                                       int (*priv_print)(BIO *out ,
11365                                                         EVP_PKEY const   *pkey ,   11365                                                         EVP_PKEY const   *pkey ,
11366                                                         int indent ,   11366                                                         int indent ,
11367                                                         ASN1_PCTX *pctx ) ) ;   11367                                                         ASN1_PCTX *pctx ) ) ;
11368 extern void EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth ,   11368 extern void EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth ,
11369                                     int (*param_decode)(EVP_PKEY *pkey ,   11369                                     int (*param_decode)(EVP_PKEY *pkey ,
11370                                                         unsigned char const   **pder ,   11370                                                         unsigned char const   **pder ,
11371                                                         int derlen ) ,   11371                                                         int derlen ) ,
11372                                     int (*param_encode)(EVP_PKEY const   *pkey ,   11372                                     int (*param_encode)(EVP_PKEY const   *pkey ,
11373                                                         unsigned char **pder ) ,   11373                                                         unsigned char **pder ) ,
11374                                     int (*param_missing)(EVP_PKEY const   *pk ) ,   11374                                     int (*param_missing)(EVP_PKEY const   *pk ) ,
11375                                     int (*param_copy)(EVP_PKEY *to ,   11375                                     int (*param_copy)(EVP_PKEY *to ,
11376                                                       EVP_PKEY const   *from ) ,   11376                                                       EVP_PKEY const   *from ) ,
11377                                     int (*param_cmp)(EVP_PKEY const   *a ,   11377                                     int (*param_cmp)(EVP_PKEY const   *a ,
11378                                                      EVP_PKEY const   *b ) ,   11378                                                      EVP_PKEY const   *b ) ,
11379                                     int (*param_print)(BIO *out ,   11379                                     int (*param_print)(BIO *out ,
11380                                                        EVP_PKEY const   *pkey ,   11380                                                        EVP_PKEY const   *pkey ,
11381                                                        int indent ,   11381                                                        int indent ,
11382                                                        ASN1_PCTX *pctx ) ) ;   11382                                                        ASN1_PCTX *pctx ) ) ;
11383 extern void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth ,   11383 extern void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth ,
11384                                    void (*pkey_free)(EVP_PKEY *pkey ) ) ;   11384                                    void (*pkey_free)(EVP_PKEY *pkey ) ) ;
11385 extern void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth ,   11385 extern void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth ,
11386                                    int (*pkey_ctrl)(EVP_PKEY *pkey , int op ,   11386                                    int (*pkey_ctrl)(EVP_PKEY *pkey , int op ,
11387                                                     long arg1 , void *arg2 ) ) ;   11387                                                     long arg1 , void *arg2 ) ) ;
11388 extern EVP_PKEY_METHOD const   *EVP_PKEY_meth_find(int type ) ;   11388 extern EVP_PKEY_METHOD const   *EVP_PKEY_meth_find(int type ) ;
11389 extern EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id , int flags ) ;   11389 extern EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id , int flags ) ;
11390 extern void EVP_PKEY_meth_free(EVP_PKEY_METHOD *pmeth ) ;   11390 extern void EVP_PKEY_meth_free(EVP_PKEY_METHOD *pmeth ) ;
11391 extern int EVP_PKEY_meth_add0(EVP_PKEY_METHOD const   *pmeth ) ;   11391 extern int EVP_PKEY_meth_add0(EVP_PKEY_METHOD const   *pmeth ) ;
11392 extern EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey , ENGINE *e ) ;   11392 extern EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey , ENGINE *e ) ;
11393 extern EVP_PKEY_CTX *EVP_PKEY_CTX_new_id(int id , ENGINE *e ) ;   11393 extern EVP_PKEY_CTX *EVP_PKEY_CTX_new_id(int id , ENGINE *e ) ;
11394 extern EVP_PKEY_CTX *EVP_PKEY_CTX_dup(EVP_PKEY_CTX *ctx ) ;   11394 extern EVP_PKEY_CTX *EVP_PKEY_CTX_dup(EVP_PKEY_CTX *ctx ) ;
11395 extern void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx ) ;   11395 extern void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx ) ;
11396 extern int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx , int keytype , int optype ,   11396 extern int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx , int keytype , int optype ,
11397                              int cmd , int p1 , void *p2 ) ;   11397                              int cmd , int p1 , void *p2 ) ;
11398 extern int EVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX *ctx , char const   *type ,   11398 extern int EVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX *ctx , char const   *type ,
11399                                  char const   *value ) ;   11399                                  char const   *value ) ;
11400 extern int EVP_PKEY_CTX_get_operation(EVP_PKEY_CTX *ctx ) ;   11400 extern int EVP_PKEY_CTX_get_operation(EVP_PKEY_CTX *ctx ) ;
11401 extern void EVP_PKEY_CTX_set0_keygen_info(EVP_PKEY_CTX *ctx , int *dat ,   11401 extern void EVP_PKEY_CTX_set0_keygen_info(EVP_PKEY_CTX *ctx , int *dat ,
11402                                           int datlen ) ;   11402                                           int datlen ) ;
11403 extern EVP_PKEY *EVP_PKEY_new_mac_key(int type , ENGINE *e ,   11403 extern EVP_PKEY *EVP_PKEY_new_mac_key(int type , ENGINE *e ,
11404                                       unsigned char *key , int keylen ) ;   11404                                       unsigned char *key , int keylen ) ;
11405 extern void EVP_PKEY_CTX_set_data(EVP_PKEY_CTX *ctx , void *data ) ;   11405 extern void EVP_PKEY_CTX_set_data(EVP_PKEY_CTX *ctx , void *data ) ;
11406 extern void *EVP_PKEY_CTX_get_data(EVP_PKEY_CTX *ctx ) ;   11406 extern void *EVP_PKEY_CTX_get_data(EVP_PKEY_CTX *ctx ) ;
11407 extern EVP_PKEY *EVP_PKEY_CTX_get0_pkey(EVP_PKEY_CTX *ctx ) ;   11407 extern EVP_PKEY *EVP_PKEY_CTX_get0_pkey(EVP_PKEY_CTX *ctx ) ;
11408 extern EVP_PKEY *EVP_PKEY_CTX_get0_peerkey(EVP_PKEY_CTX *ctx ) ;   11408 extern EVP_PKEY *EVP_PKEY_CTX_get0_peerkey(EVP_PKEY_CTX *ctx ) ;
11409 extern void EVP_PKEY_CTX_set_app_data(EVP_PKEY_CTX *ctx , void *data ) ;   11409 extern void EVP_PKEY_CTX_set_app_data(EVP_PKEY_CTX *ctx , void *data ) ;
11410 extern void *EVP_PKEY_CTX_get_app_data(EVP_PKEY_CTX *ctx ) ;   11410 extern void *EVP_PKEY_CTX_get_app_data(EVP_PKEY_CTX *ctx ) ;
11411 extern int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx ) ;   11411 extern int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx ) ;
11412 extern int EVP_PKEY_sign(EVP_PKEY_CTX *ctx , unsigned char *sig ,   11412 extern int EVP_PKEY_sign(EVP_PKEY_CTX *ctx , unsigned char *sig ,
11413                          size_t *siglen , unsigned char const   *tbs ,   11413                          size_t *siglen , unsigned char const   *tbs ,
11414                          size_t tbslen ) ;   11414                          size_t tbslen ) ;
11415 extern int EVP_PKEY_verify_init(EVP_PKEY_CTX *ctx ) ;   11415 extern int EVP_PKEY_verify_init(EVP_PKEY_CTX *ctx ) ;
11416 extern int EVP_PKEY_verify(EVP_PKEY_CTX *ctx , unsigned char const   *sig ,   11416 extern int EVP_PKEY_verify(EVP_PKEY_CTX *ctx , unsigned char const   *sig ,
11417                            size_t siglen , unsigned char const   *tbs ,   11417                            size_t siglen , unsigned char const   *tbs ,
11418                            size_t tbslen ) ;   11418                            size_t tbslen ) ;
11419 extern int EVP_PKEY_verify_recover_init(EVP_PKEY_CTX *ctx ) ;   11419 extern int EVP_PKEY_verify_recover_init(EVP_PKEY_CTX *ctx ) ;
11420 extern int EVP_PKEY_verify_recover(EVP_PKEY_CTX *ctx , unsigned char *rout ,   11420 extern int EVP_PKEY_verify_recover(EVP_PKEY_CTX *ctx , unsigned char *rout ,
11421                                    size_t *routlen ,   11421                                    size_t *routlen ,
11422                                    unsigned char const   *sig , size_t siglen ) ;   11422                                    unsigned char const   *sig , size_t siglen ) ;
11423 extern int EVP_PKEY_encrypt_init(EVP_PKEY_CTX *ctx ) ;   11423 extern int EVP_PKEY_encrypt_init(EVP_PKEY_CTX *ctx ) ;
11424 extern int EVP_PKEY_encrypt(EVP_PKEY_CTX *ctx , unsigned char *out ,   11424 extern int EVP_PKEY_encrypt(EVP_PKEY_CTX *ctx , unsigned char *out ,
11425                             size_t *outlen , unsigned char const   *in ,   11425                             size_t *outlen , unsigned char const   *in ,
11426                             size_t inlen ) ;   11426                             size_t inlen ) ;
11427 extern int EVP_PKEY_decrypt_init(EVP_PKEY_CTX *ctx ) ;   11427 extern int EVP_PKEY_decrypt_init(EVP_PKEY_CTX *ctx ) ;
11428 extern int EVP_PKEY_decrypt(EVP_PKEY_CTX *ctx , unsigned char *out ,   11428 extern int EVP_PKEY_decrypt(EVP_PKEY_CTX *ctx , unsigned char *out ,
11429                             size_t *outlen , unsigned char const   *in ,   11429                             size_t *outlen , unsigned char const   *in ,
11430                             size_t inlen ) ;   11430                             size_t inlen ) ;
11431 extern int EVP_PKEY_derive_init(EVP_PKEY_CTX *ctx ) ;   11431 extern int EVP_PKEY_derive_init(EVP_PKEY_CTX *ctx ) ;
11432 extern int EVP_PKEY_derive_set_peer(EVP_PKEY_CTX *ctx , EVP_PKEY *peer ) ;   11432 extern int EVP_PKEY_derive_set_peer(EVP_PKEY_CTX *ctx , EVP_PKEY *peer ) ;
11433 extern int EVP_PKEY_derive(EVP_PKEY_CTX *ctx , unsigned char *key ,   11433 extern int EVP_PKEY_derive(EVP_PKEY_CTX *ctx , unsigned char *key ,
11434                            size_t *keylen ) ;   11434                            size_t *keylen ) ;
11435 extern int EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx ) ;   11435 extern int EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx ) ;
11436 extern int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx , EVP_PKEY **ppkey ) ;   11436 extern int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx , EVP_PKEY **ppkey ) ;
11437 extern int EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx ) ;   11437 extern int EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx ) ;
11438 extern int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx , EVP_PKEY **ppkey ) ;   11438 extern int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx , EVP_PKEY **ppkey ) ;
11439 extern void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx , EVP_PKEY_gen_cb *cb ) ;   11439 extern void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx , EVP_PKEY_gen_cb *cb ) ;
11440 extern EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx ) ;   11440 extern EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx ) ;
11441 extern int EVP_PKEY_CTX_get_keygen_info(EVP_PKEY_CTX *ctx , int idx ) ;   11441 extern int EVP_PKEY_CTX_get_keygen_info(EVP_PKEY_CTX *ctx , int idx ) ;
11442 extern void EVP_PKEY_meth_set_init(EVP_PKEY_METHOD *pmeth ,   11442 extern void EVP_PKEY_meth_set_init(EVP_PKEY_METHOD *pmeth ,
11443                                    int (*init)(EVP_PKEY_CTX *ctx ) ) ;   11443                                    int (*init)(EVP_PKEY_CTX *ctx ) ) ;
11444 extern void EVP_PKEY_meth_set_copy(EVP_PKEY_METHOD *pmeth ,   11444 extern void EVP_PKEY_meth_set_copy(EVP_PKEY_METHOD *pmeth ,
11445                                    int (*copy)(EVP_PKEY_CTX *dst ,   11445                                    int (*copy)(EVP_PKEY_CTX *dst ,
11446                                                EVP_PKEY_CTX *src ) ) ;   11446                                                EVP_PKEY_CTX *src ) ) ;
11447 extern void EVP_PKEY_meth_set_cleanup(EVP_PKEY_METHOD *pmeth ,   11447 extern void EVP_PKEY_meth_set_cleanup(EVP_PKEY_METHOD *pmeth ,
11448                                       void (*cleanup)(EVP_PKEY_CTX *ctx ) ) ;   11448                                       void (*cleanup)(EVP_PKEY_CTX *ctx ) ) ;
11449 extern void EVP_PKEY_meth_set_paramgen(EVP_PKEY_METHOD *pmeth ,   11449 extern void EVP_PKEY_meth_set_paramgen(EVP_PKEY_METHOD *pmeth ,
11450                                        int (*paramgen_init)(EVP_PKEY_CTX *ctx ) ,   11450                                        int (*paramgen_init)(EVP_PKEY_CTX *ctx ) ,
11451                                        int (*paramgen)(EVP_PKEY_CTX *ctx ,   11451                                        int (*paramgen)(EVP_PKEY_CTX *ctx ,
11452                                                        EVP_PKEY *pkey ) ) ;   11452                                                        EVP_PKEY *pkey ) ) ;
11453 extern void EVP_PKEY_meth_set_keygen(EVP_PKEY_METHOD *pmeth ,   11453 extern void EVP_PKEY_meth_set_keygen(EVP_PKEY_METHOD *pmeth ,
11454                                      int (*keygen_init)(EVP_PKEY_CTX *ctx ) ,   11454                                      int (*keygen_init)(EVP_PKEY_CTX *ctx ) ,
11455                                      int (*keygen)(EVP_PKEY_CTX *ctx ,   11455                                      int (*keygen)(EVP_PKEY_CTX *ctx ,
11456                                                    EVP_PKEY *pkey ) ) ;   11456                                                    EVP_PKEY *pkey ) ) ;
11457 extern void EVP_PKEY_meth_set_sign(EVP_PKEY_METHOD *pmeth ,   11457 extern void EVP_PKEY_meth_set_sign(EVP_PKEY_METHOD *pmeth ,
11458                                    int (*sign_init)(EVP_PKEY_CTX *ctx ) ,   11458                                    int (*sign_init)(EVP_PKEY_CTX *ctx ) ,
11459                                    int (*sign)(EVP_PKEY_CTX *ctx ,   11459                                    int (*sign)(EVP_PKEY_CTX *ctx ,
11460                                                unsigned char *sig ,   11460                                                unsigned char *sig ,
11461                                                size_t *siglen ,   11461                                                size_t *siglen ,
11462                                                unsigned char const   *tbs ,   11462                                                unsigned char const   *tbs ,
11463                                                size_t tbslen ) ) ;   11463                                                size_t tbslen ) ) ;
11464 extern void EVP_PKEY_meth_set_verify(EVP_PKEY_METHOD *pmeth ,   11464 extern void EVP_PKEY_meth_set_verify(EVP_PKEY_METHOD *pmeth ,
11465                                      int (*verify_init)(EVP_PKEY_CTX *ctx ) ,   11465                                      int (*verify_init)(EVP_PKEY_CTX *ctx ) ,
11466                                      int (*verify)(EVP_PKEY_CTX *ctx ,   11466                                      int (*verify)(EVP_PKEY_CTX *ctx ,
11467                                                    unsigned char const   *sig ,   11467                                                    unsigned char const   *sig ,
11468                                                    size_t siglen ,   11468                                                    size_t siglen ,
11469                                                    unsigned char const   *tbs ,   11469                                                    unsigned char const   *tbs ,
11470                                                    size_t tbslen ) ) ;   11470                                                    size_t tbslen ) ) ;
11471 extern void EVP_PKEY_meth_set_verify_recover(EVP_PKEY_METHOD *pmeth ,   11471 extern void EVP_PKEY_meth_set_verify_recover(EVP_PKEY_METHOD *pmeth ,
11472                                              int (*verify_recover_init)(EVP_PKEY_CTX *ctx ) ,   11472                                              int (*verify_recover_init)(EVP_PKEY_CTX *ctx ) ,
11473                                              int (*verify_recover)(EVP_PKEY_CTX *ctx ,   11473                                              int (*verify_recover)(EVP_PKEY_CTX *ctx ,
11474                                                                    unsigned char *sig ,   11474                                                                    unsigned char *sig ,
11475                                                                    size_t *siglen ,   11475                                                                    size_t *siglen ,
11476                                                                    unsigned char const   *tbs ,   11476                                                                    unsigned char const   *tbs ,
11477                                                                    size_t tbslen ) ) ;   11477                                                                    size_t tbslen ) ) ;
11478 extern void EVP_PKEY_meth_set_signctx(EVP_PKEY_METHOD *pmeth ,   11478 extern void EVP_PKEY_meth_set_signctx(EVP_PKEY_METHOD *pmeth ,
11479                                       int (*signctx_init)(EVP_PKEY_CTX *ctx ,   11479                                       int (*signctx_init)(EVP_PKEY_CTX *ctx ,
11480                                                           EVP_MD_CTX *mctx ) ,   11480                                                           EVP_MD_CTX *mctx ) ,
11481                                       int (*signctx)(EVP_PKEY_CTX *ctx ,   11481                                       int (*signctx)(EVP_PKEY_CTX *ctx ,
11482                                                      unsigned char *sig ,   11482                                                      unsigned char *sig ,
11483                                                      size_t *siglen ,   11483                                                      size_t *siglen ,
11484                                                      EVP_MD_CTX *mctx ) ) ;   11484                                                      EVP_MD_CTX *mctx ) ) ;
11485 extern void EVP_PKEY_meth_set_verifyctx(EVP_PKEY_METHOD *pmeth ,   11485 extern void EVP_PKEY_meth_set_verifyctx(EVP_PKEY_METHOD *pmeth ,
11486                                         int (*verifyctx_init)(EVP_PKEY_CTX *ctx ,   11486                                         int (*verifyctx_init)(EVP_PKEY_CTX *ctx ,
11487                                                               EVP_MD_CTX *mctx ) ,   11487                                                               EVP_MD_CTX *mctx ) ,
11488                                         int (*verifyctx)(EVP_PKEY_CTX *ctx ,   11488                                         int (*verifyctx)(EVP_PKEY_CTX *ctx ,
11489                                                          unsigned char const   *sig ,   11489                                                          unsigned char const   *sig ,
11490                                                          int siglen ,   11490                                                          int siglen ,
11491                                                          EVP_MD_CTX *mctx ) ) ;   11491                                                          EVP_MD_CTX *mctx ) ) ;
11492 extern void EVP_PKEY_meth_set_encrypt(EVP_PKEY_METHOD *pmeth ,   11492 extern void EVP_PKEY_meth_set_encrypt(EVP_PKEY_METHOD *pmeth ,
11493                                       int (*encrypt_init)(EVP_PKEY_CTX *ctx ) ,   11493                                       int (*encrypt_init)(EVP_PKEY_CTX *ctx ) ,
11494                                       int (*encryptfn)(EVP_PKEY_CTX *ctx ,   11494                                       int (*encryptfn)(EVP_PKEY_CTX *ctx ,
11495                                                        unsigned char *out ,   11495                                                        unsigned char *out ,
11496                                                        size_t *outlen ,   11496                                                        size_t *outlen ,
11497                                                        unsigned char const   *in ,   11497                                                        unsigned char const   *in ,
11498                                                        size_t inlen ) ) ;   11498                                                        size_t inlen ) ) ;
11499 extern void EVP_PKEY_meth_set_decrypt(EVP_PKEY_METHOD *pmeth ,   11499 extern void EVP_PKEY_meth_set_decrypt(EVP_PKEY_METHOD *pmeth ,
11500                                       int (*decrypt_init)(EVP_PKEY_CTX *ctx ) ,   11500                                       int (*decrypt_init)(EVP_PKEY_CTX *ctx ) ,
11501                                       int (*decrypt)(EVP_PKEY_CTX *ctx ,   11501                                       int (*decrypt)(EVP_PKEY_CTX *ctx ,
11502                                                      unsigned char *out ,   11502                                                      unsigned char *out ,
11503                                                      size_t *outlen ,   11503                                                      size_t *outlen ,
11504                                                      unsigned char const   *in ,   11504                                                      unsigned char const   *in ,
11505                                                      size_t inlen ) ) ;   11505                                                      size_t inlen ) ) ;
11506 extern void EVP_PKEY_meth_set_derive(EVP_PKEY_METHOD *pmeth ,   11506 extern void EVP_PKEY_meth_set_derive(EVP_PKEY_METHOD *pmeth ,
11507                                      int (*derive_init)(EVP_PKEY_CTX *ctx ) ,   11507                                      int (*derive_init)(EVP_PKEY_CTX *ctx ) ,
11508                                      int (*derive)(EVP_PKEY_CTX *ctx ,   11508                                      int (*derive)(EVP_PKEY_CTX *ctx ,
11509                                                    unsigned char *key ,   11509                                                    unsigned char *key ,
11510                                                    size_t *keylen ) ) ;   11510                                                    size_t *keylen ) ) ;
11511 extern void EVP_PKEY_meth_set_ctrl(EVP_PKEY_METHOD *pmeth ,   11511 extern void EVP_PKEY_meth_set_ctrl(EVP_PKEY_METHOD *pmeth ,
11512                                    int (*ctrl)(EVP_PKEY_CTX *ctx , int type ,   11512                                    int (*ctrl)(EVP_PKEY_CTX *ctx , int type ,
11513                                                int p1 , void *p2 ) ,   11513                                                int p1 , void *p2 ) ,
11514                                    int (*ctrl_str)(EVP_PKEY_CTX *ctx ,   11514                                    int (*ctrl_str)(EVP_PKEY_CTX *ctx ,
11515                                                    char const   *type ,   11515                                                    char const   *type ,
11516                                                    char const   *value ) ) ;   11516                                                    char const   *value ) ) ;
11517 extern void ERR_load_EVP_strings(void) ;   11517 extern void ERR_load_EVP_strings(void) ;
11518 extern RSA *RSA_new(void) ;   11518 extern RSA *RSA_new(void) ;
11519 extern RSA *RSA_new_method(ENGINE *engine ) ;   11519 extern RSA *RSA_new_method(ENGINE *engine ) ;
11520 extern int RSA_size(RSA const   * ) ;   11520 extern int RSA_size(RSA const   * ) ;
11521 extern RSA *RSA_generate_key(int bits , unsigned long e ,   11521 extern RSA *RSA_generate_key(int bits , unsigned long e ,
11522                              void (*callback)(int  , int  , void * ) ,   11522                              void (*callback)(int  , int  , void * ) ,
11523                              void *cb_arg ) ;   11523                              void *cb_arg ) ;
11524 extern int RSA_generate_key_ex(RSA *rsa , int bits , BIGNUM *e , BN_GENCB *cb ) ;   11524 extern int RSA_generate_key_ex(RSA *rsa , int bits , BIGNUM *e , BN_GENCB *cb ) ;
11525 extern int RSA_X931_derive_ex(RSA *rsa , BIGNUM *p1 , BIGNUM *p2 , BIGNUM *q1 ,   11525 extern int RSA_X931_derive_ex(RSA *rsa , BIGNUM *p1 , BIGNUM *p2 , BIGNUM *q1 ,
11526                               BIGNUM *q2 , BIGNUM const   *Xp1 ,   11526                               BIGNUM *q2 , BIGNUM const   *Xp1 ,
11527                               BIGNUM const   *Xp2 , BIGNUM const   *Xp ,   11527                               BIGNUM const   *Xp2 , BIGNUM const   *Xp ,
11528                               BIGNUM const   *Xq1 , BIGNUM const   *Xq2 ,   11528                               BIGNUM const   *Xq1 , BIGNUM const   *Xq2 ,
11529                               BIGNUM const   *Xq , BIGNUM const   *e ,   11529                               BIGNUM const   *Xq , BIGNUM const   *e ,
11530                               BN_GENCB *cb ) ;   11530                               BN_GENCB *cb ) ;
11531 extern int RSA_X931_generate_key_ex(RSA *rsa , int bits , BIGNUM const   *e ,   11531 extern int RSA_X931_generate_key_ex(RSA *rsa , int bits , BIGNUM const   *e ,
11532                                     BN_GENCB *cb ) ;   11532                                     BN_GENCB *cb ) ;
11533 extern int RSA_check_key(RSA const   * ) ;   11533 extern int RSA_check_key(RSA const   * ) ;
11534 extern int RSA_public_encrypt(int flen , unsigned char const   *from ,   11534 extern int RSA_public_encrypt(int flen , unsigned char const   *from ,
11535                               unsigned char *to , RSA *rsa , int padding ) ;   11535                               unsigned char *to , RSA *rsa , int padding ) ;
11536 extern int RSA_private_encrypt(int flen , unsigned char const   *from ,   11536 extern int RSA_private_encrypt(int flen , unsigned char const   *from ,
11537                                unsigned char *to , RSA *rsa , int padding ) ;   11537                                unsigned char *to , RSA *rsa , int padding ) ;
11538 extern int RSA_public_decrypt(int flen , unsigned char const   *from ,   11538 extern int RSA_public_decrypt(int flen , unsigned char const   *from ,
11539                               unsigned char *to , RSA *rsa , int padding ) ;   11539                               unsigned char *to , RSA *rsa , int padding ) ;
11540 extern int RSA_private_decrypt(int flen , unsigned char const   *from ,   11540 extern int RSA_private_decrypt(int flen , unsigned char const   *from ,
11541                                unsigned char *to , RSA *rsa , int padding ) ;   11541                                unsigned char *to , RSA *rsa , int padding ) ;
11542 extern void RSA_free(RSA *r ) ;   11542 extern void RSA_free(RSA *r ) ;
11543 extern int RSA_up_ref(RSA *r ) ;   11543 extern int RSA_up_ref(RSA *r ) ;
11544 extern int RSA_flags(RSA const   *r ) ;   11544 extern int RSA_flags(RSA const   *r ) ;
11545 extern void RSA_set_default_method(RSA_METHOD const   *meth ) ;   11545 extern void RSA_set_default_method(RSA_METHOD const   *meth ) ;
11546 extern RSA_METHOD const   *RSA_get_default_method(void) ;   11546 extern RSA_METHOD const   *RSA_get_default_method(void) ;
11547 extern RSA_METHOD const   *RSA_get_method(RSA const   *rsa ) ;   11547 extern RSA_METHOD const   *RSA_get_method(RSA const   *rsa ) ;
11548 extern int RSA_set_method(RSA *rsa , RSA_METHOD const   *meth ) ;   11548 extern int RSA_set_method(RSA *rsa , RSA_METHOD const   *meth ) ;
11549 extern int RSA_memory_lock(RSA *r ) ;   11549 extern int RSA_memory_lock(RSA *r ) ;
11550 extern RSA_METHOD const   *RSA_PKCS1_SSLeay(void) ;   11550 extern RSA_METHOD const   *RSA_PKCS1_SSLeay(void) ;
11551 extern RSA_METHOD const   *RSA_null_method(void) ;   11551 extern RSA_METHOD const   *RSA_null_method(void) ;
11552 extern RSA *d2i_RSAPublicKey(RSA **a , unsigned char const   **in , long len ) ;   11552 extern RSA *d2i_RSAPublicKey(RSA **a , unsigned char const   **in , long len ) ;
11553 extern int i2d_RSAPublicKey(RSA const   *a , unsigned char **out ) ;   11553 extern int i2d_RSAPublicKey(RSA const   *a , unsigned char **out ) ;
11554 extern ASN1_ITEM const   RSAPublicKey_it ;   11554 extern ASN1_ITEM const   RSAPublicKey_it ;
11555 extern RSA *d2i_RSAPrivateKey(RSA **a , unsigned char const   **in , long len ) ;   11555 extern RSA *d2i_RSAPrivateKey(RSA **a , unsigned char const   **in , long len ) ;
11556 extern int i2d_RSAPrivateKey(RSA const   *a , unsigned char **out ) ;   11556 extern int i2d_RSAPrivateKey(RSA const   *a , unsigned char **out ) ;
11557 extern ASN1_ITEM const   RSAPrivateKey_it ;   11557 extern ASN1_ITEM const   RSAPrivateKey_it ;
11558 extern int RSA_print_fp(FILE *fp , RSA const   *r , int offset ) ;   11558 extern int RSA_print_fp(FILE *fp , RSA const   *r , int offset ) ;
11559 extern int RSA_print(BIO *bp , RSA const   *r , int offset ) ;   11559 extern int RSA_print(BIO *bp , RSA const   *r , int offset ) ;
11560 extern int i2d_RSA_NET(RSA const   *a , unsigned char **pp ,   11560 extern int i2d_RSA_NET(RSA const   *a , unsigned char **pp ,
11561                        int (*cb)(char *buf , int len , char const   *prompt ,   11561                        int (*cb)(char *buf , int len , char const   *prompt ,
11562                                  int verify ) , int sgckey ) ;   11562                                  int verify ) , int sgckey ) ;
11563 extern RSA *d2i_RSA_NET(RSA **a , unsigned char const   **pp , long length ,   11563 extern RSA *d2i_RSA_NET(RSA **a , unsigned char const   **pp , long length ,
11564                         int (*cb)(char *buf , int len , char const   *prompt ,   11564                         int (*cb)(char *buf , int len , char const   *prompt ,
11565                                   int verify ) , int sgckey ) ;   11565                                   int verify ) , int sgckey ) ;
11566 extern int i2d_Netscape_RSA(RSA const   *a , unsigned char **pp ,   11566 extern int i2d_Netscape_RSA(RSA const   *a , unsigned char **pp ,
11567                             int (*cb)(char *buf , int len ,   11567                             int (*cb)(char *buf , int len ,
11568                                       char const   *prompt , int verify ) ) ;   11568                                       char const   *prompt , int verify ) ) ;
11569 extern RSA *d2i_Netscape_RSA(RSA **a , unsigned char const   **pp ,   11569 extern RSA *d2i_Netscape_RSA(RSA **a , unsigned char const   **pp ,
11570                              long length , int (*cb)(char *buf , int len ,   11570                              long length , int (*cb)(char *buf , int len ,
11571                                                      char const   *prompt ,   11571                                                      char const   *prompt ,
11572                                                      int verify ) ) ;   11572                                                      int verify ) ) ;
11573 extern int RSA_sign(int type , unsigned char const   *m ,   11573 extern int RSA_sign(int type , unsigned char const   *m ,
11574                     unsigned int m_length , unsigned char *sigret ,   11574                     unsigned int m_length , unsigned char *sigret ,
11575                     unsigned int *siglen , RSA *rsa ) ;   11575                     unsigned int *siglen , RSA *rsa ) ;
11576 extern int RSA_verify(int type , unsigned char const   *m ,   11576 extern int RSA_verify(int type , unsigned char const   *m ,
11577                       unsigned int m_length , unsigned char const   *sigbuf ,   11577                       unsigned int m_length , unsigned char const   *sigbuf ,
11578                       unsigned int siglen , RSA *rsa ) ;   11578                       unsigned int siglen , RSA *rsa ) ;
11579 extern int RSA_sign_ASN1_OCTET_STRING(int type , unsigned char const   *m ,   11579 extern int RSA_sign_ASN1_OCTET_STRING(int type , unsigned char const   *m ,
11580                                       unsigned int m_length ,   11580                                       unsigned int m_length ,
11581                                       unsigned char *sigret ,   11581                                       unsigned char *sigret ,
11582                                       unsigned int *siglen , RSA *rsa ) ;   11582                                       unsigned int *siglen , RSA *rsa ) ;
11583 extern int RSA_verify_ASN1_OCTET_STRING(int type , unsigned char const   *m ,   11583 extern int RSA_verify_ASN1_OCTET_STRING(int type , unsigned char const   *m ,
11584                                         unsigned int m_length ,   11584                                         unsigned int m_length ,
11585                                         unsigned char *sigbuf ,   11585                                         unsigned char *sigbuf ,
11586                                         unsigned int siglen , RSA *rsa ) ;   11586                                         unsigned int siglen , RSA *rsa ) ;
11587 extern int RSA_blinding_on(RSA *rsa , BN_CTX *ctx ) ;   11587 extern int RSA_blinding_on(RSA *rsa , BN_CTX *ctx ) ;
11588 extern void RSA_blinding_off(RSA *rsa ) ;   11588 extern void RSA_blinding_off(RSA *rsa ) ;
11589 extern BN_BLINDING *RSA_setup_blinding(RSA *rsa , BN_CTX *ctx ) ;   11589 extern BN_BLINDING *RSA_setup_blinding(RSA *rsa , BN_CTX *ctx ) ;
11590 extern int RSA_padding_add_PKCS1_type_1(unsigned char *to , int tlen ,   11590 extern int RSA_padding_add_PKCS1_type_1(unsigned char *to , int tlen ,
11591                                         unsigned char const   *f , int fl ) ;   11591                                         unsigned char const   *f , int fl ) ;
11592 extern int RSA_padding_check_PKCS1_type_1(unsigned char *to , int tlen ,   11592 extern int RSA_padding_check_PKCS1_type_1(unsigned char *to , int tlen ,
11593                                           unsigned char const   *f , int fl ,   11593                                           unsigned char const   *f , int fl ,
11594                                           int rsa_len ) ;   11594                                           int rsa_len ) ;
11595 extern int RSA_padding_add_PKCS1_type_2(unsigned char *to , int tlen ,   11595 extern int RSA_padding_add_PKCS1_type_2(unsigned char *to , int tlen ,
11596                                         unsigned char const   *f , int fl ) ;   11596                                         unsigned char const   *f , int fl ) ;
11597 extern int RSA_padding_check_PKCS1_type_2(unsigned char *to , int tlen ,   11597 extern int RSA_padding_check_PKCS1_type_2(unsigned char *to , int tlen ,
11598                                           unsigned char const   *f , int fl ,   11598                                           unsigned char const   *f , int fl ,
11599                                           int rsa_len ) ;   11599                                           int rsa_len ) ;
11600 extern int PKCS1_MGF1(unsigned char *mask , long len ,   11600 extern int PKCS1_MGF1(unsigned char *mask , long len ,
11601                       unsigned char const   *seed , long seedlen ,   11601                       unsigned char const   *seed , long seedlen ,
11602                       EVP_MD const   *dgst ) ;   11602                       EVP_MD const   *dgst ) ;
11603 extern int RSA_padding_add_PKCS1_OAEP(unsigned char *to , int tlen ,   11603 extern int RSA_padding_add_PKCS1_OAEP(unsigned char *to , int tlen ,
11604                                       unsigned char const   *f , int fl ,   11604                                       unsigned char const   *f , int fl ,
11605                                       unsigned char const   *p , int pl ) ;   11605                                       unsigned char const   *p , int pl ) ;
11606 extern int RSA_padding_check_PKCS1_OAEP(unsigned char *to , int tlen ,   11606 extern int RSA_padding_check_PKCS1_OAEP(unsigned char *to , int tlen ,
11607                                         unsigned char const   *f , int fl ,   11607                                         unsigned char const   *f , int fl ,
11608                                         int rsa_len , unsigned char const   *p ,   11608                                         int rsa_len , unsigned char const   *p ,
11609                                         int pl ) ;   11609                                         int pl ) ;
11610 extern int RSA_padding_add_SSLv23(unsigned char *to , int tlen ,   11610 extern int RSA_padding_add_SSLv23(unsigned char *to , int tlen ,
11611                                   unsigned char const   *f , int fl ) ;   11611                                   unsigned char const   *f , int fl ) ;
11612 extern int RSA_padding_check_SSLv23(unsigned char *to , int tlen ,   11612 extern int RSA_padding_check_SSLv23(unsigned char *to , int tlen ,
11613                                     unsigned char const   *f , int fl ,   11613                                     unsigned char const   *f , int fl ,
11614                                     int rsa_len ) ;   11614                                     int rsa_len ) ;
11615 extern int RSA_padding_add_none(unsigned char *to , int tlen ,   11615 extern int RSA_padding_add_none(unsigned char *to , int tlen ,
11616                                 unsigned char const   *f , int fl ) ;   11616                                 unsigned char const   *f , int fl ) ;
11617 extern int RSA_padding_check_none(unsigned char *to , int tlen ,   11617 extern int RSA_padding_check_none(unsigned char *to , int tlen ,
11618                                   unsigned char const   *f , int fl ,   11618                                   unsigned char const   *f , int fl ,
11619                                   int rsa_len ) ;   11619                                   int rsa_len ) ;
11620 extern int RSA_padding_add_X931(unsigned char *to , int tlen ,   11620 extern int RSA_padding_add_X931(unsigned char *to , int tlen ,
11621                                 unsigned char const   *f , int fl ) ;   11621                                 unsigned char const   *f , int fl ) ;
11622 extern int RSA_padding_check_X931(unsigned char *to , int tlen ,   11622 extern int RSA_padding_check_X931(unsigned char *to , int tlen ,
11623                                   unsigned char const   *f , int fl ,   11623                                   unsigned char const   *f , int fl ,
11624                                   int rsa_len ) ;   11624                                   int rsa_len ) ;
11625 extern int RSA_X931_hash_id(int nid ) ;   11625 extern int RSA_X931_hash_id(int nid ) ;
11626 extern int RSA_verify_PKCS1_PSS(RSA *rsa , unsigned char const   *mHash ,   11626 extern int RSA_verify_PKCS1_PSS(RSA *rsa , unsigned char const   *mHash ,
11627                                 EVP_MD const   *Hash ,   11627                                 EVP_MD const   *Hash ,
11628                                 unsigned char const   *EM , int sLen ) ;   11628                                 unsigned char const   *EM , int sLen ) ;
11629 extern int RSA_padding_add_PKCS1_PSS(RSA *rsa , unsigned char *EM ,   11629 extern int RSA_padding_add_PKCS1_PSS(RSA *rsa , unsigned char *EM ,
11630                                      unsigned char const   *mHash ,   11630                                      unsigned char const   *mHash ,
11631                                      EVP_MD const   *Hash , int sLen ) ;   11631                                      EVP_MD const   *Hash , int sLen ) ;
11632 extern int RSA_get_ex_new_index(long argl , void *argp ,   11632 extern int RSA_get_ex_new_index(long argl , void *argp ,
11633                                 CRYPTO_EX_new *new_func ,   11633                                 CRYPTO_EX_new *new_func ,
11634                                 CRYPTO_EX_dup *dup_func ,   11634                                 CRYPTO_EX_dup *dup_func ,
11635                                 CRYPTO_EX_free *free_func ) ;   11635                                 CRYPTO_EX_free *free_func ) ;
11636 extern int RSA_set_ex_data(RSA *r , int idx , void *arg ) ;   11636 extern int RSA_set_ex_data(RSA *r , int idx , void *arg ) ;
11637 extern void *RSA_get_ex_data(RSA const   *r , int idx ) ;   11637 extern void *RSA_get_ex_data(RSA const   *r , int idx ) ;
11638 extern RSA *RSAPublicKey_dup(RSA *rsa ) ;   11638 extern RSA *RSAPublicKey_dup(RSA *rsa ) ;
11639 extern RSA *RSAPrivateKey_dup(RSA *rsa ) ;   11639 extern RSA *RSAPrivateKey_dup(RSA *rsa ) ;
11640 extern void ERR_load_RSA_strings(void) ;   11640 extern void ERR_load_RSA_strings(void) ;
11641 extern DH *DHparams_dup(DH * ) ;   11641 extern DH *DHparams_dup(DH * ) ;
11642 extern DH_METHOD const   *DH_OpenSSL(void) ;   11642 extern DH_METHOD const   *DH_OpenSSL(void) ;
11643 extern void DH_set_default_method(DH_METHOD const   *meth ) ;   11643 extern void DH_set_default_method(DH_METHOD const   *meth ) ;
11644 extern DH_METHOD const   *DH_get_default_method(void) ;   11644 extern DH_METHOD const   *DH_get_default_method(void) ;
11645 extern int DH_set_method(DH *dh , DH_METHOD const   *meth ) ;   11645 extern int DH_set_method(DH *dh , DH_METHOD const   *meth ) ;
11646 extern DH *DH_new_method(ENGINE *engine ) ;   11646 extern DH *DH_new_method(ENGINE *engine ) ;
11647 extern DH *DH_new(void) ;   11647 extern DH *DH_new(void) ;
11648 extern void DH_free(DH *dh ) ;   11648 extern void DH_free(DH *dh ) ;
11649 extern int DH_up_ref(DH *dh ) ;   11649 extern int DH_up_ref(DH *dh ) ;
11650 extern int DH_size(DH const   *dh ) ;   11650 extern int DH_size(DH const   *dh ) ;
11651 extern int DH_get_ex_new_index(long argl , void *argp ,   11651 extern int DH_get_ex_new_index(long argl , void *argp ,
11652                                CRYPTO_EX_new *new_func ,   11652                                CRYPTO_EX_new *new_func ,
11653                                CRYPTO_EX_dup *dup_func ,   11653                                CRYPTO_EX_dup *dup_func ,
11654                                CRYPTO_EX_free *free_func ) ;   11654                                CRYPTO_EX_free *free_func ) ;
11655 extern int DH_set_ex_data(DH *d , int idx , void *arg ) ;   11655 extern int DH_set_ex_data(DH *d , int idx , void *arg ) ;
11656 extern void *DH_get_ex_data(DH *d , int idx ) ;   11656 extern void *DH_get_ex_data(DH *d , int idx ) ;
11657 extern DH *DH_generate_parameters(int prime_len , int generator ,   11657 extern DH *DH_generate_parameters(int prime_len , int generator ,
11658                                   void (*callback)(int  , int  , void * ) ,   11658                                   void (*callback)(int  , int  , void * ) ,
11659                                   void *cb_arg ) ;   11659                                   void *cb_arg ) ;
11660 extern int DH_generate_parameters_ex(DH *dh , int prime_len , int generator ,   11660 extern int DH_generate_parameters_ex(DH *dh , int prime_len , int generator ,
11661                                      BN_GENCB *cb ) ;   11661                                      BN_GENCB *cb ) ;
11662 extern int DH_check(DH const   *dh , int *codes ) ;   11662 extern int DH_check(DH const   *dh , int *codes ) ;
11663 extern int DH_check_pub_key(DH const   *dh , BIGNUM const   *pub_key ,   11663 extern int DH_check_pub_key(DH const   *dh , BIGNUM const   *pub_key ,
11664                             int *codes ) ;   11664                             int *codes ) ;
11665 extern int DH_generate_key(DH *dh ) ;   11665 extern int DH_generate_key(DH *dh ) ;
11666 extern int DH_compute_key(unsigned char *key , BIGNUM const   *pub_key , DH *dh ) ;   11666 extern int DH_compute_key(unsigned char *key , BIGNUM const   *pub_key , DH *dh ) ;
11667 extern DH *d2i_DHparams(DH **a , unsigned char const   **pp , long length ) ;   11667 extern DH *d2i_DHparams(DH **a , unsigned char const   **pp , long length ) ;
11668 extern int i2d_DHparams(DH const   *a , unsigned char **pp ) ;   11668 extern int i2d_DHparams(DH const   *a , unsigned char **pp ) ;
11669 extern int DHparams_print_fp(FILE *fp , DH const   *x ) ;   11669 extern int DHparams_print_fp(FILE *fp , DH const   *x ) ;
11670 extern int DHparams_print(BIO *bp , DH const   *x ) ;   11670 extern int DHparams_print(BIO *bp , DH const   *x ) ;
11671 extern void ERR_load_DH_strings(void) ;   11671 extern void ERR_load_DH_strings(void) ;
11672 extern DSA *DSAparams_dup(DSA *x ) ;   11672 extern DSA *DSAparams_dup(DSA *x ) ;
11673 extern DSA_SIG *DSA_SIG_new(void) ;   11673 extern DSA_SIG *DSA_SIG_new(void) ;
11674 extern void DSA_SIG_free(DSA_SIG *a ) ;   11674 extern void DSA_SIG_free(DSA_SIG *a ) ;
11675 extern int i2d_DSA_SIG(DSA_SIG const   *a , unsigned char **pp ) ;   11675 extern int i2d_DSA_SIG(DSA_SIG const   *a , unsigned char **pp ) ;
11676 extern DSA_SIG *d2i_DSA_SIG(DSA_SIG **v , unsigned char const   **pp ,   11676 extern DSA_SIG *d2i_DSA_SIG(DSA_SIG **v , unsigned char const   **pp ,
11677                             long length ) ;   11677                             long length ) ;
11678 extern DSA_SIG *DSA_do_sign(unsigned char const   *dgst , int dlen , DSA *dsa ) ;   11678 extern DSA_SIG *DSA_do_sign(unsigned char const   *dgst , int dlen , DSA *dsa ) ;
11679 extern int DSA_do_verify(unsigned char const   *dgst , int dgst_len ,   11679 extern int DSA_do_verify(unsigned char const   *dgst , int dgst_len ,
11680                          DSA_SIG *sig , DSA *dsa ) ;   11680                          DSA_SIG *sig , DSA *dsa ) ;
11681 extern DSA_METHOD const   *DSA_OpenSSL(void) ;   11681 extern DSA_METHOD const   *DSA_OpenSSL(void) ;
11682 extern void DSA_set_default_method(DSA_METHOD const   * ) ;   11682 extern void DSA_set_default_method(DSA_METHOD const   * ) ;
11683 extern DSA_METHOD const   *DSA_get_default_method(void) ;   11683 extern DSA_METHOD const   *DSA_get_default_method(void) ;
11684 extern int DSA_set_method(DSA *dsa , DSA_METHOD const   * ) ;   11684 extern int DSA_set_method(DSA *dsa , DSA_METHOD const   * ) ;
11685 extern DSA *DSA_new(void) ;   11685 extern DSA *DSA_new(void) ;
11686 extern DSA *DSA_new_method(ENGINE *engine ) ;   11686 extern DSA *DSA_new_method(ENGINE *engine ) ;
11687 extern void DSA_free(DSA *r ) ;   11687 extern void DSA_free(DSA *r ) ;
11688 extern int DSA_up_ref(DSA *r ) ;   11688 extern int DSA_up_ref(DSA *r ) ;
11689 extern int DSA_size(DSA const   * ) ;   11689 extern int DSA_size(DSA const   * ) ;
11690 extern int DSA_sign_setup(DSA *dsa , BN_CTX *ctx_in , BIGNUM **kinvp ,   11690 extern int DSA_sign_setup(DSA *dsa , BN_CTX *ctx_in , BIGNUM **kinvp ,
11691                           BIGNUM **rp ) ;   11691                           BIGNUM **rp ) ;
11692 extern int DSA_sign(int type , unsigned char const   *dgst , int dlen ,   11692 extern int DSA_sign(int type , unsigned char const   *dgst , int dlen ,
11693                     unsigned char *sig , unsigned int *siglen , DSA *dsa ) ;   11693                     unsigned char *sig , unsigned int *siglen , DSA *dsa ) ;
11694 extern int DSA_verify(int type , unsigned char const   *dgst , int dgst_len ,   11694 extern int DSA_verify(int type , unsigned char const   *dgst , int dgst_len ,
11695                       unsigned char const   *sigbuf , int siglen , DSA *dsa ) ;   11695                       unsigned char const   *sigbuf , int siglen , DSA *dsa ) ;
11696 extern int DSA_get_ex_new_index(long argl , void *argp ,   11696 extern int DSA_get_ex_new_index(long argl , void *argp ,
11697                                 CRYPTO_EX_new *new_func ,   11697                                 CRYPTO_EX_new *new_func ,
11698                                 CRYPTO_EX_dup *dup_func ,   11698                                 CRYPTO_EX_dup *dup_func ,
11699                                 CRYPTO_EX_free *free_func ) ;   11699                                 CRYPTO_EX_free *free_func ) ;
11700 extern int DSA_set_ex_data(DSA *d , int idx , void *arg ) ;   11700 extern int DSA_set_ex_data(DSA *d , int idx , void *arg ) ;
11701 extern void *DSA_get_ex_data(DSA *d , int idx ) ;   11701 extern void *DSA_get_ex_data(DSA *d , int idx ) ;
11702 extern DSA *d2i_DSAPublicKey(DSA **a , unsigned char const   **pp , long length ) ;   11702 extern DSA *d2i_DSAPublicKey(DSA **a , unsigned char const   **pp , long length ) ;
11703 extern DSA *d2i_DSAPrivateKey(DSA **a , unsigned char const   **pp ,   11703 extern DSA *d2i_DSAPrivateKey(DSA **a , unsigned char const   **pp ,
11704                               long length ) ;   11704                               long length ) ;
11705 extern DSA *d2i_DSAparams(DSA **a , unsigned char const   **pp , long length ) ;   11705 extern DSA *d2i_DSAparams(DSA **a , unsigned char const   **pp , long length ) ;
11706 extern DSA *DSA_generate_parameters(int bits , unsigned char *seed ,   11706 extern DSA *DSA_generate_parameters(int bits , unsigned char *seed ,
11707                                     int seed_len , int *counter_ret ,   11707                                     int seed_len , int *counter_ret ,
11708                                     unsigned long *h_ret ,   11708                                     unsigned long *h_ret ,
11709                                     void (*callback)(int  , int  , void * ) ,   11709                                     void (*callback)(int  , int  , void * ) ,
11710                                     void *cb_arg ) ;   11710                                     void *cb_arg ) ;
11711 extern int DSA_generate_parameters_ex(DSA *dsa , int bits ,   11711 extern int DSA_generate_parameters_ex(DSA *dsa , int bits ,
11712                                       unsigned char const   *seed ,   11712                                       unsigned char const   *seed ,
11713                                       int seed_len , int *counter_ret ,   11713                                       int seed_len , int *counter_ret ,
11714                                       unsigned long *h_ret , BN_GENCB *cb ) ;   11714                                       unsigned long *h_ret , BN_GENCB *cb ) ;
11715 extern int DSA_generate_key(DSA *a ) ;   11715 extern int DSA_generate_key(DSA *a ) ;
11716 extern int i2d_DSAPublicKey(DSA const   *a , unsigned char **pp ) ;   11716 extern int i2d_DSAPublicKey(DSA const   *a , unsigned char **pp ) ;
11717 extern int i2d_DSAPrivateKey(DSA const   *a , unsigned char **pp ) ;   11717 extern int i2d_DSAPrivateKey(DSA const   *a , unsigned char **pp ) ;
11718 extern int i2d_DSAparams(DSA const   *a , unsigned char **pp ) ;   11718 extern int i2d_DSAparams(DSA const   *a , unsigned char **pp ) ;
11719 extern int DSAparams_print(BIO *bp , DSA const   *x ) ;   11719 extern int DSAparams_print(BIO *bp , DSA const   *x ) ;
11720 extern int DSA_print(BIO *bp , DSA const   *x , int off ) ;   11720 extern int DSA_print(BIO *bp , DSA const   *x , int off ) ;
11721 extern int DSAparams_print_fp(FILE *fp , DSA const   *x ) ;   11721 extern int DSAparams_print_fp(FILE *fp , DSA const   *x ) ;
11722 extern int DSA_print_fp(FILE *bp , DSA const   *x , int off ) ;   11722 extern int DSA_print_fp(FILE *bp , DSA const   *x , int off ) ;
11723 extern DH *DSA_dup_DH(DSA const   *r ) ;   11723 extern DH *DSA_dup_DH(DSA const   *r ) ;
11724 extern void ERR_load_DSA_strings(void) ;   11724 extern void ERR_load_DSA_strings(void) ;
11725 extern int private_SHA_Init(SHA_CTX *c ) ;   11725 extern int private_SHA_Init(SHA_CTX *c ) ;
11726 extern int SHA_Init(SHA_CTX *c ) ;   11726 extern int SHA_Init(SHA_CTX *c ) ;
11727 extern int SHA_Update(SHA_CTX *c , void const   *data , size_t len ) ;   11727 extern int SHA_Update(SHA_CTX *c , void const   *data , size_t len ) ;
11728 extern int SHA_Final(unsigned char *md , SHA_CTX *c ) ;   11728 extern int SHA_Final(unsigned char *md , SHA_CTX *c ) ;
11729 extern unsigned char *SHA(unsigned char const   *d , size_t n ,   11729 extern unsigned char *SHA(unsigned char const   *d , size_t n ,
11730                           unsigned char *md ) ;   11730                           unsigned char *md ) ;
11731 extern void SHA_Transform(SHA_CTX *c , unsigned char const   *data ) ;   11731 extern void SHA_Transform(SHA_CTX *c , unsigned char const   *data ) ;
11732 extern int SHA1_Init(SHA_CTX *c ) ;   11732 extern int SHA1_Init(SHA_CTX *c ) ;
11733 extern int SHA1_Update(SHA_CTX *c , void const   *data , size_t len ) ;   11733 extern int SHA1_Update(SHA_CTX *c , void const   *data , size_t len ) ;
11734 extern int SHA1_Final(unsigned char *md , SHA_CTX *c ) ;   11734 extern int SHA1_Final(unsigned char *md , SHA_CTX *c ) ;
11735 extern unsigned char *SHA1(unsigned char const   *d , size_t n ,   11735 extern unsigned char *SHA1(unsigned char const   *d , size_t n ,
11736                            unsigned char *md ) ;   11736                            unsigned char *md ) ;
11737 extern void SHA1_Transform(SHA_CTX *c , unsigned char const   *data ) ;   11737 extern void SHA1_Transform(SHA_CTX *c , unsigned char const   *data ) ;
11738 extern int SHA224_Init(SHA256_CTX *c ) ;   11738 extern int SHA224_Init(SHA256_CTX *c ) ;
11739 extern int SHA224_Update(SHA256_CTX *c , void const   *data , size_t len ) ;   11739 extern int SHA224_Update(SHA256_CTX *c , void const   *data , size_t len ) ;
11740 extern int SHA224_Final(unsigned char *md , SHA256_CTX *c ) ;   11740 extern int SHA224_Final(unsigned char *md , SHA256_CTX *c ) ;
11741 extern unsigned char *SHA224(unsigned char const   *d , size_t n ,   11741 extern unsigned char *SHA224(unsigned char const   *d , size_t n ,
11742                              unsigned char *md ) ;   11742                              unsigned char *md ) ;
11743 extern int SHA256_Init(SHA256_CTX *c ) ;   11743 extern int SHA256_Init(SHA256_CTX *c ) ;
11744 extern int SHA256_Update(SHA256_CTX *c , void const   *data , size_t len ) ;   11744 extern int SHA256_Update(SHA256_CTX *c , void const   *data , size_t len ) ;
11745 extern int SHA256_Final(unsigned char *md , SHA256_CTX *c ) ;   11745 extern int SHA256_Final(unsigned char *md , SHA256_CTX *c ) ;
11746 extern unsigned char *SHA256(unsigned char const   *d , size_t n ,   11746 extern unsigned char *SHA256(unsigned char const   *d , size_t n ,
11747                              unsigned char *md ) ;   11747                              unsigned char *md ) ;
11748 extern void SHA256_Transform(SHA256_CTX *c , unsigned char const   *data ) ;   11748 extern void SHA256_Transform(SHA256_CTX *c , unsigned char const   *data ) ;
11749 extern int SHA384_Init(SHA512_CTX *c ) ;   11749 extern int SHA384_Init(SHA512_CTX *c ) ;
11750 extern int SHA384_Update(SHA512_CTX *c , void const   *data , size_t len ) ;   11750 extern int SHA384_Update(SHA512_CTX *c , void const   *data , size_t len ) ;
11751 extern int SHA384_Final(unsigned char *md , SHA512_CTX *c ) ;   11751 extern int SHA384_Final(unsigned char *md , SHA512_CTX *c ) ;
11752 extern unsigned char *SHA384(unsigned char const   *d , size_t n ,   11752 extern unsigned char *SHA384(unsigned char const   *d , size_t n ,
11753                              unsigned char *md ) ;   11753                              unsigned char *md ) ;
11754 extern int SHA512_Init(SHA512_CTX *c ) ;   11754 extern int SHA512_Init(SHA512_CTX *c ) ;
11755 extern int SHA512_Update(SHA512_CTX *c , void const   *data , size_t len ) ;   11755 extern int SHA512_Update(SHA512_CTX *c , void const   *data , size_t len ) ;
11756 extern int SHA512_Final(unsigned char *md , SHA512_CTX *c ) ;   11756 extern int SHA512_Final(unsigned char *md , SHA512_CTX *c ) ;
11757 extern unsigned char *SHA512(unsigned char const   *d , size_t n ,   11757 extern unsigned char *SHA512(unsigned char const   *d , size_t n ,
11758                              unsigned char *md ) ;   11758                              unsigned char *md ) ;
11759 extern void SHA512_Transform(SHA512_CTX *c , unsigned char const   *data ) ;   11759 extern void SHA512_Transform(SHA512_CTX *c , unsigned char const   *data ) ;
11760 extern _LHASH *lh_new(unsigned long (*h)(void const   * ) ,   11760 extern _LHASH *lh_new(unsigned long (*h)(void const   * ) ,
11761                       int (*c)(void const   * , void const   * ) ) ;   11761                       int (*c)(void const   * , void const   * ) ) ;
11762 extern void lh_free(_LHASH *lh ) ;   11762 extern void lh_free(_LHASH *lh ) ;
11763 extern void *lh_insert(_LHASH *lh , void *data ) ;   11763 extern void *lh_insert(_LHASH *lh , void *data ) ;
11764 extern void *lh_delete(_LHASH *lh , void const   *data ) ;   11764 extern void *lh_delete(_LHASH *lh , void const   *data ) ;
11765 extern void *lh_retrieve(_LHASH *lh , void const   *data ) ;   11765 extern void *lh_retrieve(_LHASH *lh , void const   *data ) ;
11766 extern void lh_doall(_LHASH *lh , void (*func)(void * ) ) ;   11766 extern void lh_doall(_LHASH *lh , void (*func)(void * ) ) ;
11767 extern void lh_doall_arg(_LHASH *lh , void (*func)(void * , void * ) ,   11767 extern void lh_doall_arg(_LHASH *lh , void (*func)(void * , void * ) ,
11768                          void *arg ) ;   11768                          void *arg ) ;
11769 extern unsigned long lh_strhash(char const   *c ) ;   11769 extern unsigned long lh_strhash(char const   *c ) ;
11770 extern unsigned long lh_num_items(_LHASH const   *lh ) ;   11770 extern unsigned long lh_num_items(_LHASH const   *lh ) ;
11771 extern void lh_stats(_LHASH const   *lh , FILE *out ) ;   11771 extern void lh_stats(_LHASH const   *lh , FILE *out ) ;
11772 extern void lh_node_stats(_LHASH const   *lh , FILE *out ) ;   11772 extern void lh_node_stats(_LHASH const   *lh , FILE *out ) ;
11773 extern void lh_node_usage_stats(_LHASH const   *lh , FILE *out ) ;   11773 extern void lh_node_usage_stats(_LHASH const   *lh , FILE *out ) ;
11774 extern void lh_stats_bio(_LHASH const   *lh , BIO *out ) ;   11774 extern void lh_stats_bio(_LHASH const   *lh , BIO *out ) ;
11775 extern void lh_node_stats_bio(_LHASH const   *lh , BIO *out ) ;   11775 extern void lh_node_stats_bio(_LHASH const   *lh , BIO *out ) ;
11776 extern void lh_node_usage_stats_bio(_LHASH const   *lh , BIO *out ) ;   11776 extern void lh_node_usage_stats_bio(_LHASH const   *lh , BIO *out ) ;
11777 extern int X509_STORE_set_depth(X509_STORE *store , int depth ) ;   11777 extern int X509_STORE_set_depth(X509_STORE *store , int depth ) ;
11778 extern void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx , int depth ) ;   11778 extern void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx , int depth ) ;
11779 extern int X509_OBJECT_idx_by_subject(struct stack_st_X509_OBJECT *h ,   11779 extern int X509_OBJECT_idx_by_subject(struct stack_st_X509_OBJECT *h ,
11780                                       int type , X509_NAME *name ) ;   11780                                       int type , X509_NAME *name ) ;
11781 extern X509_OBJECT *X509_OBJECT_retrieve_by_subject(struct stack_st_X509_OBJECT *h ,   11781 extern X509_OBJECT *X509_OBJECT_retrieve_by_subject(struct stack_st_X509_OBJECT *h ,
11782                                                     int type , X509_NAME *name ) ;   11782                                                     int type , X509_NAME *name ) ;
11783 extern X509_OBJECT *X509_OBJECT_retrieve_match(struct stack_st_X509_OBJECT *h ,   11783 extern X509_OBJECT *X509_OBJECT_retrieve_match(struct stack_st_X509_OBJECT *h ,
11784                                                X509_OBJECT *x ) ;   11784                                                X509_OBJECT *x ) ;
11785 extern void X509_OBJECT_up_ref_count(X509_OBJECT *a ) ;   11785 extern void X509_OBJECT_up_ref_count(X509_OBJECT *a ) ;
11786 extern void X509_OBJECT_free_contents(X509_OBJECT *a ) ;   11786 extern void X509_OBJECT_free_contents(X509_OBJECT *a ) ;
11787 extern X509_STORE *X509_STORE_new(void) ;   11787 extern X509_STORE *X509_STORE_new(void) ;
11788 extern void X509_STORE_free(X509_STORE *v ) ;   11788 extern void X509_STORE_free(X509_STORE *v ) ;
11789 extern struct stack_st_X509 *X509_STORE_get1_certs(X509_STORE_CTX *st ,   11789 extern struct stack_st_X509 *X509_STORE_get1_certs(X509_STORE_CTX *st ,
11790                                                    X509_NAME *nm ) ;   11790                                                    X509_NAME *nm ) ;
11791 extern struct stack_st_X509_CRL *X509_STORE_get1_crls(X509_STORE_CTX *st ,   11791 extern struct stack_st_X509_CRL *X509_STORE_get1_crls(X509_STORE_CTX *st ,
11792                                                       X509_NAME *nm ) ;   11792                                                       X509_NAME *nm ) ;
11793 extern int X509_STORE_set_flags(X509_STORE *ctx , unsigned long flags ) ;   11793 extern int X509_STORE_set_flags(X509_STORE *ctx , unsigned long flags ) ;
11794 extern int X509_STORE_set_purpose(X509_STORE *ctx , int purpose ) ;   11794 extern int X509_STORE_set_purpose(X509_STORE *ctx , int purpose ) ;
11795 extern int X509_STORE_set_trust(X509_STORE *ctx , int trust ) ;   11795 extern int X509_STORE_set_trust(X509_STORE *ctx , int trust ) ;
11796 extern int X509_STORE_set1_param(X509_STORE *ctx , X509_VERIFY_PARAM *pm ) ;   11796 extern int X509_STORE_set1_param(X509_STORE *ctx , X509_VERIFY_PARAM *pm ) ;
11797 extern void X509_STORE_set_verify_cb(X509_STORE *ctx ,   11797 extern void X509_STORE_set_verify_cb(X509_STORE *ctx ,
11798                                      int (*verify_cb)(int  , X509_STORE_CTX * ) ) ;   11798                                      int (*verify_cb)(int  , X509_STORE_CTX * ) ) ;
11799 extern X509_STORE_CTX *X509_STORE_CTX_new(void) ;   11799 extern X509_STORE_CTX *X509_STORE_CTX_new(void) ;
11800 extern int X509_STORE_CTX_get1_issuer(X509 **issuer , X509_STORE_CTX *ctx ,   11800 extern int X509_STORE_CTX_get1_issuer(X509 **issuer , X509_STORE_CTX *ctx ,
11801                                       X509 *x ) ;   11801                                       X509 *x ) ;
11802 extern void X509_STORE_CTX_free(X509_STORE_CTX *ctx ) ;   11802 extern void X509_STORE_CTX_free(X509_STORE_CTX *ctx ) ;
11803 extern int X509_STORE_CTX_init(X509_STORE_CTX *ctx , X509_STORE *store ,   11803 extern int X509_STORE_CTX_init(X509_STORE_CTX *ctx , X509_STORE *store ,
11804                                X509 *x509 , struct stack_st_X509 *chain ) ;   11804                                X509 *x509 , struct stack_st_X509 *chain ) ;
11805 extern void X509_STORE_CTX_trusted_stack(X509_STORE_CTX *ctx ,   11805 extern void X509_STORE_CTX_trusted_stack(X509_STORE_CTX *ctx ,
11806                                          struct stack_st_X509 *sk ) ;   11806                                          struct stack_st_X509 *sk ) ;
11807 extern void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx ) ;   11807 extern void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx ) ;
11808 extern X509_LOOKUP *X509_STORE_add_lookup(X509_STORE *v , X509_LOOKUP_METHOD *m ) ;   11808 extern X509_LOOKUP *X509_STORE_add_lookup(X509_STORE *v , X509_LOOKUP_METHOD *m ) ;
11809 extern X509_LOOKUP_METHOD *X509_LOOKUP_hash_dir(void) ;   11809 extern X509_LOOKUP_METHOD *X509_LOOKUP_hash_dir(void) ;
11810 extern X509_LOOKUP_METHOD *X509_LOOKUP_file(void) ;   11810 extern X509_LOOKUP_METHOD *X509_LOOKUP_file(void) ;
11811 extern int X509_STORE_add_cert(X509_STORE *ctx , X509 *x ) ;   11811 extern int X509_STORE_add_cert(X509_STORE *ctx , X509 *x ) ;
11812 extern int X509_STORE_add_crl(X509_STORE *ctx , X509_CRL *x ) ;   11812 extern int X509_STORE_add_crl(X509_STORE *ctx , X509_CRL *x ) ;
11813 extern int X509_STORE_get_by_subject(X509_STORE_CTX *vs , int type ,   11813 extern int X509_STORE_get_by_subject(X509_STORE_CTX *vs , int type ,
11814                                      X509_NAME *name , X509_OBJECT *ret ) ;   11814                                      X509_NAME *name , X509_OBJECT *ret ) ;
11815 extern int X509_LOOKUP_ctrl(X509_LOOKUP *ctx , int cmd , char const   *argc ,   11815 extern int X509_LOOKUP_ctrl(X509_LOOKUP *ctx , int cmd , char const   *argc ,
11816                             long argl , char **ret ) ;   11816                             long argl , char **ret ) ;
11817 extern int X509_load_cert_file(X509_LOOKUP *ctx , char const   *file , int type ) ;   11817 extern int X509_load_cert_file(X509_LOOKUP *ctx , char const   *file , int type ) ;
11818 extern int X509_load_crl_file(X509_LOOKUP *ctx , char const   *file , int type ) ;   11818 extern int X509_load_crl_file(X509_LOOKUP *ctx , char const   *file , int type ) ;
11819 extern int X509_load_cert_crl_file(X509_LOOKUP *ctx , char const   *file ,   11819 extern int X509_load_cert_crl_file(X509_LOOKUP *ctx , char const   *file ,
11820                                    int type ) ;   11820                                    int type ) ;
11821 extern X509_LOOKUP *X509_LOOKUP_new(X509_LOOKUP_METHOD *method ) ;   11821 extern X509_LOOKUP *X509_LOOKUP_new(X509_LOOKUP_METHOD *method ) ;
11822 extern void X509_LOOKUP_free(X509_LOOKUP *ctx ) ;   11822 extern void X509_LOOKUP_free(X509_LOOKUP *ctx ) ;
11823 extern int X509_LOOKUP_init(X509_LOOKUP *ctx ) ;   11823 extern int X509_LOOKUP_init(X509_LOOKUP *ctx ) ;
11824 extern int X509_LOOKUP_by_subject(X509_LOOKUP *ctx , int type ,   11824 extern int X509_LOOKUP_by_subject(X509_LOOKUP *ctx , int type ,
11825                                   X509_NAME *name , X509_OBJECT *ret ) ;   11825                                   X509_NAME *name , X509_OBJECT *ret ) ;
11826 extern int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx , int type ,   11826 extern int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx , int type ,
11827                                         X509_NAME *name , ASN1_INTEGER *serial ,   11827                                         X509_NAME *name , ASN1_INTEGER *serial ,
11828                                         X509_OBJECT *ret ) ;   11828                                         X509_OBJECT *ret ) ;
11829 extern int X509_LOOKUP_by_fingerprint(X509_LOOKUP *ctx , int type ,   11829 extern int X509_LOOKUP_by_fingerprint(X509_LOOKUP *ctx , int type ,
11830                                       unsigned char *bytes , int len ,   11830                                       unsigned char *bytes , int len ,
11831                                       X509_OBJECT *ret ) ;   11831                                       X509_OBJECT *ret ) ;
11832 extern int X509_LOOKUP_by_alias(X509_LOOKUP *ctx , int type , char *str ,   11832 extern int X509_LOOKUP_by_alias(X509_LOOKUP *ctx , int type , char *str ,
11833                                 int len , X509_OBJECT *ret ) ;   11833                                 int len , X509_OBJECT *ret ) ;
11834 extern int X509_LOOKUP_shutdown(X509_LOOKUP *ctx ) ;   11834 extern int X509_LOOKUP_shutdown(X509_LOOKUP *ctx ) ;
11835 extern int X509_STORE_load_locations(X509_STORE *ctx , char const   *file ,   11835 extern int X509_STORE_load_locations(X509_STORE *ctx , char const   *file ,
11836                                      char const   *dir ) ;   11836                                      char const   *dir ) ;
11837 extern int X509_STORE_set_default_paths(X509_STORE *ctx ) ;   11837 extern int X509_STORE_set_default_paths(X509_STORE *ctx ) ;
11838 extern int X509_STORE_CTX_get_ex_new_index(long argl , void *argp ,   11838 extern int X509_STORE_CTX_get_ex_new_index(long argl , void *argp ,
11839                                            CRYPTO_EX_new *new_func ,   11839                                            CRYPTO_EX_new *new_func ,
11840                                            CRYPTO_EX_dup *dup_func ,   11840                                            CRYPTO_EX_dup *dup_func ,
11841                                            CRYPTO_EX_free *free_func ) ;   11841                                            CRYPTO_EX_free *free_func ) ;
11842 extern int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *ctx , int idx ,   11842 extern int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *ctx , int idx ,
11843                                       void *data ) ;   11843                                       void *data ) ;
11844 extern void *X509_STORE_CTX_get_ex_data(X509_STORE_CTX *ctx , int idx ) ;   11844 extern void *X509_STORE_CTX_get_ex_data(X509_STORE_CTX *ctx , int idx ) ;
11845 extern int X509_STORE_CTX_get_error(X509_STORE_CTX *ctx ) ;   11845 extern int X509_STORE_CTX_get_error(X509_STORE_CTX *ctx ) ;
11846 extern void X509_STORE_CTX_set_error(X509_STORE_CTX *ctx , int s ) ;   11846 extern void X509_STORE_CTX_set_error(X509_STORE_CTX *ctx , int s ) ;
11847 extern int X509_STORE_CTX_get_error_depth(X509_STORE_CTX *ctx ) ;   11847 extern int X509_STORE_CTX_get_error_depth(X509_STORE_CTX *ctx ) ;
11848 extern X509 *X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx ) ;   11848 extern X509 *X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx ) ;
11849 extern X509 *X509_STORE_CTX_get0_current_issuer(X509_STORE_CTX *ctx ) ;   11849 extern X509 *X509_STORE_CTX_get0_current_issuer(X509_STORE_CTX *ctx ) ;
11850 extern X509_CRL *X509_STORE_CTX_get0_current_crl(X509_STORE_CTX *ctx ) ;   11850 extern X509_CRL *X509_STORE_CTX_get0_current_crl(X509_STORE_CTX *ctx ) ;
11851 extern X509_STORE_CTX *X509_STORE_CTX_get0_parent_ctx(X509_STORE_CTX *ctx ) ;   11851 extern X509_STORE_CTX *X509_STORE_CTX_get0_parent_ctx(X509_STORE_CTX *ctx ) ;
11852 extern struct stack_st_X509 *X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx ) ;   11852 extern struct stack_st_X509 *X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx ) ;
11853 extern struct stack_st_X509 *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx ) ;   11853 extern struct stack_st_X509 *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx ) ;
11854 extern void X509_STORE_CTX_set_cert(X509_STORE_CTX *c , X509 *x ) ;   11854 extern void X509_STORE_CTX_set_cert(X509_STORE_CTX *c , X509 *x ) ;
11855 extern void X509_STORE_CTX_set_chain(X509_STORE_CTX *c ,   11855 extern void X509_STORE_CTX_set_chain(X509_STORE_CTX *c ,
11856                                      struct stack_st_X509 *sk ) ;   11856                                      struct stack_st_X509 *sk ) ;
11857 extern void X509_STORE_CTX_set0_crls(X509_STORE_CTX *c ,   11857 extern void X509_STORE_CTX_set0_crls(X509_STORE_CTX *c ,
11858                                      struct stack_st_X509_CRL *sk ) ;   11858                                      struct stack_st_X509_CRL *sk ) ;
11859 extern int X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx , int purpose ) ;   11859 extern int X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx , int purpose ) ;
11860 extern int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx , int trust ) ;   11860 extern int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx , int trust ) ;
11861 extern int X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx ,   11861 extern int X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx ,
11862                                           int def_purpose , int purpose ,   11862                                           int def_purpose , int purpose ,
11863                                           int trust ) ;   11863                                           int trust ) ;
11864 extern void X509_STORE_CTX_set_flags(X509_STORE_CTX *ctx , unsigned long flags ) ;   11864 extern void X509_STORE_CTX_set_flags(X509_STORE_CTX *ctx , unsigned long flags ) ;
11865 extern void X509_STORE_CTX_set_time(X509_STORE_CTX *ctx , unsigned long flags ,   11865 extern void X509_STORE_CTX_set_time(X509_STORE_CTX *ctx , unsigned long flags ,
11866                                     time_t t ) ;   11866                                     time_t t ) ;
11867 extern void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx ,   11867 extern void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx ,
11868                                          int (*verify_cb)(int  ,   11868                                          int (*verify_cb)(int  ,
11869                                                           X509_STORE_CTX * ) ) ;   11869                                                           X509_STORE_CTX * ) ) ;
11870 extern X509_POLICY_TREE *X509_STORE_CTX_get0_policy_tree(X509_STORE_CTX *ctx ) ;   11870 extern X509_POLICY_TREE *X509_STORE_CTX_get0_policy_tree(X509_STORE_CTX *ctx ) ;
11871 extern int X509_STORE_CTX_get_explicit_policy(X509_STORE_CTX *ctx ) ;   11871 extern int X509_STORE_CTX_get_explicit_policy(X509_STORE_CTX *ctx ) ;
11872 extern X509_VERIFY_PARAM *X509_STORE_CTX_get0_param(X509_STORE_CTX *ctx ) ;   11872 extern X509_VERIFY_PARAM *X509_STORE_CTX_get0_param(X509_STORE_CTX *ctx ) ;
11873 extern void X509_STORE_CTX_set0_param(X509_STORE_CTX *ctx ,   11873 extern void X509_STORE_CTX_set0_param(X509_STORE_CTX *ctx ,
11874                                       X509_VERIFY_PARAM *param ) ;   11874                                       X509_VERIFY_PARAM *param ) ;
11875 extern int X509_STORE_CTX_set_default(X509_STORE_CTX *ctx , char const   *name ) ;   11875 extern int X509_STORE_CTX_set_default(X509_STORE_CTX *ctx , char const   *name ) ;
11876 extern X509_VERIFY_PARAM *X509_VERIFY_PARAM_new(void) ;   11876 extern X509_VERIFY_PARAM *X509_VERIFY_PARAM_new(void) ;
11877 extern void X509_VERIFY_PARAM_free(X509_VERIFY_PARAM *param ) ;   11877 extern void X509_VERIFY_PARAM_free(X509_VERIFY_PARAM *param ) ;
11878 extern int X509_VERIFY_PARAM_inherit(X509_VERIFY_PARAM *to ,   11878 extern int X509_VERIFY_PARAM_inherit(X509_VERIFY_PARAM *to ,
11879                                      X509_VERIFY_PARAM const   *from ) ;   11879                                      X509_VERIFY_PARAM const   *from ) ;
11880 extern int X509_VERIFY_PARAM_set1(X509_VERIFY_PARAM *to ,   11880 extern int X509_VERIFY_PARAM_set1(X509_VERIFY_PARAM *to ,
11881                                   X509_VERIFY_PARAM const   *from ) ;   11881                                   X509_VERIFY_PARAM const   *from ) ;
11882 extern int X509_VERIFY_PARAM_set1_name(X509_VERIFY_PARAM *param ,   11882 extern int X509_VERIFY_PARAM_set1_name(X509_VERIFY_PARAM *param ,
11883                                        char const   *name ) ;   11883                                        char const   *name ) ;
11884 extern int X509_VERIFY_PARAM_set_flags(X509_VERIFY_PARAM *param ,   11884 extern int X509_VERIFY_PARAM_set_flags(X509_VERIFY_PARAM *param ,
11885                                        unsigned long flags ) ;   11885                                        unsigned long flags ) ;
11886 extern int X509_VERIFY_PARAM_clear_flags(X509_VERIFY_PARAM *param ,   11886 extern int X509_VERIFY_PARAM_clear_flags(X509_VERIFY_PARAM *param ,
11887                                          unsigned long flags ) ;   11887                                          unsigned long flags ) ;
11888 extern unsigned long X509_VERIFY_PARAM_get_flags(X509_VERIFY_PARAM *param ) ;   11888 extern unsigned long X509_VERIFY_PARAM_get_flags(X509_VERIFY_PARAM *param ) ;
11889 extern int X509_VERIFY_PARAM_set_purpose(X509_VERIFY_PARAM *param , int purpose ) ;   11889 extern int X509_VERIFY_PARAM_set_purpose(X509_VERIFY_PARAM *param , int purpose ) ;
11890 extern int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param , int trust ) ;   11890 extern int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param , int trust ) ;
11891 extern void X509_VERIFY_PARAM_set_depth(X509_VERIFY_PARAM *param , int depth ) ;   11891 extern void X509_VERIFY_PARAM_set_depth(X509_VERIFY_PARAM *param , int depth ) ;
11892 extern void X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param , time_t t ) ;   11892 extern void X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param , time_t t ) ;
11893 extern int X509_VERIFY_PARAM_add0_policy(X509_VERIFY_PARAM *param ,   11893 extern int X509_VERIFY_PARAM_add0_policy(X509_VERIFY_PARAM *param ,
11894                                          ASN1_OBJECT *policy ) ;   11894                                          ASN1_OBJECT *policy ) ;
11895 extern int X509_VERIFY_PARAM_set1_policies(X509_VERIFY_PARAM *param ,   11895 extern int X509_VERIFY_PARAM_set1_policies(X509_VERIFY_PARAM *param ,
11896                                            struct stack_st_ASN1_OBJECT *policies ) ;   11896                                            struct stack_st_ASN1_OBJECT *policies ) ;
11897 extern int X509_VERIFY_PARAM_get_depth(X509_VERIFY_PARAM const   *param ) ;   11897 extern int X509_VERIFY_PARAM_get_depth(X509_VERIFY_PARAM const   *param ) ;
11898 extern int X509_VERIFY_PARAM_add0_table(X509_VERIFY_PARAM *param ) ;   11898 extern int X509_VERIFY_PARAM_add0_table(X509_VERIFY_PARAM *param ) ;
11899 extern X509_VERIFY_PARAM const   *X509_VERIFY_PARAM_lookup(char const   *name ) ;   11899 extern X509_VERIFY_PARAM const   *X509_VERIFY_PARAM_lookup(char const   *name ) ;
11900 extern void X509_VERIFY_PARAM_table_cleanup(void) ;   11900 extern void X509_VERIFY_PARAM_table_cleanup(void) ;
11901 extern int X509_policy_check(X509_POLICY_TREE **ptree , int *pexplicit_policy ,   11901 extern int X509_policy_check(X509_POLICY_TREE **ptree , int *pexplicit_policy ,
11902                              struct stack_st_X509 *certs ,   11902                              struct stack_st_X509 *certs ,
11903                              struct stack_st_ASN1_OBJECT *policy_oids ,   11903                              struct stack_st_ASN1_OBJECT *policy_oids ,
11904                              unsigned int flags ) ;   11904                              unsigned int flags ) ;
11905 extern void X509_policy_tree_free(X509_POLICY_TREE *tree ) ;   11905 extern void X509_policy_tree_free(X509_POLICY_TREE *tree ) ;
11906 extern int X509_policy_tree_level_count(X509_POLICY_TREE const   *tree ) ;   11906 extern int X509_policy_tree_level_count(X509_POLICY_TREE const   *tree ) ;
11907 extern X509_POLICY_LEVEL *X509_policy_tree_get0_level(X509_POLICY_TREE const   *tree ,   11907 extern X509_POLICY_LEVEL *X509_policy_tree_get0_level(X509_POLICY_TREE const   *tree ,
11908                                                       int i ) ;   11908                                                       int i ) ;
11909 extern struct stack_st_X509_POLICY_NODE *X509_policy_tree_get0_policies(X509_POLICY_TREE const   *tree ) ;   11909 extern struct stack_st_X509_POLICY_NODE *X509_policy_tree_get0_policies(X509_POLICY_TREE const   *tree ) ;
11910 extern struct stack_st_X509_POLICY_NODE *X509_policy_tree_get0_user_policies(X509_POLICY_TREE const   *tree ) ;   11910 extern struct stack_st_X509_POLICY_NODE *X509_policy_tree_get0_user_policies(X509_POLICY_TREE const   *tree ) ;
11911 extern int X509_policy_level_node_count(X509_POLICY_LEVEL *level ) ;   11911 extern int X509_policy_level_node_count(X509_POLICY_LEVEL *level ) ;
11912 extern X509_POLICY_NODE *X509_policy_level_get0_node(X509_POLICY_LEVEL *level ,   11912 extern X509_POLICY_NODE *X509_policy_level_get0_node(X509_POLICY_LEVEL *level ,
11913                                                      int i ) ;   11913                                                      int i ) ;
11914 extern ASN1_OBJECT const   *X509_policy_node_get0_policy(X509_POLICY_NODE const   *node ) ;   11914 extern ASN1_OBJECT const   *X509_policy_node_get0_policy(X509_POLICY_NODE const   *node ) ;
11915 extern struct stack_st_POLICYQUALINFO *X509_policy_node_get0_qualifiers(X509_POLICY_NODE const   *node ) ;   11915 extern struct stack_st_POLICYQUALINFO *X509_policy_node_get0_qualifiers(X509_POLICY_NODE const   *node ) ;
11916 extern X509_POLICY_NODE const   *X509_policy_node_get0_parent(X509_POLICY_NODE const   *node ) ;   11916 extern X509_POLICY_NODE const   *X509_policy_node_get0_parent(X509_POLICY_NODE const   *node ) ;
11917 extern PKCS7_ISSUER_AND_SERIAL *PKCS7_ISSUER_AND_SERIAL_new(void) ;   11917 extern PKCS7_ISSUER_AND_SERIAL *PKCS7_ISSUER_AND_SERIAL_new(void) ;
11918 extern void PKCS7_ISSUER_AND_SERIAL_free(PKCS7_ISSUER_AND_SERIAL *a ) ;   11918 extern void PKCS7_ISSUER_AND_SERIAL_free(PKCS7_ISSUER_AND_SERIAL *a ) ;
11919 extern PKCS7_ISSUER_AND_SERIAL *d2i_PKCS7_ISSUER_AND_SERIAL(PKCS7_ISSUER_AND_SERIAL **a ,   11919 extern PKCS7_ISSUER_AND_SERIAL *d2i_PKCS7_ISSUER_AND_SERIAL(PKCS7_ISSUER_AND_SERIAL **a ,
11920                                                             unsigned char const   **in ,   11920                                                             unsigned char const   **in ,
11921                                                             long len ) ;   11921                                                             long len ) ;
11922 extern int i2d_PKCS7_ISSUER_AND_SERIAL(PKCS7_ISSUER_AND_SERIAL *a ,   11922 extern int i2d_PKCS7_ISSUER_AND_SERIAL(PKCS7_ISSUER_AND_SERIAL *a ,
11923                                        unsigned char **out ) ;   11923                                        unsigned char **out ) ;
11924 extern ASN1_ITEM const   PKCS7_ISSUER_AND_SERIAL_it ;   11924 extern ASN1_ITEM const   PKCS7_ISSUER_AND_SERIAL_it ;
11925 extern int PKCS7_ISSUER_AND_SERIAL_digest(PKCS7_ISSUER_AND_SERIAL *data ,   11925 extern int PKCS7_ISSUER_AND_SERIAL_digest(PKCS7_ISSUER_AND_SERIAL *data ,
11926                                           EVP_MD const   *type ,   11926                                           EVP_MD const   *type ,
11927                                           unsigned char *md , unsigned int *len ) ;   11927                                           unsigned char *md , unsigned int *len ) ;
11928 extern PKCS7 *d2i_PKCS7_fp(FILE *fp , PKCS7 **p7 ) ;   11928 extern PKCS7 *d2i_PKCS7_fp(FILE *fp , PKCS7 **p7 ) ;
11929 extern int i2d_PKCS7_fp(FILE *fp , PKCS7 *p7 ) ;   11929 extern int i2d_PKCS7_fp(FILE *fp , PKCS7 *p7 ) ;
11930 extern PKCS7 *PKCS7_dup(PKCS7 *p7 ) ;   11930 extern PKCS7 *PKCS7_dup(PKCS7 *p7 ) ;
11931 extern PKCS7 *d2i_PKCS7_bio(BIO *bp , PKCS7 **p7 ) ;   11931 extern PKCS7 *d2i_PKCS7_bio(BIO *bp , PKCS7 **p7 ) ;
11932 extern int i2d_PKCS7_bio(BIO *bp , PKCS7 *p7 ) ;   11932 extern int i2d_PKCS7_bio(BIO *bp , PKCS7 *p7 ) ;
11933 extern int i2d_PKCS7_bio_stream(BIO *out , PKCS7 *p7 , BIO *in , int flags ) ;   11933 extern int i2d_PKCS7_bio_stream(BIO *out , PKCS7 *p7 , BIO *in , int flags ) ;
11934 extern int PEM_write_bio_PKCS7_stream(BIO *out , PKCS7 *p7 , BIO *in ,   11934 extern int PEM_write_bio_PKCS7_stream(BIO *out , PKCS7 *p7 , BIO *in ,
11935                                       int flags ) ;   11935                                       int flags ) ;
11936 extern PKCS7_SIGNER_INFO *PKCS7_SIGNER_INFO_new(void) ;   11936 extern PKCS7_SIGNER_INFO *PKCS7_SIGNER_INFO_new(void) ;
11937 extern void PKCS7_SIGNER_INFO_free(PKCS7_SIGNER_INFO *a ) ;   11937 extern void PKCS7_SIGNER_INFO_free(PKCS7_SIGNER_INFO *a ) ;
11938 extern PKCS7_SIGNER_INFO *d2i_PKCS7_SIGNER_INFO(PKCS7_SIGNER_INFO **a ,   11938 extern PKCS7_SIGNER_INFO *d2i_PKCS7_SIGNER_INFO(PKCS7_SIGNER_INFO **a ,
11939                                                 unsigned char const   **in ,   11939                                                 unsigned char const   **in ,
11940                                                 long len ) ;   11940                                                 long len ) ;
11941 extern int i2d_PKCS7_SIGNER_INFO(PKCS7_SIGNER_INFO *a , unsigned char **out ) ;   11941 extern int i2d_PKCS7_SIGNER_INFO(PKCS7_SIGNER_INFO *a , unsigned char **out ) ;
11942 extern ASN1_ITEM const   PKCS7_SIGNER_INFO_it ;   11942 extern ASN1_ITEM const   PKCS7_SIGNER_INFO_it ;
11943 extern PKCS7_RECIP_INFO *PKCS7_RECIP_INFO_new(void) ;   11943 extern PKCS7_RECIP_INFO *PKCS7_RECIP_INFO_new(void) ;
11944 extern void PKCS7_RECIP_INFO_free(PKCS7_RECIP_INFO *a ) ;   11944 extern void PKCS7_RECIP_INFO_free(PKCS7_RECIP_INFO *a ) ;
11945 extern PKCS7_RECIP_INFO *d2i_PKCS7_RECIP_INFO(PKCS7_RECIP_INFO **a ,   11945 extern PKCS7_RECIP_INFO *d2i_PKCS7_RECIP_INFO(PKCS7_RECIP_INFO **a ,
11946                                               unsigned char const   **in ,   11946                                               unsigned char const   **in ,
11947                                               long len ) ;   11947                                               long len ) ;
11948 extern int i2d_PKCS7_RECIP_INFO(PKCS7_RECIP_INFO *a , unsigned char **out ) ;   11948 extern int i2d_PKCS7_RECIP_INFO(PKCS7_RECIP_INFO *a , unsigned char **out ) ;
11949 extern ASN1_ITEM const   PKCS7_RECIP_INFO_it ;   11949 extern ASN1_ITEM const   PKCS7_RECIP_INFO_it ;
11950 extern PKCS7_SIGNED *PKCS7_SIGNED_new(void) ;   11950 extern PKCS7_SIGNED *PKCS7_SIGNED_new(void) ;
11951 extern void PKCS7_SIGNED_free(PKCS7_SIGNED *a ) ;   11951 extern void PKCS7_SIGNED_free(PKCS7_SIGNED *a ) ;
11952 extern PKCS7_SIGNED *d2i_PKCS7_SIGNED(PKCS7_SIGNED **a ,   11952 extern PKCS7_SIGNED *d2i_PKCS7_SIGNED(PKCS7_SIGNED **a ,
11953                                       unsigned char const   **in , long len ) ;   11953                                       unsigned char const   **in , long len ) ;
11954 extern int i2d_PKCS7_SIGNED(PKCS7_SIGNED *a , unsigned char **out ) ;   11954 extern int i2d_PKCS7_SIGNED(PKCS7_SIGNED *a , unsigned char **out ) ;
11955 extern ASN1_ITEM const   PKCS7_SIGNED_it ;   11955 extern ASN1_ITEM const   PKCS7_SIGNED_it ;
11956 extern PKCS7_ENC_CONTENT *PKCS7_ENC_CONTENT_new(void) ;   11956 extern PKCS7_ENC_CONTENT *PKCS7_ENC_CONTENT_new(void) ;
11957 extern void PKCS7_ENC_CONTENT_free(PKCS7_ENC_CONTENT *a ) ;   11957 extern void PKCS7_ENC_CONTENT_free(PKCS7_ENC_CONTENT *a ) ;
11958 extern PKCS7_ENC_CONTENT *d2i_PKCS7_ENC_CONTENT(PKCS7_ENC_CONTENT **a ,   11958 extern PKCS7_ENC_CONTENT *d2i_PKCS7_ENC_CONTENT(PKCS7_ENC_CONTENT **a ,
11959                                                 unsigned char const   **in ,   11959                                                 unsigned char const   **in ,
11960                                                 long len ) ;   11960                                                 long len ) ;
11961 extern int i2d_PKCS7_ENC_CONTENT(PKCS7_ENC_CONTENT *a , unsigned char **out ) ;   11961 extern int i2d_PKCS7_ENC_CONTENT(PKCS7_ENC_CONTENT *a , unsigned char **out ) ;
11962 extern ASN1_ITEM const   PKCS7_ENC_CONTENT_it ;   11962 extern ASN1_ITEM const   PKCS7_ENC_CONTENT_it ;
11963 extern PKCS7_ENVELOPE *PKCS7_ENVELOPE_new(void) ;   11963 extern PKCS7_ENVELOPE *PKCS7_ENVELOPE_new(void) ;
11964 extern void PKCS7_ENVELOPE_free(PKCS7_ENVELOPE *a ) ;   11964 extern void PKCS7_ENVELOPE_free(PKCS7_ENVELOPE *a ) ;
11965 extern PKCS7_ENVELOPE *d2i_PKCS7_ENVELOPE(PKCS7_ENVELOPE **a ,   11965 extern PKCS7_ENVELOPE *d2i_PKCS7_ENVELOPE(PKCS7_ENVELOPE **a ,
11966                                           unsigned char const   **in , long len ) ;   11966                                           unsigned char const   **in , long len ) ;
11967 extern int i2d_PKCS7_ENVELOPE(PKCS7_ENVELOPE *a , unsigned char **out ) ;   11967 extern int i2d_PKCS7_ENVELOPE(PKCS7_ENVELOPE *a , unsigned char **out ) ;
11968 extern ASN1_ITEM const   PKCS7_ENVELOPE_it ;   11968 extern ASN1_ITEM const   PKCS7_ENVELOPE_it ;
11969 extern PKCS7_SIGN_ENVELOPE *PKCS7_SIGN_ENVELOPE_new(void) ;   11969 extern PKCS7_SIGN_ENVELOPE *PKCS7_SIGN_ENVELOPE_new(void) ;
11970 extern void PKCS7_SIGN_ENVELOPE_free(PKCS7_SIGN_ENVELOPE *a ) ;   11970 extern void PKCS7_SIGN_ENVELOPE_free(PKCS7_SIGN_ENVELOPE *a ) ;
11971 extern PKCS7_SIGN_ENVELOPE *d2i_PKCS7_SIGN_ENVELOPE(PKCS7_SIGN_ENVELOPE **a ,   11971 extern PKCS7_SIGN_ENVELOPE *d2i_PKCS7_SIGN_ENVELOPE(PKCS7_SIGN_ENVELOPE **a ,
11972                                                     unsigned char const   **in ,   11972                                                     unsigned char const   **in ,
11973                                                     long len ) ;   11973                                                     long len ) ;
11974 extern int i2d_PKCS7_SIGN_ENVELOPE(PKCS7_SIGN_ENVELOPE *a , unsigned char **out ) ;   11974 extern int i2d_PKCS7_SIGN_ENVELOPE(PKCS7_SIGN_ENVELOPE *a , unsigned char **out ) ;
11975 extern ASN1_ITEM const   PKCS7_SIGN_ENVELOPE_it ;   11975 extern ASN1_ITEM const   PKCS7_SIGN_ENVELOPE_it ;
11976 extern PKCS7_DIGEST *PKCS7_DIGEST_new(void) ;   11976 extern PKCS7_DIGEST *PKCS7_DIGEST_new(void) ;
11977 extern void PKCS7_DIGEST_free(PKCS7_DIGEST *a ) ;   11977 extern void PKCS7_DIGEST_free(PKCS7_DIGEST *a ) ;
11978 extern PKCS7_DIGEST *d2i_PKCS7_DIGEST(PKCS7_DIGEST **a ,   11978 extern PKCS7_DIGEST *d2i_PKCS7_DIGEST(PKCS7_DIGEST **a ,
11979                                       unsigned char const   **in , long len ) ;   11979                                       unsigned char const   **in , long len ) ;
11980 extern int i2d_PKCS7_DIGEST(PKCS7_DIGEST *a , unsigned char **out ) ;   11980 extern int i2d_PKCS7_DIGEST(PKCS7_DIGEST *a , unsigned char **out ) ;
11981 extern ASN1_ITEM const   PKCS7_DIGEST_it ;   11981 extern ASN1_ITEM const   PKCS7_DIGEST_it ;
11982 extern PKCS7_ENCRYPT *PKCS7_ENCRYPT_new(void) ;   11982 extern PKCS7_ENCRYPT *PKCS7_ENCRYPT_new(void) ;
11983 extern void PKCS7_ENCRYPT_free(PKCS7_ENCRYPT *a ) ;   11983 extern void PKCS7_ENCRYPT_free(PKCS7_ENCRYPT *a ) ;
11984 extern PKCS7_ENCRYPT *d2i_PKCS7_ENCRYPT(PKCS7_ENCRYPT **a ,   11984 extern PKCS7_ENCRYPT *d2i_PKCS7_ENCRYPT(PKCS7_ENCRYPT **a ,
11985                                         unsigned char const   **in , long len ) ;   11985                                         unsigned char const   **in , long len ) ;
11986 extern int i2d_PKCS7_ENCRYPT(PKCS7_ENCRYPT *a , unsigned char **out ) ;   11986 extern int i2d_PKCS7_ENCRYPT(PKCS7_ENCRYPT *a , unsigned char **out ) ;
11987 extern ASN1_ITEM const   PKCS7_ENCRYPT_it ;   11987 extern ASN1_ITEM const   PKCS7_ENCRYPT_it ;
11988 extern PKCS7 *PKCS7_new(void) ;   11988 extern PKCS7 *PKCS7_new(void) ;
11989 extern void PKCS7_free(PKCS7 *a ) ;   11989 extern void PKCS7_free(PKCS7 *a ) ;
11990 extern PKCS7 *d2i_PKCS7(PKCS7 **a , unsigned char const   **in , long len ) ;   11990 extern PKCS7 *d2i_PKCS7(PKCS7 **a , unsigned char const   **in , long len ) ;
11991 extern int i2d_PKCS7(PKCS7 *a , unsigned char **out ) ;   11991 extern int i2d_PKCS7(PKCS7 *a , unsigned char **out ) ;
11992 extern ASN1_ITEM const   PKCS7_it ;   11992 extern ASN1_ITEM const   PKCS7_it ;
11993 extern ASN1_ITEM const   PKCS7_ATTR_SIGN_it ;   11993 extern ASN1_ITEM const   PKCS7_ATTR_SIGN_it ;
11994 extern ASN1_ITEM const   PKCS7_ATTR_VERIFY_it ;   11994 extern ASN1_ITEM const   PKCS7_ATTR_VERIFY_it ;
11995 extern int i2d_PKCS7_NDEF(PKCS7 *a , unsigned char **out ) ;   11995 extern int i2d_PKCS7_NDEF(PKCS7 *a , unsigned char **out ) ;
11996 extern int PKCS7_print_ctx(BIO *out , PKCS7 *x , int indent ,   11996 extern int PKCS7_print_ctx(BIO *out , PKCS7 *x , int indent ,
11997                            ASN1_PCTX const   *pctx ) ;   11997                            ASN1_PCTX const   *pctx ) ;
11998 extern long PKCS7_ctrl(PKCS7 *p7 , int cmd , long larg , char *parg ) ;   11998 extern long PKCS7_ctrl(PKCS7 *p7 , int cmd , long larg , char *parg ) ;
11999 extern int PKCS7_set_type(PKCS7 *p7 , int type ) ;   11999 extern int PKCS7_set_type(PKCS7 *p7 , int type ) ;
12000 extern int PKCS7_set0_type_other(PKCS7 *p7 , int type , ASN1_TYPE *other ) ;   12000 extern int PKCS7_set0_type_other(PKCS7 *p7 , int type , ASN1_TYPE *other ) ;
12001 extern int PKCS7_set_content(PKCS7 *p7 , PKCS7 *p7_data ) ;   12001 extern int PKCS7_set_content(PKCS7 *p7 , PKCS7 *p7_data ) ;
12002 extern int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i , X509 *x509 ,   12002 extern int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i , X509 *x509 ,
12003                                  EVP_PKEY *pkey , EVP_MD const   *dgst ) ;   12003                                  EVP_PKEY *pkey , EVP_MD const   *dgst ) ;
12004 extern int PKCS7_SIGNER_INFO_sign(PKCS7_SIGNER_INFO *si ) ;   12004 extern int PKCS7_SIGNER_INFO_sign(PKCS7_SIGNER_INFO *si ) ;
12005 extern int PKCS7_add_signer(PKCS7 *p7 , PKCS7_SIGNER_INFO *p7i ) ;   12005 extern int PKCS7_add_signer(PKCS7 *p7 , PKCS7_SIGNER_INFO *p7i ) ;
12006 extern int PKCS7_add_certificate(PKCS7 *p7 , X509 *x509 ) ;   12006 extern int PKCS7_add_certificate(PKCS7 *p7 , X509 *x509 ) ;
12007 extern int PKCS7_add_crl(PKCS7 *p7 , X509_CRL *x509 ) ;   12007 extern int PKCS7_add_crl(PKCS7 *p7 , X509_CRL *x509 ) ;
12008 extern int PKCS7_content_new(PKCS7 *p7 , int nid ) ;   12008 extern int PKCS7_content_new(PKCS7 *p7 , int nid ) ;
12009 extern int PKCS7_dataVerify(X509_STORE *cert_store , X509_STORE_CTX *ctx ,   12009 extern int PKCS7_dataVerify(X509_STORE *cert_store , X509_STORE_CTX *ctx ,
12010                             BIO *bio , PKCS7 *p7 , PKCS7_SIGNER_INFO *si ) ;   12010                             BIO *bio , PKCS7 *p7 , PKCS7_SIGNER_INFO *si ) ;
12011 extern int PKCS7_signatureVerify(BIO *bio , PKCS7 *p7 , PKCS7_SIGNER_INFO *si ,   12011 extern int PKCS7_signatureVerify(BIO *bio , PKCS7 *p7 , PKCS7_SIGNER_INFO *si ,
12012                                  X509 *x509 ) ;   12012                                  X509 *x509 ) ;
12013 extern BIO *PKCS7_dataInit(PKCS7 *p7 , BIO *bio ) ;   12013 extern BIO *PKCS7_dataInit(PKCS7 *p7 , BIO *bio ) ;
12014 extern int PKCS7_dataFinal(PKCS7 *p7 , BIO *bio ) ;   12014 extern int PKCS7_dataFinal(PKCS7 *p7 , BIO *bio ) ;
12015 extern BIO *PKCS7_dataDecode(PKCS7 *p7 , EVP_PKEY *pkey , BIO *in_bio ,   12015 extern BIO *PKCS7_dataDecode(PKCS7 *p7 , EVP_PKEY *pkey , BIO *in_bio ,
12016                              X509 *pcert ) ;   12016                              X509 *pcert ) ;
12017 extern PKCS7_SIGNER_INFO *PKCS7_add_signature(PKCS7 *p7 , X509 *x509 ,   12017 extern PKCS7_SIGNER_INFO *PKCS7_add_signature(PKCS7 *p7 , X509 *x509 ,
12018                                               EVP_PKEY *pkey ,   12018                                               EVP_PKEY *pkey ,
12019                                               EVP_MD const   *dgst ) ;   12019                                               EVP_MD const   *dgst ) ;
12020 extern X509 *PKCS7_cert_from_signer_info(PKCS7 *p7 , PKCS7_SIGNER_INFO *si ) ;   12020 extern X509 *PKCS7_cert_from_signer_info(PKCS7 *p7 , PKCS7_SIGNER_INFO *si ) ;
12021 extern int PKCS7_set_digest(PKCS7 *p7 , EVP_MD const   *md ) ;   12021 extern int PKCS7_set_digest(PKCS7 *p7 , EVP_MD const   *md ) ;
12022 extern struct stack_st_PKCS7_SIGNER_INFO *PKCS7_get_signer_info(PKCS7 *p7 ) ;   12022 extern struct stack_st_PKCS7_SIGNER_INFO *PKCS7_get_signer_info(PKCS7 *p7 ) ;
12023 extern PKCS7_RECIP_INFO *PKCS7_add_recipient(PKCS7 *p7 , X509 *x509 ) ;   12023 extern PKCS7_RECIP_INFO *PKCS7_add_recipient(PKCS7 *p7 , X509 *x509 ) ;
12024 extern void PKCS7_SIGNER_INFO_get0_algs(PKCS7_SIGNER_INFO *si , EVP_PKEY **pk ,   12024 extern void PKCS7_SIGNER_INFO_get0_algs(PKCS7_SIGNER_INFO *si , EVP_PKEY **pk ,
12025                                         X509_ALGOR **pdig , X509_ALGOR **psig ) ;   12025                                         X509_ALGOR **pdig , X509_ALGOR **psig ) ;
12026 extern void PKCS7_RECIP_INFO_get0_alg(PKCS7_RECIP_INFO *ri , X509_ALGOR **penc ) ;   12026 extern void PKCS7_RECIP_INFO_get0_alg(PKCS7_RECIP_INFO *ri , X509_ALGOR **penc ) ;
12027 extern int PKCS7_add_recipient_info(PKCS7 *p7 , PKCS7_RECIP_INFO *ri ) ;   12027 extern int PKCS7_add_recipient_info(PKCS7 *p7 , PKCS7_RECIP_INFO *ri ) ;
12028 extern int PKCS7_RECIP_INFO_set(PKCS7_RECIP_INFO *p7i , X509 *x509 ) ;   12028 extern int PKCS7_RECIP_INFO_set(PKCS7_RECIP_INFO *p7i , X509 *x509 ) ;
12029 extern int PKCS7_set_cipher(PKCS7 *p7 , EVP_CIPHER const   *cipher ) ;   12029 extern int PKCS7_set_cipher(PKCS7 *p7 , EVP_CIPHER const   *cipher ) ;
12030 extern int PKCS7_stream(unsigned char ***boundary , PKCS7 *p7 ) ;   12030 extern int PKCS7_stream(unsigned char ***boundary , PKCS7 *p7 ) ;
12031 extern PKCS7_ISSUER_AND_SERIAL *PKCS7_get_issuer_and_serial(PKCS7 *p7 , int idx ) ;   12031 extern PKCS7_ISSUER_AND_SERIAL *PKCS7_get_issuer_and_serial(PKCS7 *p7 , int idx ) ;
12032 extern ASN1_OCTET_STRING *PKCS7_digest_from_attributes(struct stack_st_X509_ATTRIBUTE *sk ) ;   12032 extern ASN1_OCTET_STRING *PKCS7_digest_from_attributes(struct stack_st_X509_ATTRIBUTE *sk ) ;
12033 extern int PKCS7_add_signed_attribute(PKCS7_SIGNER_INFO *p7si , int nid ,   12033 extern int PKCS7_add_signed_attribute(PKCS7_SIGNER_INFO *p7si , int nid ,
12034                                       int type , void *data ) ;   12034                                       int type , void *data ) ;
12035 extern int PKCS7_add_attribute(PKCS7_SIGNER_INFO *p7si , int nid , int atrtype ,   12035 extern int PKCS7_add_attribute(PKCS7_SIGNER_INFO *p7si , int nid , int atrtype ,
12036                                void *value ) ;   12036                                void *value ) ;
12037 extern ASN1_TYPE *PKCS7_get_attribute(PKCS7_SIGNER_INFO *si , int nid ) ;   12037 extern ASN1_TYPE *PKCS7_get_attribute(PKCS7_SIGNER_INFO *si , int nid ) ;
12038 extern ASN1_TYPE *PKCS7_get_signed_attribute(PKCS7_SIGNER_INFO *si , int nid ) ;   12038 extern ASN1_TYPE *PKCS7_get_signed_attribute(PKCS7_SIGNER_INFO *si , int nid ) ;
12039 extern int PKCS7_set_signed_attributes(PKCS7_SIGNER_INFO *p7si ,   12039 extern int PKCS7_set_signed_attributes(PKCS7_SIGNER_INFO *p7si ,
12040                                        struct stack_st_X509_ATTRIBUTE *sk ) ;   12040                                        struct stack_st_X509_ATTRIBUTE *sk ) ;
12041 extern int PKCS7_set_attributes(PKCS7_SIGNER_INFO *p7si ,   12041 extern int PKCS7_set_attributes(PKCS7_SIGNER_INFO *p7si ,
12042                                 struct stack_st_X509_ATTRIBUTE *sk ) ;   12042                                 struct stack_st_X509_ATTRIBUTE *sk ) ;
12043 extern PKCS7 *PKCS7_sign(X509 *signcert , EVP_PKEY *pkey ,   12043 extern PKCS7 *PKCS7_sign(X509 *signcert , EVP_PKEY *pkey ,
12044                          struct stack_st_X509 *certs , BIO *data , int flags ) ;   12044                          struct stack_st_X509 *certs , BIO *data , int flags ) ;
12045 extern PKCS7_SIGNER_INFO *PKCS7_sign_add_signer(PKCS7 *p7 , X509 *signcert ,   12045 extern PKCS7_SIGNER_INFO *PKCS7_sign_add_signer(PKCS7 *p7 , X509 *signcert ,
12046                                                 EVP_PKEY *pkey ,   12046                                                 EVP_PKEY *pkey ,
12047                                                 EVP_MD const   *md , int flags ) ;   12047                                                 EVP_MD const   *md , int flags ) ;
12048 extern int PKCS7_final(PKCS7 *p7 , BIO *data , int flags ) ;   12048 extern int PKCS7_final(PKCS7 *p7 , BIO *data , int flags ) ;
12049 extern int PKCS7_verify(PKCS7 *p7 , struct stack_st_X509 *certs ,   12049 extern int PKCS7_verify(PKCS7 *p7 , struct stack_st_X509 *certs ,
12050                         X509_STORE *store , BIO *indata , BIO *out , int flags ) ;   12050                         X509_STORE *store , BIO *indata , BIO *out , int flags ) ;
12051 extern struct stack_st_X509 *PKCS7_get0_signers(PKCS7 *p7 ,   12051 extern struct stack_st_X509 *PKCS7_get0_signers(PKCS7 *p7 ,
12052                                                 struct stack_st_X509 *certs ,   12052                                                 struct stack_st_X509 *certs ,
12053                                                 int flags ) ;   12053                                                 int flags ) ;
12054 extern PKCS7 *PKCS7_encrypt(struct stack_st_X509 *certs , BIO *in ,   12054 extern PKCS7 *PKCS7_encrypt(struct stack_st_X509 *certs , BIO *in ,
12055                             EVP_CIPHER const   *cipher , int flags ) ;   12055                             EVP_CIPHER const   *cipher , int flags ) ;
12056 extern int PKCS7_decrypt(PKCS7 *p7 , EVP_PKEY *pkey , X509 *cert , BIO *data ,   12056 extern int PKCS7_decrypt(PKCS7 *p7 , EVP_PKEY *pkey , X509 *cert , BIO *data ,
12057                          int flags ) ;   12057                          int flags ) ;
12058 extern int PKCS7_add_attrib_smimecap(PKCS7_SIGNER_INFO *si ,   12058 extern int PKCS7_add_attrib_smimecap(PKCS7_SIGNER_INFO *si ,
12059                                      struct stack_st_X509_ALGOR *cap ) ;   12059                                      struct stack_st_X509_ALGOR *cap ) ;
12060 extern struct stack_st_X509_ALGOR *PKCS7_get_smimecap(PKCS7_SIGNER_INFO *si ) ;   12060 extern struct stack_st_X509_ALGOR *PKCS7_get_smimecap(PKCS7_SIGNER_INFO *si ) ;
12061 extern int PKCS7_simple_smimecap(struct stack_st_X509_ALGOR *sk , int nid ,   12061 extern int PKCS7_simple_smimecap(struct stack_st_X509_ALGOR *sk , int nid ,
12062                                  int arg ) ;   12062                                  int arg ) ;
12063 extern int PKCS7_add_attrib_content_type(PKCS7_SIGNER_INFO *si ,   12063 extern int PKCS7_add_attrib_content_type(PKCS7_SIGNER_INFO *si ,
12064                                          ASN1_OBJECT *coid ) ;   12064                                          ASN1_OBJECT *coid ) ;
12065 extern int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si , ASN1_TIME *t ) ;   12065 extern int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si , ASN1_TIME *t ) ;
12066 extern int PKCS7_add1_attrib_digest(PKCS7_SIGNER_INFO *si ,   12066 extern int PKCS7_add1_attrib_digest(PKCS7_SIGNER_INFO *si ,
12067                                     unsigned char const   *md , int mdlen ) ;   12067                                     unsigned char const   *md , int mdlen ) ;
12068 extern int SMIME_write_PKCS7(BIO *bio , PKCS7 *p7 , BIO *data , int flags ) ;   12068 extern int SMIME_write_PKCS7(BIO *bio , PKCS7 *p7 , BIO *data , int flags ) ;
12069 extern PKCS7 *SMIME_read_PKCS7(BIO *bio , BIO **bcont ) ;   12069 extern PKCS7 *SMIME_read_PKCS7(BIO *bio , BIO **bcont ) ;
12070 extern BIO *BIO_new_PKCS7(BIO *out , PKCS7 *p7 ) ;   12070 extern BIO *BIO_new_PKCS7(BIO *out , PKCS7 *p7 ) ;
12071 extern void ERR_load_PKCS7_strings(void) ;   12071 extern void ERR_load_PKCS7_strings(void) ;
12072 extern void X509_CRL_set_default_method(X509_CRL_METHOD const   *meth ) ;   12072 extern void X509_CRL_set_default_method(X509_CRL_METHOD const   *meth ) ;
12073 extern X509_CRL_METHOD *X509_CRL_METHOD_new(int (*crl_init)(X509_CRL *crl ) ,   12073 extern X509_CRL_METHOD *X509_CRL_METHOD_new(int (*crl_init)(X509_CRL *crl ) ,
12074                                             int (*crl_free)(X509_CRL *crl ) ,   12074                                             int (*crl_free)(X509_CRL *crl ) ,
12075                                             int (*crl_lookup)(X509_CRL *crl ,   12075                                             int (*crl_lookup)(X509_CRL *crl ,
12076                                                               X509_REVOKED **ret ,   12076                                                               X509_REVOKED **ret ,
12077                                                               ASN1_INTEGER *ser ,   12077                                                               ASN1_INTEGER *ser ,
12078                                                               X509_NAME *issuer ) ,   12078                                                               X509_NAME *issuer ) ,
12079                                             int (*crl_verify)(X509_CRL *crl ,   12079                                             int (*crl_verify)(X509_CRL *crl ,
12080                                                               EVP_PKEY *pk ) ) ;   12080                                                               EVP_PKEY *pk ) ) ;
12081 extern void X509_CRL_METHOD_free(X509_CRL_METHOD *m ) ;   12081 extern void X509_CRL_METHOD_free(X509_CRL_METHOD *m ) ;
12082 extern void X509_CRL_set_meth_data(X509_CRL *crl , void *dat ) ;   12082 extern void X509_CRL_set_meth_data(X509_CRL *crl , void *dat ) ;
12083 extern void *X509_CRL_get_meth_data(X509_CRL *crl ) ;   12083 extern void *X509_CRL_get_meth_data(X509_CRL *crl ) ;
12084 extern char const   *X509_verify_cert_error_string(long n ) ;   12084 extern char const   *X509_verify_cert_error_string(long n ) ;
12085 extern int X509_verify(X509 *a , EVP_PKEY *r ) ;   12085 extern int X509_verify(X509 *a , EVP_PKEY *r ) ;
12086 extern int X509_REQ_verify(X509_REQ *a , EVP_PKEY *r ) ;   12086 extern int X509_REQ_verify(X509_REQ *a , EVP_PKEY *r ) ;
12087 extern int X509_CRL_verify(X509_CRL *a , EVP_PKEY *r ) ;   12087 extern int X509_CRL_verify(X509_CRL *a , EVP_PKEY *r ) ;
12088 extern int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *a , EVP_PKEY *r ) ;   12088 extern int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *a , EVP_PKEY *r ) ;
12089 extern NETSCAPE_SPKI *NETSCAPE_SPKI_b64_decode(char const   *str , int len ) ;   12089 extern NETSCAPE_SPKI *NETSCAPE_SPKI_b64_decode(char const   *str , int len ) ;
12090 extern char *NETSCAPE_SPKI_b64_encode(NETSCAPE_SPKI *x ) ;   12090 extern char *NETSCAPE_SPKI_b64_encode(NETSCAPE_SPKI *x ) ;
12091 extern EVP_PKEY *NETSCAPE_SPKI_get_pubkey(NETSCAPE_SPKI *x ) ;   12091 extern EVP_PKEY *NETSCAPE_SPKI_get_pubkey(NETSCAPE_SPKI *x ) ;
12092 extern int NETSCAPE_SPKI_set_pubkey(NETSCAPE_SPKI *x , EVP_PKEY *pkey ) ;   12092 extern int NETSCAPE_SPKI_set_pubkey(NETSCAPE_SPKI *x , EVP_PKEY *pkey ) ;
12093 extern int NETSCAPE_SPKI_print(BIO *out , NETSCAPE_SPKI *spki ) ;   12093 extern int NETSCAPE_SPKI_print(BIO *out , NETSCAPE_SPKI *spki ) ;
12094 extern int X509_signature_print(BIO *bp , X509_ALGOR *alg , ASN1_STRING *sig ) ;   12094 extern int X509_signature_print(BIO *bp , X509_ALGOR *alg , ASN1_STRING *sig ) ;
12095 extern int X509_sign(X509 *x , EVP_PKEY *pkey , EVP_MD const   *md ) ;   12095 extern int X509_sign(X509 *x , EVP_PKEY *pkey , EVP_MD const   *md ) ;
12096 extern int X509_REQ_sign(X509_REQ *x , EVP_PKEY *pkey , EVP_MD const   *md ) ;   12096 extern int X509_REQ_sign(X509_REQ *x , EVP_PKEY *pkey , EVP_MD const   *md ) ;
12097 extern int X509_CRL_sign(X509_CRL *x , EVP_PKEY *pkey , EVP_MD const   *md ) ;   12097 extern int X509_CRL_sign(X509_CRL *x , EVP_PKEY *pkey , EVP_MD const   *md ) ;
12098 extern int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x , EVP_PKEY *pkey ,   12098 extern int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x , EVP_PKEY *pkey ,
12099                               EVP_MD const   *md ) ;   12099                               EVP_MD const   *md ) ;
12100 extern int X509_pubkey_digest(X509 const   *data , EVP_MD const   *type ,   12100 extern int X509_pubkey_digest(X509 const   *data , EVP_MD const   *type ,
12101                               unsigned char *md , unsigned int *len ) ;   12101                               unsigned char *md , unsigned int *len ) ;
12102 extern int X509_digest(X509 const   *data , EVP_MD const   *type ,   12102 extern int X509_digest(X509 const   *data , EVP_MD const   *type ,
12103                        unsigned char *md , unsigned int *len ) ;   12103                        unsigned char *md , unsigned int *len ) ;
12104 extern int X509_CRL_digest(X509_CRL const   *data , EVP_MD const   *type ,   12104 extern int X509_CRL_digest(X509_CRL const   *data , EVP_MD const   *type ,
12105                            unsigned char *md , unsigned int *len ) ;   12105                            unsigned char *md , unsigned int *len ) ;
12106 extern int X509_REQ_digest(X509_REQ const   *data , EVP_MD const   *type ,   12106 extern int X509_REQ_digest(X509_REQ const   *data , EVP_MD const   *type ,
12107                            unsigned char *md , unsigned int *len ) ;   12107                            unsigned char *md , unsigned int *len ) ;
12108 extern int X509_NAME_digest(X509_NAME const   *data , EVP_MD const   *type ,   12108 extern int X509_NAME_digest(X509_NAME const   *data , EVP_MD const   *type ,
12109                             unsigned char *md , unsigned int *len ) ;   12109                             unsigned char *md , unsigned int *len ) ;
12110 extern X509 *d2i_X509_fp(FILE *fp , X509 **x509 ) ;   12110 extern X509 *d2i_X509_fp(FILE *fp , X509 **x509 ) ;
12111 extern int i2d_X509_fp(FILE *fp , X509 *x509 ) ;   12111 extern int i2d_X509_fp(FILE *fp , X509 *x509 ) ;
12112 extern X509_CRL *d2i_X509_CRL_fp(FILE *fp , X509_CRL **crl ) ;   12112 extern X509_CRL *d2i_X509_CRL_fp(FILE *fp , X509_CRL **crl ) ;
12113 extern int i2d_X509_CRL_fp(FILE *fp , X509_CRL *crl ) ;   12113 extern int i2d_X509_CRL_fp(FILE *fp , X509_CRL *crl ) ;
12114 extern X509_REQ *d2i_X509_REQ_fp(FILE *fp , X509_REQ **req ) ;   12114 extern X509_REQ *d2i_X509_REQ_fp(FILE *fp , X509_REQ **req ) ;
12115 extern int i2d_X509_REQ_fp(FILE *fp , X509_REQ *req ) ;   12115 extern int i2d_X509_REQ_fp(FILE *fp , X509_REQ *req ) ;
12116 extern RSA *d2i_RSAPrivateKey_fp(FILE *fp , RSA **rsa ) ;   12116 extern RSA *d2i_RSAPrivateKey_fp(FILE *fp , RSA **rsa ) ;
12117 extern int i2d_RSAPrivateKey_fp(FILE *fp , RSA *rsa ) ;   12117 extern int i2d_RSAPrivateKey_fp(FILE *fp , RSA *rsa ) ;
12118 extern RSA *d2i_RSAPublicKey_fp(FILE *fp , RSA **rsa ) ;   12118 extern RSA *d2i_RSAPublicKey_fp(FILE *fp , RSA **rsa ) ;
12119 extern int i2d_RSAPublicKey_fp(FILE *fp , RSA *rsa ) ;   12119 extern int i2d_RSAPublicKey_fp(FILE *fp , RSA *rsa ) ;
12120 extern RSA *d2i_RSA_PUBKEY_fp(FILE *fp , RSA **rsa ) ;   12120 extern RSA *d2i_RSA_PUBKEY_fp(FILE *fp , RSA **rsa ) ;
12121 extern int i2d_RSA_PUBKEY_fp(FILE *fp , RSA *rsa ) ;   12121 extern int i2d_RSA_PUBKEY_fp(FILE *fp , RSA *rsa ) ;
12122 extern DSA *d2i_DSA_PUBKEY_fp(FILE *fp , DSA **dsa ) ;   12122 extern DSA *d2i_DSA_PUBKEY_fp(FILE *fp , DSA **dsa ) ;
12123 extern int i2d_DSA_PUBKEY_fp(FILE *fp , DSA *dsa ) ;   12123 extern int i2d_DSA_PUBKEY_fp(FILE *fp , DSA *dsa ) ;
12124 extern DSA *d2i_DSAPrivateKey_fp(FILE *fp , DSA **dsa ) ;   12124 extern DSA *d2i_DSAPrivateKey_fp(FILE *fp , DSA **dsa ) ;
12125 extern int i2d_DSAPrivateKey_fp(FILE *fp , DSA *dsa ) ;   12125 extern int i2d_DSAPrivateKey_fp(FILE *fp , DSA *dsa ) ;
12126 extern X509_SIG *d2i_PKCS8_fp(FILE *fp , X509_SIG **p8 ) ;   12126 extern X509_SIG *d2i_PKCS8_fp(FILE *fp , X509_SIG **p8 ) ;
12127 extern int i2d_PKCS8_fp(FILE *fp , X509_SIG *p8 ) ;   12127 extern int i2d_PKCS8_fp(FILE *fp , X509_SIG *p8 ) ;
12128 extern PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_fp(FILE *fp ,   12128 extern PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_fp(FILE *fp ,
12129                                                        PKCS8_PRIV_KEY_INFO **p8inf ) ;   12129                                                        PKCS8_PRIV_KEY_INFO **p8inf ) ;
12130 extern int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp , PKCS8_PRIV_KEY_INFO *p8inf ) ;   12130 extern int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp , PKCS8_PRIV_KEY_INFO *p8inf ) ;
12131 extern int i2d_PKCS8PrivateKeyInfo_fp(FILE *fp , EVP_PKEY *key ) ;   12131 extern int i2d_PKCS8PrivateKeyInfo_fp(FILE *fp , EVP_PKEY *key ) ;
12132 extern int i2d_PrivateKey_fp(FILE *fp , EVP_PKEY *pkey ) ;   12132 extern int i2d_PrivateKey_fp(FILE *fp , EVP_PKEY *pkey ) ;
12133 extern EVP_PKEY *d2i_PrivateKey_fp(FILE *fp , EVP_PKEY **a ) ;   12133 extern EVP_PKEY *d2i_PrivateKey_fp(FILE *fp , EVP_PKEY **a ) ;
12134 extern int i2d_PUBKEY_fp(FILE *fp , EVP_PKEY *pkey ) ;   12134 extern int i2d_PUBKEY_fp(FILE *fp , EVP_PKEY *pkey ) ;
12135 extern EVP_PKEY *d2i_PUBKEY_fp(FILE *fp , EVP_PKEY **a ) ;   12135 extern EVP_PKEY *d2i_PUBKEY_fp(FILE *fp , EVP_PKEY **a ) ;
12136 extern X509 *d2i_X509_bio(BIO *bp , X509 **x509 ) ;   12136 extern X509 *d2i_X509_bio(BIO *bp , X509 **x509 ) ;
12137 extern int i2d_X509_bio(BIO *bp , X509 *x509 ) ;   12137 extern int i2d_X509_bio(BIO *bp , X509 *x509 ) ;
12138 extern X509_CRL *d2i_X509_CRL_bio(BIO *bp , X509_CRL **crl ) ;   12138 extern X509_CRL *d2i_X509_CRL_bio(BIO *bp , X509_CRL **crl ) ;
12139 extern int i2d_X509_CRL_bio(BIO *bp , X509_CRL *crl ) ;   12139 extern int i2d_X509_CRL_bio(BIO *bp , X509_CRL *crl ) ;
12140 extern X509_REQ *d2i_X509_REQ_bio(BIO *bp , X509_REQ **req ) ;   12140 extern X509_REQ *d2i_X509_REQ_bio(BIO *bp , X509_REQ **req ) ;
12141 extern int i2d_X509_REQ_bio(BIO *bp , X509_REQ *req ) ;   12141 extern int i2d_X509_REQ_bio(BIO *bp , X509_REQ *req ) ;
12142 extern RSA *d2i_RSAPrivateKey_bio(BIO *bp , RSA **rsa ) ;   12142 extern RSA *d2i_RSAPrivateKey_bio(BIO *bp , RSA **rsa ) ;
12143 extern int i2d_RSAPrivateKey_bio(BIO *bp , RSA *rsa ) ;   12143 extern int i2d_RSAPrivateKey_bio(BIO *bp , RSA *rsa ) ;
12144 extern RSA *d2i_RSAPublicKey_bio(BIO *bp , RSA **rsa ) ;   12144 extern RSA *d2i_RSAPublicKey_bio(BIO *bp , RSA **rsa ) ;
12145 extern int i2d_RSAPublicKey_bio(BIO *bp , RSA *rsa ) ;   12145 extern int i2d_RSAPublicKey_bio(BIO *bp , RSA *rsa ) ;
12146 extern RSA *d2i_RSA_PUBKEY_bio(BIO *bp , RSA **rsa ) ;   12146 extern RSA *d2i_RSA_PUBKEY_bio(BIO *bp , RSA **rsa ) ;
12147 extern int i2d_RSA_PUBKEY_bio(BIO *bp , RSA *rsa ) ;   12147 extern int i2d_RSA_PUBKEY_bio(BIO *bp , RSA *rsa ) ;
12148 extern DSA *d2i_DSA_PUBKEY_bio(BIO *bp , DSA **dsa ) ;   12148 extern DSA *d2i_DSA_PUBKEY_bio(BIO *bp , DSA **dsa ) ;
12149 extern int i2d_DSA_PUBKEY_bio(BIO *bp , DSA *dsa ) ;   12149 extern int i2d_DSA_PUBKEY_bio(BIO *bp , DSA *dsa ) ;
12150 extern DSA *d2i_DSAPrivateKey_bio(BIO *bp , DSA **dsa ) ;   12150 extern DSA *d2i_DSAPrivateKey_bio(BIO *bp , DSA **dsa ) ;
12151 extern int i2d_DSAPrivateKey_bio(BIO *bp , DSA *dsa ) ;   12151 extern int i2d_DSAPrivateKey_bio(BIO *bp , DSA *dsa ) ;
12152 extern X509_SIG *d2i_PKCS8_bio(BIO *bp , X509_SIG **p8 ) ;   12152 extern X509_SIG *d2i_PKCS8_bio(BIO *bp , X509_SIG **p8 ) ;
12153 extern int i2d_PKCS8_bio(BIO *bp , X509_SIG *p8 ) ;   12153 extern int i2d_PKCS8_bio(BIO *bp , X509_SIG *p8 ) ;
12154 extern PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_bio(BIO *bp ,   12154 extern PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_bio(BIO *bp ,
12155                                                         PKCS8_PRIV_KEY_INFO **p8inf ) ;   12155                                                         PKCS8_PRIV_KEY_INFO **p8inf ) ;
12156 extern int i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp , PKCS8_PRIV_KEY_INFO *p8inf ) ;   12156 extern int i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp , PKCS8_PRIV_KEY_INFO *p8inf ) ;
12157 extern int i2d_PKCS8PrivateKeyInfo_bio(BIO *bp , EVP_PKEY *key ) ;   12157 extern int i2d_PKCS8PrivateKeyInfo_bio(BIO *bp , EVP_PKEY *key ) ;
12158 extern int i2d_PrivateKey_bio(BIO *bp , EVP_PKEY *pkey ) ;   12158 extern int i2d_PrivateKey_bio(BIO *bp , EVP_PKEY *pkey ) ;
12159 extern EVP_PKEY *d2i_PrivateKey_bio(BIO *bp , EVP_PKEY **a ) ;   12159 extern EVP_PKEY *d2i_PrivateKey_bio(BIO *bp , EVP_PKEY **a ) ;
12160 extern int i2d_PUBKEY_bio(BIO *bp , EVP_PKEY *pkey ) ;   12160 extern int i2d_PUBKEY_bio(BIO *bp , EVP_PKEY *pkey ) ;
12161 extern EVP_PKEY *d2i_PUBKEY_bio(BIO *bp , EVP_PKEY **a ) ;   12161 extern EVP_PKEY *d2i_PUBKEY_bio(BIO *bp , EVP_PKEY **a ) ;
12162 extern X509 *X509_dup(X509 *x509 ) ;   12162 extern X509 *X509_dup(X509 *x509 ) ;
12163 extern X509_ATTRIBUTE *X509_ATTRIBUTE_dup(X509_ATTRIBUTE *xa ) ;   12163 extern X509_ATTRIBUTE *X509_ATTRIBUTE_dup(X509_ATTRIBUTE *xa ) ;
12164 extern X509_EXTENSION *X509_EXTENSION_dup(X509_EXTENSION *ex ) ;   12164 extern X509_EXTENSION *X509_EXTENSION_dup(X509_EXTENSION *ex ) ;
12165 extern X509_CRL *X509_CRL_dup(X509_CRL *crl ) ;   12165 extern X509_CRL *X509_CRL_dup(X509_CRL *crl ) ;
12166 extern X509_REQ *X509_REQ_dup(X509_REQ *req ) ;   12166 extern X509_REQ *X509_REQ_dup(X509_REQ *req ) ;
12167 extern X509_ALGOR *X509_ALGOR_dup(X509_ALGOR *xn ) ;   12167 extern X509_ALGOR *X509_ALGOR_dup(X509_ALGOR *xn ) ;
12168 extern int X509_ALGOR_set0(X509_ALGOR *alg , ASN1_OBJECT *aobj , int ptype ,   12168 extern int X509_ALGOR_set0(X509_ALGOR *alg , ASN1_OBJECT *aobj , int ptype ,
12169                            void *pval ) ;   12169                            void *pval ) ;
12170 extern void X509_ALGOR_get0(ASN1_OBJECT **paobj , int *pptype , void **ppval ,   12170 extern void X509_ALGOR_get0(ASN1_OBJECT **paobj , int *pptype , void **ppval ,
12171                             X509_ALGOR *algor ) ;   12171                             X509_ALGOR *algor ) ;
12172 extern X509_NAME *X509_NAME_dup(X509_NAME *xn ) ;   12172 extern X509_NAME *X509_NAME_dup(X509_NAME *xn ) ;
12173 extern X509_NAME_ENTRY *X509_NAME_ENTRY_dup(X509_NAME_ENTRY *ne ) ;   12173 extern X509_NAME_ENTRY *X509_NAME_ENTRY_dup(X509_NAME_ENTRY *ne ) ;
12174 extern int X509_cmp_time(ASN1_TIME const   *s , time_t *t ) ;   12174 extern int X509_cmp_time(ASN1_TIME const   *s , time_t *t ) ;
12175 extern int X509_cmp_current_time(ASN1_TIME const   *s ) ;   12175 extern int X509_cmp_current_time(ASN1_TIME const   *s ) ;
12176 extern ASN1_TIME *X509_time_adj(ASN1_TIME *s , long adj , time_t *t ) ;   12176 extern ASN1_TIME *X509_time_adj(ASN1_TIME *s , long adj , time_t *t ) ;
12177 extern ASN1_TIME *X509_time_adj_ex(ASN1_TIME *s , int offset_day ,   12177 extern ASN1_TIME *X509_time_adj_ex(ASN1_TIME *s , int offset_day ,
12178                                    long offset_sec , time_t *t ) ;   12178                                    long offset_sec , time_t *t ) ;
12179 extern ASN1_TIME *X509_gmtime_adj(ASN1_TIME *s , long adj ) ;   12179 extern ASN1_TIME *X509_gmtime_adj(ASN1_TIME *s , long adj ) ;
12180 extern char const   *X509_get_default_cert_area(void) ;   12180 extern char const   *X509_get_default_cert_area(void) ;
12181 extern char const   *X509_get_default_cert_dir(void) ;   12181 extern char const   *X509_get_default_cert_dir(void) ;
12182 extern char const   *X509_get_default_cert_file(void) ;   12182 extern char const   *X509_get_default_cert_file(void) ;
12183 extern char const   *X509_get_default_cert_dir_env(void) ;   12183 extern char const   *X509_get_default_cert_dir_env(void) ;
12184 extern char const   *X509_get_default_cert_file_env(void) ;   12184 extern char const   *X509_get_default_cert_file_env(void) ;
12185 extern char const   *X509_get_default_private_dir(void) ;   12185 extern char const   *X509_get_default_private_dir(void) ;
12186 extern X509_REQ *X509_to_X509_REQ(X509 *x , EVP_PKEY *pkey , EVP_MD const   *md ) ;   12186 extern X509_REQ *X509_to_X509_REQ(X509 *x , EVP_PKEY *pkey , EVP_MD const   *md ) ;
12187 extern X509 *X509_REQ_to_X509(X509_REQ *r , int days , EVP_PKEY *pkey ) ;   12187 extern X509 *X509_REQ_to_X509(X509_REQ *r , int days , EVP_PKEY *pkey ) ;
12188 extern X509_ALGOR *X509_ALGOR_new(void) ;   12188 extern X509_ALGOR *X509_ALGOR_new(void) ;
12189 extern void X509_ALGOR_free(X509_ALGOR *a ) ;   12189 extern void X509_ALGOR_free(X509_ALGOR *a ) ;
12190 extern X509_ALGOR *d2i_X509_ALGOR(X509_ALGOR **a , unsigned char const   **in ,   12190 extern X509_ALGOR *d2i_X509_ALGOR(X509_ALGOR **a , unsigned char const   **in ,
12191                                   long len ) ;   12191                                   long len ) ;
12192 extern int i2d_X509_ALGOR(X509_ALGOR *a , unsigned char **out ) ;   12192 extern int i2d_X509_ALGOR(X509_ALGOR *a , unsigned char **out ) ;
12193 extern ASN1_ITEM const   X509_ALGOR_it ;   12193 extern ASN1_ITEM const   X509_ALGOR_it ;
12194 extern X509_ALGORS *d2i_X509_ALGORS(X509_ALGORS **a ,   12194 extern X509_ALGORS *d2i_X509_ALGORS(X509_ALGORS **a ,
12195                                     unsigned char const   **in , long len ) ;   12195                                     unsigned char const   **in , long len ) ;
12196 extern int i2d_X509_ALGORS(X509_ALGORS *a , unsigned char **out ) ;   12196 extern int i2d_X509_ALGORS(X509_ALGORS *a , unsigned char **out ) ;
12197 extern ASN1_ITEM const   X509_ALGORS_it ;   12197 extern ASN1_ITEM const   X509_ALGORS_it ;
12198 extern X509_VAL *X509_VAL_new(void) ;   12198 extern X509_VAL *X509_VAL_new(void) ;
12199 extern void X509_VAL_free(X509_VAL *a ) ;   12199 extern void X509_VAL_free(X509_VAL *a ) ;
12200 extern X509_VAL *d2i_X509_VAL(X509_VAL **a , unsigned char const   **in ,   12200 extern X509_VAL *d2i_X509_VAL(X509_VAL **a , unsigned char const   **in ,
12201                               long len ) ;   12201                               long len ) ;
12202 extern int i2d_X509_VAL(X509_VAL *a , unsigned char **out ) ;   12202 extern int i2d_X509_VAL(X509_VAL *a , unsigned char **out ) ;
12203 extern ASN1_ITEM const   X509_VAL_it ;   12203 extern ASN1_ITEM const   X509_VAL_it ;
12204 extern X509_PUBKEY *X509_PUBKEY_new(void) ;   12204 extern X509_PUBKEY *X509_PUBKEY_new(void) ;
12205 extern void X509_PUBKEY_free(X509_PUBKEY *a ) ;   12205 extern void X509_PUBKEY_free(X509_PUBKEY *a ) ;
12206 extern X509_PUBKEY *d2i_X509_PUBKEY(X509_PUBKEY **a ,   12206 extern X509_PUBKEY *d2i_X509_PUBKEY(X509_PUBKEY **a ,
12207                                     unsigned char const   **in , long len ) ;   12207                                     unsigned char const   **in , long len ) ;
12208 extern int i2d_X509_PUBKEY(X509_PUBKEY *a , unsigned char **out ) ;   12208 extern int i2d_X509_PUBKEY(X509_PUBKEY *a , unsigned char **out ) ;
12209 extern ASN1_ITEM const   X509_PUBKEY_it ;   12209 extern ASN1_ITEM const   X509_PUBKEY_it ;
12210 extern int X509_PUBKEY_set(X509_PUBKEY **x , EVP_PKEY *pkey ) ;   12210 extern int X509_PUBKEY_set(X509_PUBKEY **x , EVP_PKEY *pkey ) ;
12211 extern EVP_PKEY *X509_PUBKEY_get(X509_PUBKEY *key ) ;   12211 extern EVP_PKEY *X509_PUBKEY_get(X509_PUBKEY *key ) ;
12212 extern int X509_get_pubkey_parameters(EVP_PKEY *pkey ,   12212 extern int X509_get_pubkey_parameters(EVP_PKEY *pkey ,
12213                                       struct stack_st_X509 *chain ) ;   12213                                       struct stack_st_X509 *chain ) ;
12214 extern int i2d_PUBKEY(EVP_PKEY *a , unsigned char **pp ) ;   12214 extern int i2d_PUBKEY(EVP_PKEY *a , unsigned char **pp ) ;
12215 extern EVP_PKEY *d2i_PUBKEY(EVP_PKEY **a , unsigned char const   **pp ,   12215 extern EVP_PKEY *d2i_PUBKEY(EVP_PKEY **a , unsigned char const   **pp ,
12216                             long length ) ;   12216                             long length ) ;
12217 extern int i2d_RSA_PUBKEY(RSA *a , unsigned char **pp ) ;   12217 extern int i2d_RSA_PUBKEY(RSA *a , unsigned char **pp ) ;
12218 extern RSA *d2i_RSA_PUBKEY(RSA **a , unsigned char const   **pp , long length ) ;   12218 extern RSA *d2i_RSA_PUBKEY(RSA **a , unsigned char const   **pp , long length ) ;
12219 extern int i2d_DSA_PUBKEY(DSA *a , unsigned char **pp ) ;   12219 extern int i2d_DSA_PUBKEY(DSA *a , unsigned char **pp ) ;
12220 extern DSA *d2i_DSA_PUBKEY(DSA **a , unsigned char const   **pp , long length ) ;   12220 extern DSA *d2i_DSA_PUBKEY(DSA **a , unsigned char const   **pp , long length ) ;
12221 extern X509_SIG *X509_SIG_new(void) ;   12221 extern X509_SIG *X509_SIG_new(void) ;
12222 extern void X509_SIG_free(X509_SIG *a ) ;   12222 extern void X509_SIG_free(X509_SIG *a ) ;
12223 extern X509_SIG *d2i_X509_SIG(X509_SIG **a , unsigned char const   **in ,   12223 extern X509_SIG *d2i_X509_SIG(X509_SIG **a , unsigned char const   **in ,
12224                               long len ) ;   12224                               long len ) ;
12225 extern int i2d_X509_SIG(X509_SIG *a , unsigned char **out ) ;   12225 extern int i2d_X509_SIG(X509_SIG *a , unsigned char **out ) ;
12226 extern ASN1_ITEM const   X509_SIG_it ;   12226 extern ASN1_ITEM const   X509_SIG_it ;
12227 extern X509_REQ_INFO *X509_REQ_INFO_new(void) ;   12227 extern X509_REQ_INFO *X509_REQ_INFO_new(void) ;
12228 extern void X509_REQ_INFO_free(X509_REQ_INFO *a ) ;   12228 extern void X509_REQ_INFO_free(X509_REQ_INFO *a ) ;
12229 extern X509_REQ_INFO *d2i_X509_REQ_INFO(X509_REQ_INFO **a ,   12229 extern X509_REQ_INFO *d2i_X509_REQ_INFO(X509_REQ_INFO **a ,
12230                                         unsigned char const   **in , long len ) ;   12230                                         unsigned char const   **in , long len ) ;
12231 extern int i2d_X509_REQ_INFO(X509_REQ_INFO *a , unsigned char **out ) ;   12231 extern int i2d_X509_REQ_INFO(X509_REQ_INFO *a , unsigned char **out ) ;
12232 extern ASN1_ITEM const   X509_REQ_INFO_it ;   12232 extern ASN1_ITEM const   X509_REQ_INFO_it ;
12233 extern X509_REQ *X509_REQ_new(void) ;   12233 extern X509_REQ *X509_REQ_new(void) ;
12234 extern void X509_REQ_free(X509_REQ *a ) ;   12234 extern void X509_REQ_free(X509_REQ *a ) ;
12235 extern X509_REQ *d2i_X509_REQ(X509_REQ **a , unsigned char const   **in ,   12235 extern X509_REQ *d2i_X509_REQ(X509_REQ **a , unsigned char const   **in ,
12236                               long len ) ;   12236                               long len ) ;
12237 extern int i2d_X509_REQ(X509_REQ *a , unsigned char **out ) ;   12237 extern int i2d_X509_REQ(X509_REQ *a , unsigned char **out ) ;
12238 extern ASN1_ITEM const   X509_REQ_it ;   12238 extern ASN1_ITEM const   X509_REQ_it ;
12239 extern X509_ATTRIBUTE *X509_ATTRIBUTE_new(void) ;   12239 extern X509_ATTRIBUTE *X509_ATTRIBUTE_new(void) ;
12240 extern void X509_ATTRIBUTE_free(X509_ATTRIBUTE *a ) ;   12240 extern void X509_ATTRIBUTE_free(X509_ATTRIBUTE *a ) ;
12241 extern X509_ATTRIBUTE *d2i_X509_ATTRIBUTE(X509_ATTRIBUTE **a ,   12241 extern X509_ATTRIBUTE *d2i_X509_ATTRIBUTE(X509_ATTRIBUTE **a ,
12242                                           unsigned char const   **in , long len ) ;   12242                                           unsigned char const   **in , long len ) ;
12243 extern int i2d_X509_ATTRIBUTE(X509_ATTRIBUTE *a , unsigned char **out ) ;   12243 extern int i2d_X509_ATTRIBUTE(X509_ATTRIBUTE *a , unsigned char **out ) ;
12244 extern ASN1_ITEM const   X509_ATTRIBUTE_it ;   12244 extern ASN1_ITEM const   X509_ATTRIBUTE_it ;
12245 extern X509_ATTRIBUTE *X509_ATTRIBUTE_create(int nid , int atrtype ,   12245 extern X509_ATTRIBUTE *X509_ATTRIBUTE_create(int nid , int atrtype ,
12246                                              void *value ) ;   12246                                              void *value ) ;
12247 extern X509_EXTENSION *X509_EXTENSION_new(void) ;   12247 extern X509_EXTENSION *X509_EXTENSION_new(void) ;
12248 extern void X509_EXTENSION_free(X509_EXTENSION *a ) ;   12248 extern void X509_EXTENSION_free(X509_EXTENSION *a ) ;
12249 extern X509_EXTENSION *d2i_X509_EXTENSION(X509_EXTENSION **a ,   12249 extern X509_EXTENSION *d2i_X509_EXTENSION(X509_EXTENSION **a ,
12250                                           unsigned char const   **in , long len ) ;   12250                                           unsigned char const   **in , long len ) ;
12251 extern int i2d_X509_EXTENSION(X509_EXTENSION *a , unsigned char **out ) ;   12251 extern int i2d_X509_EXTENSION(X509_EXTENSION *a , unsigned char **out ) ;
12252 extern ASN1_ITEM const   X509_EXTENSION_it ;   12252 extern ASN1_ITEM const   X509_EXTENSION_it ;
12253 extern X509_EXTENSIONS *d2i_X509_EXTENSIONS(X509_EXTENSIONS **a ,   12253 extern X509_EXTENSIONS *d2i_X509_EXTENSIONS(X509_EXTENSIONS **a ,
12254                                             unsigned char const   **in ,   12254                                             unsigned char const   **in ,
12255                                             long len ) ;   12255                                             long len ) ;
12256 extern int i2d_X509_EXTENSIONS(X509_EXTENSIONS *a , unsigned char **out ) ;   12256 extern int i2d_X509_EXTENSIONS(X509_EXTENSIONS *a , unsigned char **out ) ;
12257 extern ASN1_ITEM const   X509_EXTENSIONS_it ;   12257 extern ASN1_ITEM const   X509_EXTENSIONS_it ;
12258 extern X509_NAME_ENTRY *X509_NAME_ENTRY_new(void) ;   12258 extern X509_NAME_ENTRY *X509_NAME_ENTRY_new(void) ;
12259 extern void X509_NAME_ENTRY_free(X509_NAME_ENTRY *a ) ;   12259 extern void X509_NAME_ENTRY_free(X509_NAME_ENTRY *a ) ;
12260 extern X509_NAME_ENTRY *d2i_X509_NAME_ENTRY(X509_NAME_ENTRY **a ,   12260 extern X509_NAME_ENTRY *d2i_X509_NAME_ENTRY(X509_NAME_ENTRY **a ,
12261                                             unsigned char const   **in ,   12261                                             unsigned char const   **in ,
12262                                             long len ) ;   12262                                             long len ) ;
12263 extern int i2d_X509_NAME_ENTRY(X509_NAME_ENTRY *a , unsigned char **out ) ;   12263 extern int i2d_X509_NAME_ENTRY(X509_NAME_ENTRY *a , unsigned char **out ) ;
12264 extern ASN1_ITEM const   X509_NAME_ENTRY_it ;   12264 extern ASN1_ITEM const   X509_NAME_ENTRY_it ;
12265 extern X509_NAME *X509_NAME_new(void) ;   12265 extern X509_NAME *X509_NAME_new(void) ;
12266 extern void X509_NAME_free(X509_NAME *a ) ;   12266 extern void X509_NAME_free(X509_NAME *a ) ;
12267 extern X509_NAME *d2i_X509_NAME(X509_NAME **a , unsigned char const   **in ,   12267 extern X509_NAME *d2i_X509_NAME(X509_NAME **a , unsigned char const   **in ,
12268                                 long len ) ;   12268                                 long len ) ;
12269 extern int i2d_X509_NAME(X509_NAME *a , unsigned char **out ) ;   12269 extern int i2d_X509_NAME(X509_NAME *a , unsigned char **out ) ;
12270 extern ASN1_ITEM const   X509_NAME_it ;   12270 extern ASN1_ITEM const   X509_NAME_it ;
12271 extern int X509_NAME_set(X509_NAME **xn , X509_NAME *name ) ;   12271 extern int X509_NAME_set(X509_NAME **xn , X509_NAME *name ) ;
12272 extern X509_CINF *X509_CINF_new(void) ;   12272 extern X509_CINF *X509_CINF_new(void) ;
12273 extern void X509_CINF_free(X509_CINF *a ) ;   12273 extern void X509_CINF_free(X509_CINF *a ) ;
12274 extern X509_CINF *d2i_X509_CINF(X509_CINF **a , unsigned char const   **in ,   12274 extern X509_CINF *d2i_X509_CINF(X509_CINF **a , unsigned char const   **in ,
12275                                 long len ) ;   12275                                 long len ) ;
12276 extern int i2d_X509_CINF(X509_CINF *a , unsigned char **out ) ;   12276 extern int i2d_X509_CINF(X509_CINF *a , unsigned char **out ) ;
12277 extern ASN1_ITEM const   X509_CINF_it ;   12277 extern ASN1_ITEM const   X509_CINF_it ;
12278 extern X509 *X509_new(void) ;   12278 extern X509 *X509_new(void) ;
12279 extern void X509_free(X509 *a ) ;   12279 extern void X509_free(X509 *a ) ;
12280 extern X509 *d2i_X509(X509 **a , unsigned char const   **in , long len ) ;   12280 extern X509 *d2i_X509(X509 **a , unsigned char const   **in , long len ) ;
12281 extern int i2d_X509(X509 *a , unsigned char **out ) ;   12281 extern int i2d_X509(X509 *a , unsigned char **out ) ;
12282 extern ASN1_ITEM const   X509_it ;   12282 extern ASN1_ITEM const   X509_it ;
12283 extern X509_CERT_AUX *X509_CERT_AUX_new(void) ;   12283 extern X509_CERT_AUX *X509_CERT_AUX_new(void) ;
12284 extern void X509_CERT_AUX_free(X509_CERT_AUX *a ) ;   12284 extern void X509_CERT_AUX_free(X509_CERT_AUX *a ) ;
12285 extern X509_CERT_AUX *d2i_X509_CERT_AUX(X509_CERT_AUX **a ,   12285 extern X509_CERT_AUX *d2i_X509_CERT_AUX(X509_CERT_AUX **a ,
12286                                         unsigned char const   **in , long len ) ;   12286                                         unsigned char const   **in , long len ) ;
12287 extern int i2d_X509_CERT_AUX(X509_CERT_AUX *a , unsigned char **out ) ;   12287 extern int i2d_X509_CERT_AUX(X509_CERT_AUX *a , unsigned char **out ) ;
12288 extern ASN1_ITEM const   X509_CERT_AUX_it ;   12288 extern ASN1_ITEM const   X509_CERT_AUX_it ;
12289 extern X509_CERT_PAIR *X509_CERT_PAIR_new(void) ;   12289 extern X509_CERT_PAIR *X509_CERT_PAIR_new(void) ;
12290 extern void X509_CERT_PAIR_free(X509_CERT_PAIR *a ) ;   12290 extern void X509_CERT_PAIR_free(X509_CERT_PAIR *a ) ;
12291 extern X509_CERT_PAIR *d2i_X509_CERT_PAIR(X509_CERT_PAIR **a ,   12291 extern X509_CERT_PAIR *d2i_X509_CERT_PAIR(X509_CERT_PAIR **a ,
12292                                           unsigned char const   **in , long len ) ;   12292                                           unsigned char const   **in , long len ) ;
12293 extern int i2d_X509_CERT_PAIR(X509_CERT_PAIR *a , unsigned char **out ) ;   12293 extern int i2d_X509_CERT_PAIR(X509_CERT_PAIR *a , unsigned char **out ) ;
12294 extern ASN1_ITEM const   X509_CERT_PAIR_it ;   12294 extern ASN1_ITEM const   X509_CERT_PAIR_it ;
12295 extern int X509_get_ex_new_index(long argl , void *argp ,   12295 extern int X509_get_ex_new_index(long argl , void *argp ,
12296                                  CRYPTO_EX_new *new_func ,   12296                                  CRYPTO_EX_new *new_func ,
12297                                  CRYPTO_EX_dup *dup_func ,   12297                                  CRYPTO_EX_dup *dup_func ,
12298                                  CRYPTO_EX_free *free_func ) ;   12298                                  CRYPTO_EX_free *free_func ) ;
12299 extern int X509_set_ex_data(X509 *r , int idx , void *arg ) ;   12299 extern int X509_set_ex_data(X509 *r , int idx , void *arg ) ;
12300 extern void *X509_get_ex_data(X509 *r , int idx ) ;   12300 extern void *X509_get_ex_data(X509 *r , int idx ) ;
12301 extern int i2d_X509_AUX(X509 *a , unsigned char **pp ) ;   12301 extern int i2d_X509_AUX(X509 *a , unsigned char **pp ) ;
12302 extern X509 *d2i_X509_AUX(X509 **a , unsigned char const   **pp , long length ) ;   12302 extern X509 *d2i_X509_AUX(X509 **a , unsigned char const   **pp , long length ) ;
12303 extern int X509_alias_set1(X509 *x , unsigned char *name , int len ) ;   12303 extern int X509_alias_set1(X509 *x , unsigned char *name , int len ) ;
12304 extern int X509_keyid_set1(X509 *x , unsigned char *id , int len ) ;   12304 extern int X509_keyid_set1(X509 *x , unsigned char *id , int len ) ;
12305 extern unsigned char *X509_alias_get0(X509 *x , int *len ) ;   12305 extern unsigned char *X509_alias_get0(X509 *x , int *len ) ;
12306 extern unsigned char *X509_keyid_get0(X509 *x , int *len ) ;   12306 extern unsigned char *X509_keyid_get0(X509 *x , int *len ) ;
12307 extern int (*X509_TRUST_set_default(int (*trust)(int  , X509 * , int  ) ))(int  ,   12307 extern int (*X509_TRUST_set_default(int (*trust)(int  , X509 * , int  ) ))(int  ,
12308                                                                            X509 * ,   12308                                                                            X509 * ,
12309                                                                            int  ) ;   12309                                                                            int  ) ;
12310 extern int X509_TRUST_set(int *t , int trust ) ;   12310 extern int X509_TRUST_set(int *t , int trust ) ;
12311 extern int X509_add1_trust_object(X509 *x , ASN1_OBJECT *obj ) ;   12311 extern int X509_add1_trust_object(X509 *x , ASN1_OBJECT *obj ) ;
12312 extern int X509_add1_reject_object(X509 *x , ASN1_OBJECT *obj ) ;   12312 extern int X509_add1_reject_object(X509 *x , ASN1_OBJECT *obj ) ;
12313 extern void X509_trust_clear(X509 *x ) ;   12313 extern void X509_trust_clear(X509 *x ) ;
12314 extern void X509_reject_clear(X509 *x ) ;   12314 extern void X509_reject_clear(X509 *x ) ;
12315 extern X509_REVOKED *X509_REVOKED_new(void) ;   12315 extern X509_REVOKED *X509_REVOKED_new(void) ;
12316 extern void X509_REVOKED_free(X509_REVOKED *a ) ;   12316 extern void X509_REVOKED_free(X509_REVOKED *a ) ;
12317 extern X509_REVOKED *d2i_X509_REVOKED(X509_REVOKED **a ,   12317 extern X509_REVOKED *d2i_X509_REVOKED(X509_REVOKED **a ,
12318                                       unsigned char const   **in , long len ) ;   12318                                       unsigned char const   **in , long len ) ;
12319 extern int i2d_X509_REVOKED(X509_REVOKED *a , unsigned char **out ) ;   12319 extern int i2d_X509_REVOKED(X509_REVOKED *a , unsigned char **out ) ;
12320 extern ASN1_ITEM const   X509_REVOKED_it ;   12320 extern ASN1_ITEM const   X509_REVOKED_it ;
12321 extern X509_CRL_INFO *X509_CRL_INFO_new(void) ;   12321 extern X509_CRL_INFO *X509_CRL_INFO_new(void) ;
12322 extern void X509_CRL_INFO_free(X509_CRL_INFO *a ) ;   12322 extern void X509_CRL_INFO_free(X509_CRL_INFO *a ) ;
12323 extern X509_CRL_INFO *d2i_X509_CRL_INFO(X509_CRL_INFO **a ,   12323 extern X509_CRL_INFO *d2i_X509_CRL_INFO(X509_CRL_INFO **a ,
12324                                         unsigned char const   **in , long len ) ;   12324                                         unsigned char const   **in , long len ) ;
12325 extern int i2d_X509_CRL_INFO(X509_CRL_INFO *a , unsigned char **out ) ;   12325 extern int i2d_X509_CRL_INFO(X509_CRL_INFO *a , unsigned char **out ) ;
12326 extern ASN1_ITEM const   X509_CRL_INFO_it ;   12326 extern ASN1_ITEM const   X509_CRL_INFO_it ;
12327 extern X509_CRL *X509_CRL_new(void) ;   12327 extern X509_CRL *X509_CRL_new(void) ;
12328 extern void X509_CRL_free(X509_CRL *a ) ;   12328 extern void X509_CRL_free(X509_CRL *a ) ;
12329 extern X509_CRL *d2i_X509_CRL(X509_CRL **a , unsigned char const   **in ,   12329 extern X509_CRL *d2i_X509_CRL(X509_CRL **a , unsigned char const   **in ,
12330                               long len ) ;   12330                               long len ) ;
12331 extern int i2d_X509_CRL(X509_CRL *a , unsigned char **out ) ;   12331 extern int i2d_X509_CRL(X509_CRL *a , unsigned char **out ) ;
12332 extern ASN1_ITEM const   X509_CRL_it ;   12332 extern ASN1_ITEM const   X509_CRL_it ;
12333 extern int X509_CRL_add0_revoked(X509_CRL *crl , X509_REVOKED *rev ) ;   12333 extern int X509_CRL_add0_revoked(X509_CRL *crl , X509_REVOKED *rev ) ;
12334 extern int X509_CRL_get0_by_serial(X509_CRL *crl , X509_REVOKED **ret ,   12334 extern int X509_CRL_get0_by_serial(X509_CRL *crl , X509_REVOKED **ret ,
12335                                    ASN1_INTEGER *serial ) ;   12335                                    ASN1_INTEGER *serial ) ;
12336 extern int X509_CRL_get0_by_cert(X509_CRL *crl , X509_REVOKED **ret , X509 *x ) ;   12336 extern int X509_CRL_get0_by_cert(X509_CRL *crl , X509_REVOKED **ret , X509 *x ) ;
12337 extern X509_PKEY *X509_PKEY_new(void) ;   12337 extern X509_PKEY *X509_PKEY_new(void) ;
12338 extern void X509_PKEY_free(X509_PKEY *a ) ;   12338 extern void X509_PKEY_free(X509_PKEY *a ) ;
12339 extern int i2d_X509_PKEY(X509_PKEY *a , unsigned char **pp ) ;   12339 extern int i2d_X509_PKEY(X509_PKEY *a , unsigned char **pp ) ;
12340 extern X509_PKEY *d2i_X509_PKEY(X509_PKEY **a , unsigned char const   **pp ,   12340 extern X509_PKEY *d2i_X509_PKEY(X509_PKEY **a , unsigned char const   **pp ,
12341                                 long length ) ;   12341                                 long length ) ;
12342 extern NETSCAPE_SPKI *NETSCAPE_SPKI_new(void) ;   12342 extern NETSCAPE_SPKI *NETSCAPE_SPKI_new(void) ;
12343 extern void NETSCAPE_SPKI_free(NETSCAPE_SPKI *a ) ;   12343 extern void NETSCAPE_SPKI_free(NETSCAPE_SPKI *a ) ;
12344 extern NETSCAPE_SPKI *d2i_NETSCAPE_SPKI(NETSCAPE_SPKI **a ,   12344 extern NETSCAPE_SPKI *d2i_NETSCAPE_SPKI(NETSCAPE_SPKI **a ,
12345                                         unsigned char const   **in , long len ) ;   12345                                         unsigned char const   **in , long len ) ;
12346 extern int i2d_NETSCAPE_SPKI(NETSCAPE_SPKI *a , unsigned char **out ) ;   12346 extern int i2d_NETSCAPE_SPKI(NETSCAPE_SPKI *a , unsigned char **out ) ;
12347 extern ASN1_ITEM const   NETSCAPE_SPKI_it ;   12347 extern ASN1_ITEM const   NETSCAPE_SPKI_it ;
12348 extern NETSCAPE_SPKAC *NETSCAPE_SPKAC_new(void) ;   12348 extern NETSCAPE_SPKAC *NETSCAPE_SPKAC_new(void) ;
12349 extern void NETSCAPE_SPKAC_free(NETSCAPE_SPKAC *a ) ;   12349 extern void NETSCAPE_SPKAC_free(NETSCAPE_SPKAC *a ) ;
12350 extern NETSCAPE_SPKAC *d2i_NETSCAPE_SPKAC(NETSCAPE_SPKAC **a ,   12350 extern NETSCAPE_SPKAC *d2i_NETSCAPE_SPKAC(NETSCAPE_SPKAC **a ,
12351                                           unsigned char const   **in , long len ) ;   12351                                           unsigned char const   **in , long len ) ;
12352 extern int i2d_NETSCAPE_SPKAC(NETSCAPE_SPKAC *a , unsigned char **out ) ;   12352 extern int i2d_NETSCAPE_SPKAC(NETSCAPE_SPKAC *a , unsigned char **out ) ;
12353 extern ASN1_ITEM const   NETSCAPE_SPKAC_it ;   12353 extern ASN1_ITEM const   NETSCAPE_SPKAC_it ;
12354 extern NETSCAPE_CERT_SEQUENCE *NETSCAPE_CERT_SEQUENCE_new(void) ;   12354 extern NETSCAPE_CERT_SEQUENCE *NETSCAPE_CERT_SEQUENCE_new(void) ;
12355 extern void NETSCAPE_CERT_SEQUENCE_free(NETSCAPE_CERT_SEQUENCE *a ) ;   12355 extern void NETSCAPE_CERT_SEQUENCE_free(NETSCAPE_CERT_SEQUENCE *a ) ;
12356 extern NETSCAPE_CERT_SEQUENCE *d2i_NETSCAPE_CERT_SEQUENCE(NETSCAPE_CERT_SEQUENCE **a ,   12356 extern NETSCAPE_CERT_SEQUENCE *d2i_NETSCAPE_CERT_SEQUENCE(NETSCAPE_CERT_SEQUENCE **a ,
12357                                                           unsigned char const   **in ,   12357                                                           unsigned char const   **in ,
12358                                                           long len ) ;   12358                                                           long len ) ;
12359 extern int i2d_NETSCAPE_CERT_SEQUENCE(NETSCAPE_CERT_SEQUENCE *a ,   12359 extern int i2d_NETSCAPE_CERT_SEQUENCE(NETSCAPE_CERT_SEQUENCE *a ,
12360                                       unsigned char **out ) ;   12360                                       unsigned char **out ) ;
12361 extern ASN1_ITEM const   NETSCAPE_CERT_SEQUENCE_it ;   12361 extern ASN1_ITEM const   NETSCAPE_CERT_SEQUENCE_it ;
12362 extern X509_INFO *X509_INFO_new(void) ;   12362 extern X509_INFO *X509_INFO_new(void) ;
12363 extern void X509_INFO_free(X509_INFO *a ) ;   12363 extern void X509_INFO_free(X509_INFO *a ) ;
12364 extern char *X509_NAME_oneline(X509_NAME *a , char *buf , int size ) ;   12364 extern char *X509_NAME_oneline(X509_NAME *a , char *buf , int size ) ;
12365 extern int ASN1_verify(i2d_of_void *i2d , X509_ALGOR *algor1 ,   12365 extern int ASN1_verify(i2d_of_void *i2d , X509_ALGOR *algor1 ,
12366                        ASN1_BIT_STRING *signature , char *data , EVP_PKEY *pkey ) ;   12366                        ASN1_BIT_STRING *signature , char *data , EVP_PKEY *pkey ) ;
12367 extern int ASN1_digest(i2d_of_void *i2d , EVP_MD const   *type , char *data ,   12367 extern int ASN1_digest(i2d_of_void *i2d , EVP_MD const   *type , char *data ,
12368                        unsigned char *md , unsigned int *len ) ;   12368                        unsigned char *md , unsigned int *len ) ;
12369 extern int ASN1_sign(i2d_of_void *i2d , X509_ALGOR *algor1 ,   12369 extern int ASN1_sign(i2d_of_void *i2d , X509_ALGOR *algor1 ,
12370                      X509_ALGOR *algor2 , ASN1_BIT_STRING *signature ,   12370                      X509_ALGOR *algor2 , ASN1_BIT_STRING *signature ,
12371                      char *data , EVP_PKEY *pkey , EVP_MD const   *type ) ;   12371                      char *data , EVP_PKEY *pkey , EVP_MD const   *type ) ;
12372 extern int ASN1_item_digest(ASN1_ITEM const   *it , EVP_MD const   *type ,   12372 extern int ASN1_item_digest(ASN1_ITEM const   *it , EVP_MD const   *type ,
12373                             void *data , unsigned char *md , unsigned int *len ) ;   12373                             void *data , unsigned char *md , unsigned int *len ) ;
12374 extern int ASN1_item_verify(ASN1_ITEM const   *it , X509_ALGOR *algor1 ,   12374 extern int ASN1_item_verify(ASN1_ITEM const   *it , X509_ALGOR *algor1 ,
12375                             ASN1_BIT_STRING *signature , void *data ,   12375                             ASN1_BIT_STRING *signature , void *data ,
12376                             EVP_PKEY *pkey ) ;   12376                             EVP_PKEY *pkey ) ;
12377 extern int ASN1_item_sign(ASN1_ITEM const   *it , X509_ALGOR *algor1 ,   12377 extern int ASN1_item_sign(ASN1_ITEM const   *it , X509_ALGOR *algor1 ,
12378                           X509_ALGOR *algor2 , ASN1_BIT_STRING *signature ,   12378                           X509_ALGOR *algor2 , ASN1_BIT_STRING *signature ,
12379                           void *data , EVP_PKEY *pkey , EVP_MD const   *type ) ;   12379                           void *data , EVP_PKEY *pkey , EVP_MD const   *type ) ;
12380 extern int X509_set_version(X509 *x , long version ) ;   12380 extern int X509_set_version(X509 *x , long version ) ;
12381 extern int X509_set_serialNumber(X509 *x , ASN1_INTEGER *serial ) ;   12381 extern int X509_set_serialNumber(X509 *x , ASN1_INTEGER *serial ) ;
12382 extern ASN1_INTEGER *X509_get_serialNumber(X509 *x ) ;   12382 extern ASN1_INTEGER *X509_get_serialNumber(X509 *x ) ;
12383 extern int X509_set_issuer_name(X509 *x , X509_NAME *name ) ;   12383 extern int X509_set_issuer_name(X509 *x , X509_NAME *name ) ;
12384 extern X509_NAME *X509_get_issuer_name(X509 *a ) ;   12384 extern X509_NAME *X509_get_issuer_name(X509 *a ) ;
12385 extern int X509_set_subject_name(X509 *x , X509_NAME *name ) ;   12385 extern int X509_set_subject_name(X509 *x , X509_NAME *name ) ;
12386 extern X509_NAME *X509_get_subject_name(X509 *a ) ;   12386 extern X509_NAME *X509_get_subject_name(X509 *a ) ;
12387 extern int X509_set_notBefore(X509 *x , ASN1_TIME const   *tm ) ;   12387 extern int X509_set_notBefore(X509 *x , ASN1_TIME const   *tm ) ;
12388 extern int X509_set_notAfter(X509 *x , ASN1_TIME const   *tm ) ;   12388 extern int X509_set_notAfter(X509 *x , ASN1_TIME const   *tm ) ;
12389 extern int X509_set_pubkey(X509 *x , EVP_PKEY *pkey ) ;   12389 extern int X509_set_pubkey(X509 *x , EVP_PKEY *pkey ) ;
12390 extern EVP_PKEY *X509_get_pubkey(X509 *x ) ;   12390 extern EVP_PKEY *X509_get_pubkey(X509 *x ) ;
12391 extern ASN1_BIT_STRING *X509_get0_pubkey_bitstr(X509 const   *x ) ;   12391 extern ASN1_BIT_STRING *X509_get0_pubkey_bitstr(X509 const   *x ) ;
12392 extern int X509_certificate_type(X509 *x , EVP_PKEY *pubkey ) ;   12392 extern int X509_certificate_type(X509 *x , EVP_PKEY *pubkey ) ;
12393 extern int X509_REQ_set_version(X509_REQ *x , long version ) ;   12393 extern int X509_REQ_set_version(X509_REQ *x , long version ) ;
12394 extern int X509_REQ_set_subject_name(X509_REQ *req , X509_NAME *name ) ;   12394 extern int X509_REQ_set_subject_name(X509_REQ *req , X509_NAME *name ) ;
12395 extern int X509_REQ_set_pubkey(X509_REQ *x , EVP_PKEY *pkey ) ;   12395 extern int X509_REQ_set_pubkey(X509_REQ *x , EVP_PKEY *pkey ) ;
12396 extern EVP_PKEY *X509_REQ_get_pubkey(X509_REQ *req ) ;   12396 extern EVP_PKEY *X509_REQ_get_pubkey(X509_REQ *req ) ;
12397 extern int X509_REQ_extension_nid(int nid ) ;   12397 extern int X509_REQ_extension_nid(int nid ) ;
12398 extern int *X509_REQ_get_extension_nids(void) ;   12398 extern int *X509_REQ_get_extension_nids(void) ;
12399 extern void X509_REQ_set_extension_nids(int *nids ) ;   12399 extern void X509_REQ_set_extension_nids(int *nids ) ;
12400 extern struct stack_st_X509_EXTENSION *X509_REQ_get_extensions(X509_REQ *req ) ;   12400 extern struct stack_st_X509_EXTENSION *X509_REQ_get_extensions(X509_REQ *req ) ;
12401 extern int X509_REQ_add_extensions_nid(X509_REQ *req ,   12401 extern int X509_REQ_add_extensions_nid(X509_REQ *req ,
12402                                        struct stack_st_X509_EXTENSION *exts ,   12402                                        struct stack_st_X509_EXTENSION *exts ,
12403                                        int nid ) ;   12403                                        int nid ) ;
12404 extern int X509_REQ_add_extensions(X509_REQ *req ,   12404 extern int X509_REQ_add_extensions(X509_REQ *req ,
12405                                    struct stack_st_X509_EXTENSION *exts ) ;   12405                                    struct stack_st_X509_EXTENSION *exts ) ;
12406 extern int X509_REQ_get_attr_count(X509_REQ const   *req ) ;   12406 extern int X509_REQ_get_attr_count(X509_REQ const   *req ) ;
12407 extern int X509_REQ_get_attr_by_NID(X509_REQ const   *req , int nid ,   12407 extern int X509_REQ_get_attr_by_NID(X509_REQ const   *req , int nid ,
12408                                     int lastpos ) ;   12408                                     int lastpos ) ;
12409 extern int X509_REQ_get_attr_by_OBJ(X509_REQ const   *req , ASN1_OBJECT *obj ,   12409 extern int X509_REQ_get_attr_by_OBJ(X509_REQ const   *req , ASN1_OBJECT *obj ,
12410                                     int lastpos ) ;   12410                                     int lastpos ) ;
12411 extern X509_ATTRIBUTE *X509_REQ_get_attr(X509_REQ const   *req , int loc ) ;   12411 extern X509_ATTRIBUTE *X509_REQ_get_attr(X509_REQ const   *req , int loc ) ;
12412 extern X509_ATTRIBUTE *X509_REQ_delete_attr(X509_REQ *req , int loc ) ;   12412 extern X509_ATTRIBUTE *X509_REQ_delete_attr(X509_REQ *req , int loc ) ;
12413 extern int X509_REQ_add1_attr(X509_REQ *req , X509_ATTRIBUTE *attr ) ;   12413 extern int X509_REQ_add1_attr(X509_REQ *req , X509_ATTRIBUTE *attr ) ;
12414 extern int X509_REQ_add1_attr_by_OBJ(X509_REQ *req , ASN1_OBJECT const   *obj ,   12414 extern int X509_REQ_add1_attr_by_OBJ(X509_REQ *req , ASN1_OBJECT const   *obj ,
12415                                      int type , unsigned char const   *bytes ,   12415                                      int type , unsigned char const   *bytes ,
12416                                      int len ) ;   12416                                      int len ) ;
12417 extern int X509_REQ_add1_attr_by_NID(X509_REQ *req , int nid , int type ,   12417 extern int X509_REQ_add1_attr_by_NID(X509_REQ *req , int nid , int type ,
12418                                      unsigned char const   *bytes , int len ) ;   12418                                      unsigned char const   *bytes , int len ) ;
12419 extern int X509_REQ_add1_attr_by_txt(X509_REQ *req , char const   *attrname ,   12419 extern int X509_REQ_add1_attr_by_txt(X509_REQ *req , char const   *attrname ,
12420                                      int type , unsigned char const   *bytes ,   12420                                      int type , unsigned char const   *bytes ,
12421                                      int len ) ;   12421                                      int len ) ;
12422 extern int X509_CRL_set_version(X509_CRL *x , long version ) ;   12422 extern int X509_CRL_set_version(X509_CRL *x , long version ) ;
12423 extern int X509_CRL_set_issuer_name(X509_CRL *x , X509_NAME *name ) ;   12423 extern int X509_CRL_set_issuer_name(X509_CRL *x , X509_NAME *name ) ;
12424 extern int X509_CRL_set_lastUpdate(X509_CRL *x , ASN1_TIME const   *tm ) ;   12424 extern int X509_CRL_set_lastUpdate(X509_CRL *x , ASN1_TIME const   *tm ) ;
12425 extern int X509_CRL_set_nextUpdate(X509_CRL *x , ASN1_TIME const   *tm ) ;   12425 extern int X509_CRL_set_nextUpdate(X509_CRL *x , ASN1_TIME const   *tm ) ;
12426 extern int X509_CRL_sort(X509_CRL *crl ) ;   12426 extern int X509_CRL_sort(X509_CRL *crl ) ;
12427 extern int X509_REVOKED_set_serialNumber(X509_REVOKED *x , ASN1_INTEGER *serial ) ;   12427 extern int X509_REVOKED_set_serialNumber(X509_REVOKED *x , ASN1_INTEGER *serial ) ;
12428 extern int X509_REVOKED_set_revocationDate(X509_REVOKED *r , ASN1_TIME *tm ) ;   12428 extern int X509_REVOKED_set_revocationDate(X509_REVOKED *r , ASN1_TIME *tm ) ;
12429 extern int X509_REQ_check_private_key(X509_REQ *x509 , EVP_PKEY *pkey ) ;   12429 extern int X509_REQ_check_private_key(X509_REQ *x509 , EVP_PKEY *pkey ) ;
12430 extern int X509_check_private_key(X509 *x509 , EVP_PKEY *pkey ) ;   12430 extern int X509_check_private_key(X509 *x509 , EVP_PKEY *pkey ) ;
12431 extern int X509_issuer_and_serial_cmp(X509 const   *a , X509 const   *b ) ;   12431 extern int X509_issuer_and_serial_cmp(X509 const   *a , X509 const   *b ) ;
12432 extern unsigned long X509_issuer_and_serial_hash(X509 *a ) ;   12432 extern unsigned long X509_issuer_and_serial_hash(X509 *a ) ;
12433 extern int X509_issuer_name_cmp(X509 const   *a , X509 const   *b ) ;   12433 extern int X509_issuer_name_cmp(X509 const   *a , X509 const   *b ) ;
12434 extern unsigned long X509_issuer_name_hash(X509 *a ) ;   12434 extern unsigned long X509_issuer_name_hash(X509 *a ) ;
12435 extern int X509_subject_name_cmp(X509 const   *a , X509 const   *b ) ;   12435 extern int X509_subject_name_cmp(X509 const   *a , X509 const   *b ) ;
12436 extern unsigned long X509_subject_name_hash(X509 *x ) ;   12436 extern unsigned long X509_subject_name_hash(X509 *x ) ;
12437 extern unsigned long X509_issuer_name_hash_old(X509 *a ) ;   12437 extern unsigned long X509_issuer_name_hash_old(X509 *a ) ;
12438 extern unsigned long X509_subject_name_hash_old(X509 *x ) ;   12438 extern unsigned long X509_subject_name_hash_old(X509 *x ) ;
12439 extern int X509_cmp(X509 const   *a , X509 const   *b ) ;   12439 extern int X509_cmp(X509 const   *a , X509 const   *b ) ;
12440 extern int X509_NAME_cmp(X509_NAME const   *a , X509_NAME const   *b ) ;   12440 extern int X509_NAME_cmp(X509_NAME const   *a , X509_NAME const   *b ) ;
12441 extern unsigned long X509_NAME_hash(X509_NAME *x ) ;   12441 extern unsigned long X509_NAME_hash(X509_NAME *x ) ;
12442 extern unsigned long X509_NAME_hash_old(X509_NAME *x ) ;   12442 extern unsigned long X509_NAME_hash_old(X509_NAME *x ) ;
12443 extern int X509_CRL_cmp(X509_CRL const   *a , X509_CRL const   *b ) ;   12443 extern int X509_CRL_cmp(X509_CRL const   *a , X509_CRL const   *b ) ;
12444 extern int X509_CRL_match(X509_CRL const   *a , X509_CRL const   *b ) ;   12444 extern int X509_CRL_match(X509_CRL const   *a , X509_CRL const   *b ) ;
12445 extern int X509_print_ex_fp(FILE *bp , X509 *x , unsigned long nmflag ,   12445 extern int X509_print_ex_fp(FILE *bp , X509 *x , unsigned long nmflag ,
12446                             unsigned long cflag ) ;   12446                             unsigned long cflag ) ;
12447 extern int X509_print_fp(FILE *bp , X509 *x ) ;   12447 extern int X509_print_fp(FILE *bp , X509 *x ) ;
12448 extern int X509_CRL_print_fp(FILE *bp , X509_CRL *x ) ;   12448 extern int X509_CRL_print_fp(FILE *bp , X509_CRL *x ) ;
12449 extern int X509_REQ_print_fp(FILE *bp , X509_REQ *req ) ;   12449 extern int X509_REQ_print_fp(FILE *bp , X509_REQ *req ) ;
12450 extern int X509_NAME_print_ex_fp(FILE *fp , X509_NAME *nm , int indent ,   12450 extern int X509_NAME_print_ex_fp(FILE *fp , X509_NAME *nm , int indent ,
12451                                  unsigned long flags ) ;   12451                                  unsigned long flags ) ;
12452 extern int X509_NAME_print(BIO *bp , X509_NAME *name , int obase ) ;   12452 extern int X509_NAME_print(BIO *bp , X509_NAME *name , int obase ) ;
12453 extern int X509_NAME_print_ex(BIO *out , X509_NAME *nm , int indent ,   12453 extern int X509_NAME_print_ex(BIO *out , X509_NAME *nm , int indent ,
12454                               unsigned long flags ) ;   12454                               unsigned long flags ) ;
12455 extern int X509_print_ex(BIO *bp , X509 *x , unsigned long nmflag ,   12455 extern int X509_print_ex(BIO *bp , X509 *x , unsigned long nmflag ,
12456                          unsigned long cflag ) ;   12456                          unsigned long cflag ) ;
12457 extern int X509_print(BIO *bp , X509 *x ) ;   12457 extern int X509_print(BIO *bp , X509 *x ) ;
12458 extern int X509_ocspid_print(BIO *bp , X509 *x ) ;   12458 extern int X509_ocspid_print(BIO *bp , X509 *x ) ;
12459 extern int X509_CERT_AUX_print(BIO *bp , X509_CERT_AUX *x , int indent ) ;   12459 extern int X509_CERT_AUX_print(BIO *bp , X509_CERT_AUX *x , int indent ) ;
12460 extern int X509_CRL_print(BIO *bp , X509_CRL *x ) ;   12460 extern int X509_CRL_print(BIO *bp , X509_CRL *x ) ;
12461 extern int X509_REQ_print_ex(BIO *bp , X509_REQ *x , unsigned long nmflag ,   12461 extern int X509_REQ_print_ex(BIO *bp , X509_REQ *x , unsigned long nmflag ,
12462                              unsigned long cflag ) ;   12462                              unsigned long cflag ) ;
12463 extern int X509_REQ_print(BIO *bp , X509_REQ *req ) ;   12463 extern int X509_REQ_print(BIO *bp , X509_REQ *req ) ;
12464 extern int X509_NAME_entry_count(X509_NAME *name ) ;   12464 extern int X509_NAME_entry_count(X509_NAME *name ) ;
12465 extern int X509_NAME_get_text_by_NID(X509_NAME *name , int nid , char *buf ,   12465 extern int X509_NAME_get_text_by_NID(X509_NAME *name , int nid , char *buf ,
12466                                      int len ) ;   12466                                      int len ) ;
12467 extern int X509_NAME_get_text_by_OBJ(X509_NAME *name , ASN1_OBJECT *obj ,   12467 extern int X509_NAME_get_text_by_OBJ(X509_NAME *name , ASN1_OBJECT *obj ,
12468                                      char *buf , int len ) ;   12468                                      char *buf , int len ) ;
12469 extern int X509_NAME_get_index_by_NID(X509_NAME *name , int nid , int lastpos ) ;   12469 extern int X509_NAME_get_index_by_NID(X509_NAME *name , int nid , int lastpos ) ;
12470 extern int X509_NAME_get_index_by_OBJ(X509_NAME *name , ASN1_OBJECT *obj ,   12470 extern int X509_NAME_get_index_by_OBJ(X509_NAME *name , ASN1_OBJECT *obj ,
12471                                       int lastpos ) ;   12471                                       int lastpos ) ;
12472 extern X509_NAME_ENTRY *X509_NAME_get_entry(X509_NAME *name , int loc ) ;   12472 extern X509_NAME_ENTRY *X509_NAME_get_entry(X509_NAME *name , int loc ) ;
12473 extern X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name , int loc ) ;   12473 extern X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name , int loc ) ;
12474 extern int X509_NAME_add_entry(X509_NAME *name , X509_NAME_ENTRY *ne , int loc ,   12474 extern int X509_NAME_add_entry(X509_NAME *name , X509_NAME_ENTRY *ne , int loc ,
12475                                int set ) ;   12475                                int set ) ;
12476 extern int X509_NAME_add_entry_by_OBJ(X509_NAME *name , ASN1_OBJECT *obj ,   12476 extern int X509_NAME_add_entry_by_OBJ(X509_NAME *name , ASN1_OBJECT *obj ,
12477                                       int type , unsigned char *bytes ,   12477                                       int type , unsigned char *bytes ,
12478                                       int len , int loc , int set ) ;   12478                                       int len , int loc , int set ) ;
12479 extern int X509_NAME_add_entry_by_NID(X509_NAME *name , int nid , int type ,   12479 extern int X509_NAME_add_entry_by_NID(X509_NAME *name , int nid , int type ,
12480                                       unsigned char *bytes , int len , int loc ,   12480                                       unsigned char *bytes , int len , int loc ,
12481                                       int set ) ;   12481                                       int set ) ;
12482 extern X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne ,   12482 extern X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne ,
12483                                                       char const   *field ,   12483                                                       char const   *field ,
12484                                                       int type ,   12484                                                       int type ,
12485                                                       unsigned char const   *bytes ,   12485                                                       unsigned char const   *bytes ,
12486                                                       int len ) ;   12486                                                       int len ) ;
12487 extern X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne ,   12487 extern X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne ,
12488                                                       int nid , int type ,   12488                                                       int nid , int type ,
12489                                                       unsigned char *bytes ,   12489                                                       unsigned char *bytes ,
12490                                                       int len ) ;   12490                                                       int len ) ;
12491 extern int X509_NAME_add_entry_by_txt(X509_NAME *name , char const   *field ,   12491 extern int X509_NAME_add_entry_by_txt(X509_NAME *name , char const   *field ,
12492                                       int type , unsigned char const   *bytes ,   12492                                       int type , unsigned char const   *bytes ,
12493                                       int len , int loc , int set ) ;   12493                                       int len , int loc , int set ) ;
12494 extern X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne ,   12494 extern X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne ,
12495                                                       ASN1_OBJECT *obj ,   12495                                                       ASN1_OBJECT *obj ,
12496                                                       int type ,   12496                                                       int type ,
12497                                                       unsigned char const   *bytes ,   12497                                                       unsigned char const   *bytes ,
12498                                                       int len ) ;   12498                                                       int len ) ;
12499 extern int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne , ASN1_OBJECT *obj ) ;   12499 extern int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne , ASN1_OBJECT *obj ) ;
12500 extern int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne , int type ,   12500 extern int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne , int type ,
12501                                     unsigned char const   *bytes , int len ) ;   12501                                     unsigned char const   *bytes , int len ) ;
12502 extern ASN1_OBJECT *X509_NAME_ENTRY_get_object(X509_NAME_ENTRY *ne ) ;   12502 extern ASN1_OBJECT *X509_NAME_ENTRY_get_object(X509_NAME_ENTRY *ne ) ;
12503 extern ASN1_STRING *X509_NAME_ENTRY_get_data(X509_NAME_ENTRY *ne ) ;   12503 extern ASN1_STRING *X509_NAME_ENTRY_get_data(X509_NAME_ENTRY *ne ) ;
12504 extern int X509v3_get_ext_count(struct stack_st_X509_EXTENSION  const  *x ) ;   12504 extern int X509v3_get_ext_count(struct stack_st_X509_EXTENSION  const  *x ) ;
12505 extern int X509v3_get_ext_by_NID(struct stack_st_X509_EXTENSION  const  *x ,   12505 extern int X509v3_get_ext_by_NID(struct stack_st_X509_EXTENSION  const  *x ,
12506                                  int nid , int lastpos ) ;   12506                                  int nid , int lastpos ) ;
12507 extern int X509v3_get_ext_by_OBJ(struct stack_st_X509_EXTENSION  const  *x ,   12507 extern int X509v3_get_ext_by_OBJ(struct stack_st_X509_EXTENSION  const  *x ,
12508                                  ASN1_OBJECT *obj , int lastpos ) ;   12508                                  ASN1_OBJECT *obj , int lastpos ) ;
12509 extern int X509v3_get_ext_by_critical(struct stack_st_X509_EXTENSION  const  *x ,   12509 extern int X509v3_get_ext_by_critical(struct stack_st_X509_EXTENSION  const  *x ,
12510                                       int crit , int lastpos ) ;   12510                                       int crit , int lastpos ) ;
12511 extern X509_EXTENSION *X509v3_get_ext(struct stack_st_X509_EXTENSION  const  *x ,   12511 extern X509_EXTENSION *X509v3_get_ext(struct stack_st_X509_EXTENSION  const  *x ,
12512                                       int loc ) ;   12512                                       int loc ) ;
12513 extern X509_EXTENSION *X509v3_delete_ext(struct stack_st_X509_EXTENSION *x ,   12513 extern X509_EXTENSION *X509v3_delete_ext(struct stack_st_X509_EXTENSION *x ,
12514                                          int loc ) ;   12514                                          int loc ) ;
12515 extern struct stack_st_X509_EXTENSION *X509v3_add_ext(struct stack_st_X509_EXTENSION **x ,   12515 extern struct stack_st_X509_EXTENSION *X509v3_add_ext(struct stack_st_X509_EXTENSION **x ,
12516                                                       X509_EXTENSION *ex ,   12516                                                       X509_EXTENSION *ex ,
12517                                                       int loc ) ;   12517                                                       int loc ) ;
12518 extern int X509_get_ext_count(X509 *x ) ;   12518 extern int X509_get_ext_count(X509 *x ) ;
12519 extern int X509_get_ext_by_NID(X509 *x , int nid , int lastpos ) ;   12519 extern int X509_get_ext_by_NID(X509 *x , int nid , int lastpos ) ;
12520 extern int X509_get_ext_by_OBJ(X509 *x , ASN1_OBJECT *obj , int lastpos ) ;   12520 extern int X509_get_ext_by_OBJ(X509 *x , ASN1_OBJECT *obj , int lastpos ) ;
12521 extern int X509_get_ext_by_critical(X509 *x , int crit , int lastpos ) ;   12521 extern int X509_get_ext_by_critical(X509 *x , int crit , int lastpos ) ;
12522 extern X509_EXTENSION *X509_get_ext(X509 *x , int loc ) ;   12522 extern X509_EXTENSION *X509_get_ext(X509 *x , int loc ) ;
12523 extern X509_EXTENSION *X509_delete_ext(X509 *x , int loc ) ;   12523 extern X509_EXTENSION *X509_delete_ext(X509 *x , int loc ) ;
12524 extern int X509_add_ext(X509 *x , X509_EXTENSION *ex , int loc ) ;   12524 extern int X509_add_ext(X509 *x , X509_EXTENSION *ex , int loc ) ;
12525 extern void *X509_get_ext_d2i(X509 *x , int nid , int *crit , int *idx ) ;   12525 extern void *X509_get_ext_d2i(X509 *x , int nid , int *crit , int *idx ) ;
12526 extern int X509_add1_ext_i2d(X509 *x , int nid , void *value , int crit ,   12526 extern int X509_add1_ext_i2d(X509 *x , int nid , void *value , int crit ,
12527                              unsigned long flags ) ;   12527                              unsigned long flags ) ;
12528 extern int X509_CRL_get_ext_count(X509_CRL *x ) ;   12528 extern int X509_CRL_get_ext_count(X509_CRL *x ) ;
12529 extern int X509_CRL_get_ext_by_NID(X509_CRL *x , int nid , int lastpos ) ;   12529 extern int X509_CRL_get_ext_by_NID(X509_CRL *x , int nid , int lastpos ) ;
12530 extern int X509_CRL_get_ext_by_OBJ(X509_CRL *x , ASN1_OBJECT *obj , int lastpos ) ;   12530 extern int X509_CRL_get_ext_by_OBJ(X509_CRL *x , ASN1_OBJECT *obj , int lastpos ) ;
12531 extern int X509_CRL_get_ext_by_critical(X509_CRL *x , int crit , int lastpos ) ;   12531 extern int X509_CRL_get_ext_by_critical(X509_CRL *x , int crit , int lastpos ) ;
12532 extern X509_EXTENSION *X509_CRL_get_ext(X509_CRL *x , int loc ) ;   12532 extern X509_EXTENSION *X509_CRL_get_ext(X509_CRL *x , int loc ) ;
12533 extern X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x , int loc ) ;   12533 extern X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x , int loc ) ;
12534 extern int X509_CRL_add_ext(X509_CRL *x , X509_EXTENSION *ex , int loc ) ;   12534 extern int X509_CRL_add_ext(X509_CRL *x , X509_EXTENSION *ex , int loc ) ;
12535 extern void *X509_CRL_get_ext_d2i(X509_CRL *x , int nid , int *crit , int *idx ) ;   12535 extern void *X509_CRL_get_ext_d2i(X509_CRL *x , int nid , int *crit , int *idx ) ;
12536 extern int X509_CRL_add1_ext_i2d(X509_CRL *x , int nid , void *value ,   12536 extern int X509_CRL_add1_ext_i2d(X509_CRL *x , int nid , void *value ,
12537                                  int crit , unsigned long flags ) ;   12537                                  int crit , unsigned long flags ) ;
12538 extern int X509_REVOKED_get_ext_count(X509_REVOKED *x ) ;   12538 extern int X509_REVOKED_get_ext_count(X509_REVOKED *x ) ;
12539 extern int X509_REVOKED_get_ext_by_NID(X509_REVOKED *x , int nid , int lastpos ) ;   12539 extern int X509_REVOKED_get_ext_by_NID(X509_REVOKED *x , int nid , int lastpos ) ;
12540 extern int X509_REVOKED_get_ext_by_OBJ(X509_REVOKED *x , ASN1_OBJECT *obj ,   12540 extern int X509_REVOKED_get_ext_by_OBJ(X509_REVOKED *x , ASN1_OBJECT *obj ,
12541                                        int lastpos ) ;   12541                                        int lastpos ) ;
12542 extern int X509_REVOKED_get_ext_by_critical(X509_REVOKED *x , int crit ,   12542 extern int X509_REVOKED_get_ext_by_critical(X509_REVOKED *x , int crit ,
12543                                             int lastpos ) ;   12543                                             int lastpos ) ;
12544 extern X509_EXTENSION *X509_REVOKED_get_ext(X509_REVOKED *x , int loc ) ;   12544 extern X509_EXTENSION *X509_REVOKED_get_ext(X509_REVOKED *x , int loc ) ;
12545 extern X509_EXTENSION *X509_REVOKED_delete_ext(X509_REVOKED *x , int loc ) ;   12545 extern X509_EXTENSION *X509_REVOKED_delete_ext(X509_REVOKED *x , int loc ) ;
12546 extern int X509_REVOKED_add_ext(X509_REVOKED *x , X509_EXTENSION *ex , int loc ) ;   12546 extern int X509_REVOKED_add_ext(X509_REVOKED *x , X509_EXTENSION *ex , int loc ) ;
12547 extern void *X509_REVOKED_get_ext_d2i(X509_REVOKED *x , int nid , int *crit ,   12547 extern void *X509_REVOKED_get_ext_d2i(X509_REVOKED *x , int nid , int *crit ,
12548                                       int *idx ) ;   12548                                       int *idx ) ;
12549 extern int X509_REVOKED_add1_ext_i2d(X509_REVOKED *x , int nid , void *value ,   12549 extern int X509_REVOKED_add1_ext_i2d(X509_REVOKED *x , int nid , void *value ,
12550                                      int crit , unsigned long flags ) ;   12550                                      int crit , unsigned long flags ) ;
12551 extern X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex ,   12551 extern X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex ,
12552                                                     int nid , int crit ,   12552                                                     int nid , int crit ,
12553                                                     ASN1_OCTET_STRING *data ) ;   12553                                                     ASN1_OCTET_STRING *data ) ;
12554 extern X509_EXTENSION *X509_EXTENSION_create_by_OBJ(X509_EXTENSION **ex ,   12554 extern X509_EXTENSION *X509_EXTENSION_create_by_OBJ(X509_EXTENSION **ex ,
12555                                                     ASN1_OBJECT *obj ,   12555                                                     ASN1_OBJECT *obj ,
12556                                                     int crit ,   12556                                                     int crit ,
12557                                                     ASN1_OCTET_STRING *data ) ;   12557                                                     ASN1_OCTET_STRING *data ) ;
12558 extern int X509_EXTENSION_set_object(X509_EXTENSION *ex , ASN1_OBJECT *obj ) ;   12558 extern int X509_EXTENSION_set_object(X509_EXTENSION *ex , ASN1_OBJECT *obj ) ;
12559 extern int X509_EXTENSION_set_critical(X509_EXTENSION *ex , int crit ) ;   12559 extern int X509_EXTENSION_set_critical(X509_EXTENSION *ex , int crit ) ;
12560 extern int X509_EXTENSION_set_data(X509_EXTENSION *ex , ASN1_OCTET_STRING *data ) ;   12560 extern int X509_EXTENSION_set_data(X509_EXTENSION *ex , ASN1_OCTET_STRING *data ) ;
12561 extern ASN1_OBJECT *X509_EXTENSION_get_object(X509_EXTENSION *ex ) ;   12561 extern ASN1_OBJECT *X509_EXTENSION_get_object(X509_EXTENSION *ex ) ;
12562 extern ASN1_OCTET_STRING *X509_EXTENSION_get_data(X509_EXTENSION *ne ) ;   12562 extern ASN1_OCTET_STRING *X509_EXTENSION_get_data(X509_EXTENSION *ne ) ;
12563 extern int X509_EXTENSION_get_critical(X509_EXTENSION *ex ) ;   12563 extern int X509_EXTENSION_get_critical(X509_EXTENSION *ex ) ;
12564 extern int X509at_get_attr_count(struct stack_st_X509_ATTRIBUTE  const  *x ) ;   12564 extern int X509at_get_attr_count(struct stack_st_X509_ATTRIBUTE  const  *x ) ;
12565 extern int X509at_get_attr_by_NID(struct stack_st_X509_ATTRIBUTE  const  *x ,   12565 extern int X509at_get_attr_by_NID(struct stack_st_X509_ATTRIBUTE  const  *x ,
12566                                   int nid , int lastpos ) ;   12566                                   int nid , int lastpos ) ;
12567 extern int X509at_get_attr_by_OBJ(struct stack_st_X509_ATTRIBUTE  const  *sk ,   12567 extern int X509at_get_attr_by_OBJ(struct stack_st_X509_ATTRIBUTE  const  *sk ,
12568                                   ASN1_OBJECT *obj , int lastpos ) ;   12568                                   ASN1_OBJECT *obj , int lastpos ) ;
12569 extern X509_ATTRIBUTE *X509at_get_attr(struct stack_st_X509_ATTRIBUTE  const  *x ,   12569 extern X509_ATTRIBUTE *X509at_get_attr(struct stack_st_X509_ATTRIBUTE  const  *x ,
12570                                        int loc ) ;   12570                                        int loc ) ;
12571 extern X509_ATTRIBUTE *X509at_delete_attr(struct stack_st_X509_ATTRIBUTE *x ,   12571 extern X509_ATTRIBUTE *X509at_delete_attr(struct stack_st_X509_ATTRIBUTE *x ,
12572                                           int loc ) ;   12572                                           int loc ) ;
12573 extern struct stack_st_X509_ATTRIBUTE *X509at_add1_attr(struct stack_st_X509_ATTRIBUTE **x ,   12573 extern struct stack_st_X509_ATTRIBUTE *X509at_add1_attr(struct stack_st_X509_ATTRIBUTE **x ,
12574                                                         X509_ATTRIBUTE *attr ) ;   12574                                                         X509_ATTRIBUTE *attr ) ;
12575 extern struct stack_st_X509_ATTRIBUTE *X509at_add1_attr_by_OBJ(struct stack_st_X509_ATTRIBUTE **x ,   12575 extern struct stack_st_X509_ATTRIBUTE *X509at_add1_attr_by_OBJ(struct stack_st_X509_ATTRIBUTE **x ,
12576                                                                ASN1_OBJECT const   *obj ,   12576                                                                ASN1_OBJECT const   *obj ,
12577                                                                int type ,   12577                                                                int type ,
12578                                                                unsigned char const   *bytes ,   12578                                                                unsigned char const   *bytes ,
12579                                                                int len ) ;   12579                                                                int len ) ;
12580 extern struct stack_st_X509_ATTRIBUTE *X509at_add1_attr_by_NID(struct stack_st_X509_ATTRIBUTE **x ,   12580 extern struct stack_st_X509_ATTRIBUTE *X509at_add1_attr_by_NID(struct stack_st_X509_ATTRIBUTE **x ,
12581                                                                int nid ,   12581                                                                int nid ,
12582                                                                int type ,   12582                                                                int type ,
12583                                                                unsigned char const   *bytes ,   12583                                                                unsigned char const   *bytes ,
12584                                                                int len ) ;   12584                                                                int len ) ;
12585 extern struct stack_st_X509_ATTRIBUTE *X509at_add1_attr_by_txt(struct stack_st_X509_ATTRIBUTE **x ,   12585 extern struct stack_st_X509_ATTRIBUTE *X509at_add1_attr_by_txt(struct stack_st_X509_ATTRIBUTE **x ,
12586                                                                char const   *attrname ,   12586                                                                char const   *attrname ,
12587                                                                int type ,   12587                                                                int type ,
12588                                                                unsigned char const   *bytes ,   12588                                                                unsigned char const   *bytes ,
12589                                                                int len ) ;   12589                                                                int len ) ;
12590 extern void *X509at_get0_data_by_OBJ(struct stack_st_X509_ATTRIBUTE *x ,   12590 extern void *X509at_get0_data_by_OBJ(struct stack_st_X509_ATTRIBUTE *x ,
12591                                      ASN1_OBJECT *obj , int lastpos , int type ) ;   12591                                      ASN1_OBJECT *obj , int lastpos , int type ) ;
12592 extern X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr ,   12592 extern X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr ,
12593                                                     int nid , int atrtype ,   12593                                                     int nid , int atrtype ,
12594                                                     void const   *data ,   12594                                                     void const   *data ,
12595                                                     int len ) ;   12595                                                     int len ) ;
12596 extern X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_OBJ(X509_ATTRIBUTE **attr ,   12596 extern X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_OBJ(X509_ATTRIBUTE **attr ,
12597                                                     ASN1_OBJECT const   *obj ,   12597                                                     ASN1_OBJECT const   *obj ,
12598                                                     int atrtype ,   12598                                                     int atrtype ,
12599                                                     void const   *data ,   12599                                                     void const   *data ,
12600                                                     int len ) ;   12600                                                     int len ) ;
12601 extern X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_txt(X509_ATTRIBUTE **attr ,   12601 extern X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_txt(X509_ATTRIBUTE **attr ,
12602                                                     char const   *atrname ,   12602                                                     char const   *atrname ,
12603                                                     int type ,   12603                                                     int type ,
12604                                                     unsigned char const   *bytes ,   12604                                                     unsigned char const   *bytes ,
12605                                                     int len ) ;   12605                                                     int len ) ;
12606 extern int X509_ATTRIBUTE_set1_object(X509_ATTRIBUTE *attr ,   12606 extern int X509_ATTRIBUTE_set1_object(X509_ATTRIBUTE *attr ,
12607                                       ASN1_OBJECT const   *obj ) ;   12607                                       ASN1_OBJECT const   *obj ) ;
12608 extern int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr , int attrtype ,   12608 extern int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr , int attrtype ,
12609                                     void const   *data , int len ) ;   12609                                     void const   *data , int len ) ;
12610 extern void *X509_ATTRIBUTE_get0_data(X509_ATTRIBUTE *attr , int idx ,   12610 extern void *X509_ATTRIBUTE_get0_data(X509_ATTRIBUTE *attr , int idx ,
12611                                       int atrtype , void *data ) ;   12611                                       int atrtype , void *data ) ;
12612 extern int X509_ATTRIBUTE_count(X509_ATTRIBUTE *attr ) ;   12612 extern int X509_ATTRIBUTE_count(X509_ATTRIBUTE *attr ) ;
12613 extern ASN1_OBJECT *X509_ATTRIBUTE_get0_object(X509_ATTRIBUTE *attr ) ;   12613 extern ASN1_OBJECT *X509_ATTRIBUTE_get0_object(X509_ATTRIBUTE *attr ) ;
12614 extern ASN1_TYPE *X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr , int idx ) ;   12614 extern ASN1_TYPE *X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr , int idx ) ;
12615 extern int EVP_PKEY_get_attr_count(EVP_PKEY const   *key ) ;   12615 extern int EVP_PKEY_get_attr_count(EVP_PKEY const   *key ) ;
12616 extern int EVP_PKEY_get_attr_by_NID(EVP_PKEY const   *key , int nid ,   12616 extern int EVP_PKEY_get_attr_by_NID(EVP_PKEY const   *key , int nid ,
12617                                     int lastpos ) ;   12617                                     int lastpos ) ;
12618 extern int EVP_PKEY_get_attr_by_OBJ(EVP_PKEY const   *key , ASN1_OBJECT *obj ,   12618 extern int EVP_PKEY_get_attr_by_OBJ(EVP_PKEY const   *key , ASN1_OBJECT *obj ,
12619                                     int lastpos ) ;   12619                                     int lastpos ) ;
12620 extern X509_ATTRIBUTE *EVP_PKEY_get_attr(EVP_PKEY const   *key , int loc ) ;   12620 extern X509_ATTRIBUTE *EVP_PKEY_get_attr(EVP_PKEY const   *key , int loc ) ;
12621 extern X509_ATTRIBUTE *EVP_PKEY_delete_attr(EVP_PKEY *key , int loc ) ;   12621 extern X509_ATTRIBUTE *EVP_PKEY_delete_attr(EVP_PKEY *key , int loc ) ;
12622 extern int EVP_PKEY_add1_attr(EVP_PKEY *key , X509_ATTRIBUTE *attr ) ;   12622 extern int EVP_PKEY_add1_attr(EVP_PKEY *key , X509_ATTRIBUTE *attr ) ;
12623 extern int EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key , ASN1_OBJECT const   *obj ,   12623 extern int EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key , ASN1_OBJECT const   *obj ,
12624                                      int type , unsigned char const   *bytes ,   12624                                      int type , unsigned char const   *bytes ,
12625                                      int len ) ;   12625                                      int len ) ;
12626 extern int EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key , int nid , int type ,   12626 extern int EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key , int nid , int type ,
12627                                      unsigned char const   *bytes , int len ) ;   12627                                      unsigned char const   *bytes , int len ) ;
12628 extern int EVP_PKEY_add1_attr_by_txt(EVP_PKEY *key , char const   *attrname ,   12628 extern int EVP_PKEY_add1_attr_by_txt(EVP_PKEY *key , char const   *attrname ,
12629                                      int type , unsigned char const   *bytes ,   12629                                      int type , unsigned char const   *bytes ,
12630                                      int len ) ;   12630                                      int len ) ;
12631 extern int X509_verify_cert(X509_STORE_CTX *ctx ) ;   12631 extern int X509_verify_cert(X509_STORE_CTX *ctx ) ;
12632 extern X509 *X509_find_by_issuer_and_serial(struct stack_st_X509 *sk ,   12632 extern X509 *X509_find_by_issuer_and_serial(struct stack_st_X509 *sk ,
12633                                             X509_NAME *name ,   12633                                             X509_NAME *name ,
12634                                             ASN1_INTEGER *serial ) ;   12634                                             ASN1_INTEGER *serial ) ;
12635 extern X509 *X509_find_by_subject(struct stack_st_X509 *sk , X509_NAME *name ) ;   12635 extern X509 *X509_find_by_subject(struct stack_st_X509 *sk , X509_NAME *name ) ;
12636 extern PBEPARAM *PBEPARAM_new(void) ;   12636 extern PBEPARAM *PBEPARAM_new(void) ;
12637 extern void PBEPARAM_free(PBEPARAM *a ) ;   12637 extern void PBEPARAM_free(PBEPARAM *a ) ;
12638 extern PBEPARAM *d2i_PBEPARAM(PBEPARAM **a , unsigned char const   **in ,   12638 extern PBEPARAM *d2i_PBEPARAM(PBEPARAM **a , unsigned char const   **in ,
12639                               long len ) ;   12639                               long len ) ;
12640 extern int i2d_PBEPARAM(PBEPARAM *a , unsigned char **out ) ;   12640 extern int i2d_PBEPARAM(PBEPARAM *a , unsigned char **out ) ;
12641 extern ASN1_ITEM const   PBEPARAM_it ;   12641 extern ASN1_ITEM const   PBEPARAM_it ;
12642 extern PBE2PARAM *PBE2PARAM_new(void) ;   12642 extern PBE2PARAM *PBE2PARAM_new(void) ;
12643 extern void PBE2PARAM_free(PBE2PARAM *a ) ;   12643 extern void PBE2PARAM_free(PBE2PARAM *a ) ;
12644 extern PBE2PARAM *d2i_PBE2PARAM(PBE2PARAM **a , unsigned char const   **in ,   12644 extern PBE2PARAM *d2i_PBE2PARAM(PBE2PARAM **a , unsigned char const   **in ,
12645                                 long len ) ;   12645                                 long len ) ;
12646 extern int i2d_PBE2PARAM(PBE2PARAM *a , unsigned char **out ) ;   12646 extern int i2d_PBE2PARAM(PBE2PARAM *a , unsigned char **out ) ;
12647 extern ASN1_ITEM const   PBE2PARAM_it ;   12647 extern ASN1_ITEM const   PBE2PARAM_it ;
12648 extern PBKDF2PARAM *PBKDF2PARAM_new(void) ;   12648 extern PBKDF2PARAM *PBKDF2PARAM_new(void) ;
12649 extern void PBKDF2PARAM_free(PBKDF2PARAM *a ) ;   12649 extern void PBKDF2PARAM_free(PBKDF2PARAM *a ) ;
12650 extern PBKDF2PARAM *d2i_PBKDF2PARAM(PBKDF2PARAM **a ,   12650 extern PBKDF2PARAM *d2i_PBKDF2PARAM(PBKDF2PARAM **a ,
12651                                     unsigned char const   **in , long len ) ;   12651                                     unsigned char const   **in , long len ) ;
12652 extern int i2d_PBKDF2PARAM(PBKDF2PARAM *a , unsigned char **out ) ;   12652 extern int i2d_PBKDF2PARAM(PBKDF2PARAM *a , unsigned char **out ) ;
12653 extern ASN1_ITEM const   PBKDF2PARAM_it ;   12653 extern ASN1_ITEM const   PBKDF2PARAM_it ;
12654 extern int PKCS5_pbe_set0_algor(X509_ALGOR *algor , int alg , int iter ,   12654 extern int PKCS5_pbe_set0_algor(X509_ALGOR *algor , int alg , int iter ,
12655                                 unsigned char const   *salt , int saltlen ) ;   12655                                 unsigned char const   *salt , int saltlen ) ;
12656 extern X509_ALGOR *PKCS5_pbe_set(int alg , int iter ,   12656 extern X509_ALGOR *PKCS5_pbe_set(int alg , int iter ,
12657                                  unsigned char const   *salt , int saltlen ) ;   12657                                  unsigned char const   *salt , int saltlen ) ;
12658 extern X509_ALGOR *PKCS5_pbe2_set(EVP_CIPHER const   *cipher , int iter ,   12658 extern X509_ALGOR *PKCS5_pbe2_set(EVP_CIPHER const   *cipher , int iter ,
12659                                   unsigned char *salt , int saltlen ) ;   12659                                   unsigned char *salt , int saltlen ) ;
12660 extern X509_ALGOR *PKCS5_pbe2_set_iv(EVP_CIPHER const   *cipher , int iter ,   12660 extern X509_ALGOR *PKCS5_pbe2_set_iv(EVP_CIPHER const   *cipher , int iter ,
12661                                      unsigned char *salt , int saltlen ,   12661                                      unsigned char *salt , int saltlen ,
12662                                      unsigned char *aiv , int prf_nid ) ;   12662                                      unsigned char *aiv , int prf_nid ) ;
12663 extern PKCS8_PRIV_KEY_INFO *PKCS8_PRIV_KEY_INFO_new(void) ;   12663 extern PKCS8_PRIV_KEY_INFO *PKCS8_PRIV_KEY_INFO_new(void) ;
12664 extern void PKCS8_PRIV_KEY_INFO_free(PKCS8_PRIV_KEY_INFO *a ) ;   12664 extern void PKCS8_PRIV_KEY_INFO_free(PKCS8_PRIV_KEY_INFO *a ) ;
12665 extern PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO(PKCS8_PRIV_KEY_INFO **a ,   12665 extern PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO(PKCS8_PRIV_KEY_INFO **a ,
12666                                                     unsigned char const   **in ,   12666                                                     unsigned char const   **in ,
12667                                                     long len ) ;   12667                                                     long len ) ;
12668 extern int i2d_PKCS8_PRIV_KEY_INFO(PKCS8_PRIV_KEY_INFO *a , unsigned char **out ) ;   12668 extern int i2d_PKCS8_PRIV_KEY_INFO(PKCS8_PRIV_KEY_INFO *a , unsigned char **out ) ;
12669 extern ASN1_ITEM const   PKCS8_PRIV_KEY_INFO_it ;   12669 extern ASN1_ITEM const   PKCS8_PRIV_KEY_INFO_it ;
12670 extern EVP_PKEY *EVP_PKCS82PKEY(PKCS8_PRIV_KEY_INFO *p8 ) ;   12670 extern EVP_PKEY *EVP_PKCS82PKEY(PKCS8_PRIV_KEY_INFO *p8 ) ;
12671 extern PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8(EVP_PKEY *pkey ) ;   12671 extern PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8(EVP_PKEY *pkey ) ;
12672 extern PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8_broken(EVP_PKEY *pkey , int broken ) ;   12672 extern PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8_broken(EVP_PKEY *pkey , int broken ) ;
12673 extern PKCS8_PRIV_KEY_INFO *PKCS8_set_broken(PKCS8_PRIV_KEY_INFO *p8 ,   12673 extern PKCS8_PRIV_KEY_INFO *PKCS8_set_broken(PKCS8_PRIV_KEY_INFO *p8 ,
12674                                              int broken ) ;   12674                                              int broken ) ;
12675 extern int PKCS8_pkey_set0(PKCS8_PRIV_KEY_INFO *priv , ASN1_OBJECT *aobj ,   12675 extern int PKCS8_pkey_set0(PKCS8_PRIV_KEY_INFO *priv , ASN1_OBJECT *aobj ,
12676                            int version , int ptype , void *pval ,   12676                            int version , int ptype , void *pval ,
12677                            unsigned char *penc , int penclen ) ;   12677                            unsigned char *penc , int penclen ) ;
12678 extern int PKCS8_pkey_get0(ASN1_OBJECT **ppkalg , unsigned char const   **pk ,   12678 extern int PKCS8_pkey_get0(ASN1_OBJECT **ppkalg , unsigned char const   **pk ,
12679                            int *ppklen , X509_ALGOR **pa ,   12679                            int *ppklen , X509_ALGOR **pa ,
12680                            PKCS8_PRIV_KEY_INFO *p8 ) ;   12680                            PKCS8_PRIV_KEY_INFO *p8 ) ;
12681 extern int X509_PUBKEY_set0_param(X509_PUBKEY *pub , ASN1_OBJECT *aobj ,   12681 extern int X509_PUBKEY_set0_param(X509_PUBKEY *pub , ASN1_OBJECT *aobj ,
12682                                   int ptype , void *pval , unsigned char *penc ,   12682                                   int ptype , void *pval , unsigned char *penc ,
12683                                   int penclen ) ;   12683                                   int penclen ) ;
12684 extern int X509_PUBKEY_get0_param(ASN1_OBJECT **ppkalg ,   12684 extern int X509_PUBKEY_get0_param(ASN1_OBJECT **ppkalg ,
12685                                   unsigned char const   **pk , int *ppklen ,   12685                                   unsigned char const   **pk , int *ppklen ,
12686                                   X509_ALGOR **pa , X509_PUBKEY *pub ) ;   12686                                   X509_ALGOR **pa , X509_PUBKEY *pub ) ;
12687 extern int X509_check_trust(X509 *x , int id , int flags ) ;   12687 extern int X509_check_trust(X509 *x , int id , int flags ) ;
12688 extern int X509_TRUST_get_count(void) ;   12688 extern int X509_TRUST_get_count(void) ;
12689 extern X509_TRUST *X509_TRUST_get0(int idx ) ;   12689 extern X509_TRUST *X509_TRUST_get0(int idx ) ;
12690 extern int X509_TRUST_get_by_id(int id ) ;   12690 extern int X509_TRUST_get_by_id(int id ) ;
12691 extern int X509_TRUST_add(int id , int flags , int (*ck)(X509_TRUST * , X509 * ,   12691 extern int X509_TRUST_add(int id , int flags , int (*ck)(X509_TRUST * , X509 * ,
12692                                                          int  ) , char *name ,   12692                                                          int  ) , char *name ,
12693                           int arg1 , void *arg2 ) ;   12693                           int arg1 , void *arg2 ) ;
12694 extern void X509_TRUST_cleanup(void) ;   12694 extern void X509_TRUST_cleanup(void) ;
12695 extern int X509_TRUST_get_flags(X509_TRUST *xp ) ;   12695 extern int X509_TRUST_get_flags(X509_TRUST *xp ) ;
12696 extern char *X509_TRUST_get0_name(X509_TRUST *xp ) ;   12696 extern char *X509_TRUST_get0_name(X509_TRUST *xp ) ;
12697 extern int X509_TRUST_get_trust(X509_TRUST *xp ) ;   12697 extern int X509_TRUST_get_trust(X509_TRUST *xp ) ;
12698 extern void ERR_load_X509_strings(void) ;   12698 extern void ERR_load_X509_strings(void) ;
12699 extern int PEM_get_EVP_CIPHER_INFO(char *header , EVP_CIPHER_INFO *cipher ) ;   12699 extern int PEM_get_EVP_CIPHER_INFO(char *header , EVP_CIPHER_INFO *cipher ) ;
12700 extern int PEM_do_header(EVP_CIPHER_INFO *cipher , unsigned char *data ,   12700 extern int PEM_do_header(EVP_CIPHER_INFO *cipher , unsigned char *data ,
12701                          long *len , pem_password_cb *callback , void *u ) ;   12701                          long *len , pem_password_cb *callback , void *u ) ;
12702 extern int PEM_read_bio(BIO *bp , char **name , char **header ,   12702 extern int PEM_read_bio(BIO *bp , char **name , char **header ,
12703                         unsigned char **data , long *len ) ;   12703                         unsigned char **data , long *len ) ;
12704 extern int PEM_write_bio(BIO *bp , char const   *name , char *hdr ,   12704 extern int PEM_write_bio(BIO *bp , char const   *name , char *hdr ,
12705                          unsigned char *data , long len ) ;   12705                          unsigned char *data , long len ) ;
12706 extern int PEM_bytes_read_bio(unsigned char **pdata , long *plen , char **pnm ,   12706 extern int PEM_bytes_read_bio(unsigned char **pdata , long *plen , char **pnm ,
12707                               char const   *name , BIO *bp ,   12707                               char const   *name , BIO *bp ,
12708                               pem_password_cb *cb , void *u ) ;   12708                               pem_password_cb *cb , void *u ) ;
12709 extern void *PEM_ASN1_read_bio(d2i_of_void *d2i , char const   *name , BIO *bp ,   12709 extern void *PEM_ASN1_read_bio(d2i_of_void *d2i , char const   *name , BIO *bp ,
12710                                void **x , pem_password_cb *cb , void *u ) ;   12710                                void **x , pem_password_cb *cb , void *u ) ;
12711 extern int PEM_ASN1_write_bio(i2d_of_void *i2d , char const   *name , BIO *bp ,   12711 extern int PEM_ASN1_write_bio(i2d_of_void *i2d , char const   *name , BIO *bp ,
12712                               void *x , EVP_CIPHER const   *enc ,   12712                               void *x , EVP_CIPHER const   *enc ,
12713                               unsigned char *kstr , int klen ,   12713                               unsigned char *kstr , int klen ,
12714                               pem_password_cb *cb , void *u ) ;   12714                               pem_password_cb *cb , void *u ) ;
12715 extern struct stack_st_X509_INFO *PEM_X509_INFO_read_bio(BIO *bp ,   12715 extern struct stack_st_X509_INFO *PEM_X509_INFO_read_bio(BIO *bp ,
12716                                                          struct stack_st_X509_INFO *sk ,   12716                                                          struct stack_st_X509_INFO *sk ,
12717                                                          pem_password_cb *cb ,   12717                                                          pem_password_cb *cb ,
12718                                                          void *u ) ;   12718                                                          void *u ) ;
12719 extern int PEM_X509_INFO_write_bio(BIO *bp , X509_INFO *xi , EVP_CIPHER *enc ,   12719 extern int PEM_X509_INFO_write_bio(BIO *bp , X509_INFO *xi , EVP_CIPHER *enc ,
12720                                    unsigned char *kstr , int klen ,   12720                                    unsigned char *kstr , int klen ,
12721                                    pem_password_cb *cd , void *u ) ;   12721                                    pem_password_cb *cd , void *u ) ;
12722 extern int PEM_read(FILE *fp , char **name , char **header ,   12722 extern int PEM_read(FILE *fp , char **name , char **header ,
12723                     unsigned char **data , long *len ) ;   12723                     unsigned char **data , long *len ) ;
12724 extern int PEM_write(FILE *fp , char *name , char *hdr , unsigned char *data ,   12724 extern int PEM_write(FILE *fp , char *name , char *hdr , unsigned char *data ,
12725                      long len ) ;   12725                      long len ) ;
12726 extern void *PEM_ASN1_read(d2i_of_void *d2i , char const   *name , FILE *fp ,   12726 extern void *PEM_ASN1_read(d2i_of_void *d2i , char const   *name , FILE *fp ,
12727                            void **x , pem_password_cb *cb , void *u ) ;   12727                            void **x , pem_password_cb *cb , void *u ) ;
12728 extern int PEM_ASN1_write(i2d_of_void *i2d , char const   *name , FILE *fp ,   12728 extern int PEM_ASN1_write(i2d_of_void *i2d , char const   *name , FILE *fp ,
12729                           void *x , EVP_CIPHER const   *enc ,   12729                           void *x , EVP_CIPHER const   *enc ,
12730                           unsigned char *kstr , int klen ,   12730                           unsigned char *kstr , int klen ,
12731                           pem_password_cb *callback , void *u ) ;   12731                           pem_password_cb *callback , void *u ) ;
12732 extern struct stack_st_X509_INFO *PEM_X509_INFO_read(FILE *fp ,   12732 extern struct stack_st_X509_INFO *PEM_X509_INFO_read(FILE *fp ,
12733                                                      struct stack_st_X509_INFO *sk ,   12733                                                      struct stack_st_X509_INFO *sk ,
12734                                                      pem_password_cb *cb ,   12734                                                      pem_password_cb *cb ,
12735                                                      void *u ) ;   12735                                                      void *u ) ;
12736 extern int PEM_SealInit(PEM_ENCODE_SEAL_CTX *ctx , EVP_CIPHER *type ,   12736 extern int PEM_SealInit(PEM_ENCODE_SEAL_CTX *ctx , EVP_CIPHER *type ,
12737                         EVP_MD *md_type , unsigned char **ek , int *ekl ,   12737                         EVP_MD *md_type , unsigned char **ek , int *ekl ,
12738                         unsigned char *iv , EVP_PKEY **pubk , int npubk ) ;   12738                         unsigned char *iv , EVP_PKEY **pubk , int npubk ) ;
12739 extern void PEM_SealUpdate(PEM_ENCODE_SEAL_CTX *ctx , unsigned char *out ,   12739 extern void PEM_SealUpdate(PEM_ENCODE_SEAL_CTX *ctx , unsigned char *out ,
12740                            int *outl , unsigned char *in , int inl ) ;   12740                            int *outl , unsigned char *in , int inl ) ;
12741 extern int PEM_SealFinal(PEM_ENCODE_SEAL_CTX *ctx , unsigned char *sig ,   12741 extern int PEM_SealFinal(PEM_ENCODE_SEAL_CTX *ctx , unsigned char *sig ,
12742                          int *sigl , unsigned char *out , int *outl ,   12742                          int *sigl , unsigned char *out , int *outl ,
12743                          EVP_PKEY *priv ) ;   12743                          EVP_PKEY *priv ) ;
12744 extern void PEM_SignInit(EVP_MD_CTX *ctx , EVP_MD *type ) ;   12744 extern void PEM_SignInit(EVP_MD_CTX *ctx , EVP_MD *type ) ;
12745 extern void PEM_SignUpdate(EVP_MD_CTX *ctx , unsigned char *d ,   12745 extern void PEM_SignUpdate(EVP_MD_CTX *ctx , unsigned char *d ,
12746                            unsigned int cnt ) ;   12746                            unsigned int cnt ) ;
12747 extern int PEM_SignFinal(EVP_MD_CTX *ctx , unsigned char *sigret ,   12747 extern int PEM_SignFinal(EVP_MD_CTX *ctx , unsigned char *sigret ,
12748                          unsigned int *siglen , EVP_PKEY *pkey ) ;   12748                          unsigned int *siglen , EVP_PKEY *pkey ) ;
12749 extern int PEM_def_callback(char *buf , int num , int w , void *key ) ;   12749 extern int PEM_def_callback(char *buf , int num , int w , void *key ) ;
12750 extern void PEM_proc_type(char *buf , int type ) ;   12750 extern void PEM_proc_type(char *buf , int type ) ;
12751 extern void PEM_dek_info(char *buf , char const   *type , int len , char *str ) ;   12751 extern void PEM_dek_info(char *buf , char const   *type , int len , char *str ) ;
12752 extern X509 *PEM_read_bio_X509(BIO *bp , X509 **x , pem_password_cb *cb ,   12752 extern X509 *PEM_read_bio_X509(BIO *bp , X509 **x , pem_password_cb *cb ,
12753                                void *u ) ;   12753                                void *u ) ;
12754 extern X509 *PEM_read_X509(FILE *fp , X509 **x , pem_password_cb *cb , void *u ) ;   12754 extern X509 *PEM_read_X509(FILE *fp , X509 **x , pem_password_cb *cb , void *u ) ;
12755 extern int PEM_write_bio_X509(BIO *bp , X509 *x ) ;   12755 extern int PEM_write_bio_X509(BIO *bp , X509 *x ) ;
12756 extern int PEM_write_X509(FILE *fp , X509 *x ) ;   12756 extern int PEM_write_X509(FILE *fp , X509 *x ) ;
12757 extern X509 *PEM_read_bio_X509_AUX(BIO *bp , X509 **x , pem_password_cb *cb ,   12757 extern X509 *PEM_read_bio_X509_AUX(BIO *bp , X509 **x , pem_password_cb *cb ,
12758                                    void *u ) ;   12758                                    void *u ) ;
12759 extern X509 *PEM_read_X509_AUX(FILE *fp , X509 **x , pem_password_cb *cb ,   12759 extern X509 *PEM_read_X509_AUX(FILE *fp , X509 **x , pem_password_cb *cb ,
12760                                void *u ) ;   12760                                void *u ) ;
12761 extern int PEM_write_bio_X509_AUX(BIO *bp , X509 *x ) ;   12761 extern int PEM_write_bio_X509_AUX(BIO *bp , X509 *x ) ;
12762 extern int PEM_write_X509_AUX(FILE *fp , X509 *x ) ;   12762 extern int PEM_write_X509_AUX(FILE *fp , X509 *x ) ;
12763 extern X509_CERT_PAIR *PEM_read_bio_X509_CERT_PAIR(BIO *bp ,   12763 extern X509_CERT_PAIR *PEM_read_bio_X509_CERT_PAIR(BIO *bp ,
12764                                                    X509_CERT_PAIR **x ,   12764                                                    X509_CERT_PAIR **x ,
12765                                                    pem_password_cb *cb ,   12765                                                    pem_password_cb *cb ,
12766                                                    void *u ) ;   12766                                                    void *u ) ;
12767 extern X509_CERT_PAIR *PEM_read_X509_CERT_PAIR(FILE *fp , X509_CERT_PAIR **x ,   12767 extern X509_CERT_PAIR *PEM_read_X509_CERT_PAIR(FILE *fp , X509_CERT_PAIR **x ,
12768                                                pem_password_cb *cb , void *u ) ;   12768                                                pem_password_cb *cb , void *u ) ;
12769 extern int PEM_write_bio_X509_CERT_PAIR(BIO *bp , X509_CERT_PAIR *x ) ;   12769 extern int PEM_write_bio_X509_CERT_PAIR(BIO *bp , X509_CERT_PAIR *x ) ;
12770 extern int PEM_write_X509_CERT_PAIR(FILE *fp , X509_CERT_PAIR *x ) ;   12770 extern int PEM_write_X509_CERT_PAIR(FILE *fp , X509_CERT_PAIR *x ) ;
12771 extern X509_REQ *PEM_read_bio_X509_REQ(BIO *bp , X509_REQ **x ,   12771 extern X509_REQ *PEM_read_bio_X509_REQ(BIO *bp , X509_REQ **x ,
12772                                        pem_password_cb *cb , void *u ) ;   12772                                        pem_password_cb *cb , void *u ) ;
12773 extern X509_REQ *PEM_read_X509_REQ(FILE *fp , X509_REQ **x ,   12773 extern X509_REQ *PEM_read_X509_REQ(FILE *fp , X509_REQ **x ,
12774                                    pem_password_cb *cb , void *u ) ;   12774                                    pem_password_cb *cb , void *u ) ;
12775 extern int PEM_write_bio_X509_REQ(BIO *bp , X509_REQ *x ) ;   12775 extern int PEM_write_bio_X509_REQ(BIO *bp , X509_REQ *x ) ;
12776 extern int PEM_write_X509_REQ(FILE *fp , X509_REQ *x ) ;   12776 extern int PEM_write_X509_REQ(FILE *fp , X509_REQ *x ) ;
12777 extern int PEM_write_bio_X509_REQ_NEW(BIO *bp , X509_REQ *x ) ;   12777 extern int PEM_write_bio_X509_REQ_NEW(BIO *bp , X509_REQ *x ) ;
12778 extern int PEM_write_X509_REQ_NEW(FILE *fp , X509_REQ *x ) ;   12778 extern int PEM_write_X509_REQ_NEW(FILE *fp , X509_REQ *x ) ;
12779 extern X509_CRL *PEM_read_bio_X509_CRL(BIO *bp , X509_CRL **x ,   12779 extern X509_CRL *PEM_read_bio_X509_CRL(BIO *bp , X509_CRL **x ,
12780                                        pem_password_cb *cb , void *u ) ;   12780                                        pem_password_cb *cb , void *u ) ;
12781 extern X509_CRL *PEM_read_X509_CRL(FILE *fp , X509_CRL **x ,   12781 extern X509_CRL *PEM_read_X509_CRL(FILE *fp , X509_CRL **x ,
12782                                    pem_password_cb *cb , void *u ) ;   12782                                    pem_password_cb *cb , void *u ) ;
12783 extern int PEM_write_bio_X509_CRL(BIO *bp , X509_CRL *x ) ;   12783 extern int PEM_write_bio_X509_CRL(BIO *bp , X509_CRL *x ) ;
12784 extern int PEM_write_X509_CRL(FILE *fp , X509_CRL *x ) ;   12784 extern int PEM_write_X509_CRL(FILE *fp , X509_CRL *x ) ;
12785 extern PKCS7 *PEM_read_bio_PKCS7(BIO *bp , PKCS7 **x , pem_password_cb *cb ,   12785 extern PKCS7 *PEM_read_bio_PKCS7(BIO *bp , PKCS7 **x , pem_password_cb *cb ,
12786                                  void *u ) ;   12786                                  void *u ) ;
12787 extern PKCS7 *PEM_read_PKCS7(FILE *fp , PKCS7 **x , pem_password_cb *cb ,   12787 extern PKCS7 *PEM_read_PKCS7(FILE *fp , PKCS7 **x , pem_password_cb *cb ,
12788                              void *u ) ;   12788                              void *u ) ;
12789 extern int PEM_write_bio_PKCS7(BIO *bp , PKCS7 *x ) ;   12789 extern int PEM_write_bio_PKCS7(BIO *bp , PKCS7 *x ) ;
12790 extern int PEM_write_PKCS7(FILE *fp , PKCS7 *x ) ;   12790 extern int PEM_write_PKCS7(FILE *fp , PKCS7 *x ) ;
12791 extern NETSCAPE_CERT_SEQUENCE *PEM_read_bio_NETSCAPE_CERT_SEQUENCE(BIO *bp ,   12791 extern NETSCAPE_CERT_SEQUENCE *PEM_read_bio_NETSCAPE_CERT_SEQUENCE(BIO *bp ,
12792                                                                    NETSCAPE_CERT_SEQUENCE **x ,   12792                                                                    NETSCAPE_CERT_SEQUENCE **x ,
12793                                                                    pem_password_cb *cb ,   12793                                                                    pem_password_cb *cb ,
12794                                                                    void *u ) ;   12794                                                                    void *u ) ;
12795 extern NETSCAPE_CERT_SEQUENCE *PEM_read_NETSCAPE_CERT_SEQUENCE(FILE *fp ,   12795 extern NETSCAPE_CERT_SEQUENCE *PEM_read_NETSCAPE_CERT_SEQUENCE(FILE *fp ,
12796                                                                NETSCAPE_CERT_SEQUENCE **x ,   12796                                                                NETSCAPE_CERT_SEQUENCE **x ,
12797                                                                pem_password_cb *cb ,   12797                                                                pem_password_cb *cb ,
12798                                                                void *u ) ;   12798                                                                void *u ) ;
12799 extern int PEM_write_bio_NETSCAPE_CERT_SEQUENCE(BIO *bp ,   12799 extern int PEM_write_bio_NETSCAPE_CERT_SEQUENCE(BIO *bp ,
12800                                                 NETSCAPE_CERT_SEQUENCE *x ) ;   12800                                                 NETSCAPE_CERT_SEQUENCE *x ) ;
12801 extern int PEM_write_NETSCAPE_CERT_SEQUENCE(FILE *fp ,   12801 extern int PEM_write_NETSCAPE_CERT_SEQUENCE(FILE *fp ,
12802                                             NETSCAPE_CERT_SEQUENCE *x ) ;   12802                                             NETSCAPE_CERT_SEQUENCE *x ) ;
12803 extern X509_SIG *PEM_read_bio_PKCS8(BIO *bp , X509_SIG **x ,   12803 extern X509_SIG *PEM_read_bio_PKCS8(BIO *bp , X509_SIG **x ,
12804                                     pem_password_cb *cb , void *u ) ;   12804                                     pem_password_cb *cb , void *u ) ;
12805 extern X509_SIG *PEM_read_PKCS8(FILE *fp , X509_SIG **x , pem_password_cb *cb ,   12805 extern X509_SIG *PEM_read_PKCS8(FILE *fp , X509_SIG **x , pem_password_cb *cb ,
12806                                 void *u ) ;   12806                                 void *u ) ;
12807 extern int PEM_write_bio_PKCS8(BIO *bp , X509_SIG *x ) ;   12807 extern int PEM_write_bio_PKCS8(BIO *bp , X509_SIG *x ) ;
12808 extern int PEM_write_PKCS8(FILE *fp , X509_SIG *x ) ;   12808 extern int PEM_write_PKCS8(FILE *fp , X509_SIG *x ) ;
12809 extern PKCS8_PRIV_KEY_INFO *PEM_read_bio_PKCS8_PRIV_KEY_INFO(BIO *bp ,   12809 extern PKCS8_PRIV_KEY_INFO *PEM_read_bio_PKCS8_PRIV_KEY_INFO(BIO *bp ,
12810                                                              PKCS8_PRIV_KEY_INFO **x ,   12810                                                              PKCS8_PRIV_KEY_INFO **x ,
12811                                                              pem_password_cb *cb ,   12811                                                              pem_password_cb *cb ,
12812                                                              void *u ) ;   12812                                                              void *u ) ;
12813 extern PKCS8_PRIV_KEY_INFO *PEM_read_PKCS8_PRIV_KEY_INFO(FILE *fp ,   12813 extern PKCS8_PRIV_KEY_INFO *PEM_read_PKCS8_PRIV_KEY_INFO(FILE *fp ,
12814                                                          PKCS8_PRIV_KEY_INFO **x ,   12814                                                          PKCS8_PRIV_KEY_INFO **x ,
12815                                                          pem_password_cb *cb ,   12815                                                          pem_password_cb *cb ,
12816                                                          void *u ) ;   12816                                                          void *u ) ;
12817 extern int PEM_write_bio_PKCS8_PRIV_KEY_INFO(BIO *bp , PKCS8_PRIV_KEY_INFO *x ) ;   12817 extern int PEM_write_bio_PKCS8_PRIV_KEY_INFO(BIO *bp , PKCS8_PRIV_KEY_INFO *x ) ;
12818 extern int PEM_write_PKCS8_PRIV_KEY_INFO(FILE *fp , PKCS8_PRIV_KEY_INFO *x ) ;   12818 extern int PEM_write_PKCS8_PRIV_KEY_INFO(FILE *fp , PKCS8_PRIV_KEY_INFO *x ) ;
12819 extern RSA *PEM_read_bio_RSAPrivateKey(BIO *bp , RSA **x , pem_password_cb *cb ,   12819 extern RSA *PEM_read_bio_RSAPrivateKey(BIO *bp , RSA **x , pem_password_cb *cb ,
12820                                        void *u ) ;   12820                                        void *u ) ;
12821 extern RSA *PEM_read_RSAPrivateKey(FILE *fp , RSA **x , pem_password_cb *cb ,   12821 extern RSA *PEM_read_RSAPrivateKey(FILE *fp , RSA **x , pem_password_cb *cb ,
12822                                    void *u ) ;   12822                                    void *u ) ;
12823 extern int PEM_write_bio_RSAPrivateKey(BIO *bp , RSA *x ,   12823 extern int PEM_write_bio_RSAPrivateKey(BIO *bp , RSA *x ,
12824                                        EVP_CIPHER const   *enc ,   12824                                        EVP_CIPHER const   *enc ,
12825                                        unsigned char *kstr , int klen ,   12825                                        unsigned char *kstr , int klen ,
12826                                        pem_password_cb *cb , void *u ) ;   12826                                        pem_password_cb *cb , void *u ) ;
12827 extern int PEM_write_RSAPrivateKey(FILE *fp , RSA *x , EVP_CIPHER const   *enc ,   12827 extern int PEM_write_RSAPrivateKey(FILE *fp , RSA *x , EVP_CIPHER const   *enc ,
12828                                    unsigned char *kstr , int klen ,   12828                                    unsigned char *kstr , int klen ,
12829                                    pem_password_cb *cb , void *u ) ;   12829                                    pem_password_cb *cb , void *u ) ;
12830 extern RSA *PEM_read_bio_RSAPublicKey(BIO *bp , RSA **x , pem_password_cb *cb ,   12830 extern RSA *PEM_read_bio_RSAPublicKey(BIO *bp , RSA **x , pem_password_cb *cb ,
12831                                       void *u ) ;   12831                                       void *u ) ;
12832 extern RSA *PEM_read_RSAPublicKey(FILE *fp , RSA **x , pem_password_cb *cb ,   12832 extern RSA *PEM_read_RSAPublicKey(FILE *fp , RSA **x , pem_password_cb *cb ,
12833                                   void *u ) ;   12833                                   void *u ) ;
12834 extern int PEM_write_bio_RSAPublicKey(BIO *bp , RSA const   *x ) ;   12834 extern int PEM_write_bio_RSAPublicKey(BIO *bp , RSA const   *x ) ;
12835 extern int PEM_write_RSAPublicKey(FILE *fp , RSA const   *x ) ;   12835 extern int PEM_write_RSAPublicKey(FILE *fp , RSA const   *x ) ;
12836 extern RSA *PEM_read_bio_RSA_PUBKEY(BIO *bp , RSA **x , pem_password_cb *cb ,   12836 extern RSA *PEM_read_bio_RSA_PUBKEY(BIO *bp , RSA **x , pem_password_cb *cb ,
12837                                     void *u ) ;   12837                                     void *u ) ;
12838 extern RSA *PEM_read_RSA_PUBKEY(FILE *fp , RSA **x , pem_password_cb *cb ,   12838 extern RSA *PEM_read_RSA_PUBKEY(FILE *fp , RSA **x , pem_password_cb *cb ,
12839                                 void *u ) ;   12839                                 void *u ) ;
12840 extern int PEM_write_bio_RSA_PUBKEY(BIO *bp , RSA *x ) ;   12840 extern int PEM_write_bio_RSA_PUBKEY(BIO *bp , RSA *x ) ;
12841 extern int PEM_write_RSA_PUBKEY(FILE *fp , RSA *x ) ;   12841 extern int PEM_write_RSA_PUBKEY(FILE *fp , RSA *x ) ;
12842 extern DSA *PEM_read_bio_DSAPrivateKey(BIO *bp , DSA **x , pem_password_cb *cb ,   12842 extern DSA *PEM_read_bio_DSAPrivateKey(BIO *bp , DSA **x , pem_password_cb *cb ,
12843                                        void *u ) ;   12843                                        void *u ) ;
12844 extern DSA *PEM_read_DSAPrivateKey(FILE *fp , DSA **x , pem_password_cb *cb ,   12844 extern DSA *PEM_read_DSAPrivateKey(FILE *fp , DSA **x , pem_password_cb *cb ,
12845                                    void *u ) ;   12845                                    void *u ) ;
12846 extern int PEM_write_bio_DSAPrivateKey(BIO *bp , DSA *x ,   12846 extern int PEM_write_bio_DSAPrivateKey(BIO *bp , DSA *x ,
12847                                        EVP_CIPHER const   *enc ,   12847                                        EVP_CIPHER const   *enc ,
12848                                        unsigned char *kstr , int klen ,   12848                                        unsigned char *kstr , int klen ,
12849                                        pem_password_cb *cb , void *u ) ;   12849                                        pem_password_cb *cb , void *u ) ;
12850 extern int PEM_write_DSAPrivateKey(FILE *fp , DSA *x , EVP_CIPHER const   *enc ,   12850 extern int PEM_write_DSAPrivateKey(FILE *fp , DSA *x , EVP_CIPHER const   *enc ,
12851                                    unsigned char *kstr , int klen ,   12851                                    unsigned char *kstr , int klen ,
12852                                    pem_password_cb *cb , void *u ) ;   12852                                    pem_password_cb *cb , void *u ) ;
12853 extern DSA *PEM_read_bio_DSA_PUBKEY(BIO *bp , DSA **x , pem_password_cb *cb ,   12853 extern DSA *PEM_read_bio_DSA_PUBKEY(BIO *bp , DSA **x , pem_password_cb *cb ,
12854                                     void *u ) ;   12854                                     void *u ) ;
12855 extern DSA *PEM_read_DSA_PUBKEY(FILE *fp , DSA **x , pem_password_cb *cb ,   12855 extern DSA *PEM_read_DSA_PUBKEY(FILE *fp , DSA **x , pem_password_cb *cb ,
12856                                 void *u ) ;   12856                                 void *u ) ;
12857 extern int PEM_write_bio_DSA_PUBKEY(BIO *bp , DSA *x ) ;   12857 extern int PEM_write_bio_DSA_PUBKEY(BIO *bp , DSA *x ) ;
12858 extern int PEM_write_DSA_PUBKEY(FILE *fp , DSA *x ) ;   12858 extern int PEM_write_DSA_PUBKEY(FILE *fp , DSA *x ) ;
12859 extern DSA *PEM_read_bio_DSAparams(BIO *bp , DSA **x , pem_password_cb *cb ,   12859 extern DSA *PEM_read_bio_DSAparams(BIO *bp , DSA **x , pem_password_cb *cb ,
12860                                    void *u ) ;   12860                                    void *u ) ;
12861 extern DSA *PEM_read_DSAparams(FILE *fp , DSA **x , pem_password_cb *cb ,   12861 extern DSA *PEM_read_DSAparams(FILE *fp , DSA **x , pem_password_cb *cb ,
12862                                void *u ) ;   12862                                void *u ) ;
12863 extern int PEM_write_bio_DSAparams(BIO *bp , DSA const   *x ) ;   12863 extern int PEM_write_bio_DSAparams(BIO *bp , DSA const   *x ) ;
12864 extern int PEM_write_DSAparams(FILE *fp , DSA const   *x ) ;   12864 extern int PEM_write_DSAparams(FILE *fp , DSA const   *x ) ;
12865 extern DH *PEM_read_bio_DHparams(BIO *bp , DH **x , pem_password_cb *cb ,   12865 extern DH *PEM_read_bio_DHparams(BIO *bp , DH **x , pem_password_cb *cb ,
12866                                  void *u ) ;   12866                                  void *u ) ;
12867 extern DH *PEM_read_DHparams(FILE *fp , DH **x , pem_password_cb *cb , void *u ) ;   12867 extern DH *PEM_read_DHparams(FILE *fp , DH **x , pem_password_cb *cb , void *u ) ;
12868 extern int PEM_write_bio_DHparams(BIO *bp , DH const   *x ) ;   12868 extern int PEM_write_bio_DHparams(BIO *bp , DH const   *x ) ;
12869 extern int PEM_write_DHparams(FILE *fp , DH const   *x ) ;   12869 extern int PEM_write_DHparams(FILE *fp , DH const   *x ) ;
12870 extern EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp , EVP_PKEY **x ,   12870 extern EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp , EVP_PKEY **x ,
12871                                          pem_password_cb *cb , void *u ) ;   12871                                          pem_password_cb *cb , void *u ) ;
12872 extern EVP_PKEY *PEM_read_PrivateKey(FILE *fp , EVP_PKEY **x ,   12872 extern EVP_PKEY *PEM_read_PrivateKey(FILE *fp , EVP_PKEY **x ,
12873                                      pem_password_cb *cb , void *u ) ;   12873                                      pem_password_cb *cb , void *u ) ;
12874 extern int PEM_write_bio_PrivateKey(BIO *bp , EVP_PKEY *x ,   12874 extern int PEM_write_bio_PrivateKey(BIO *bp , EVP_PKEY *x ,
12875                                     EVP_CIPHER const   *enc ,   12875                                     EVP_CIPHER const   *enc ,
12876                                     unsigned char *kstr , int klen ,   12876                                     unsigned char *kstr , int klen ,
12877                                     pem_password_cb *cb , void *u ) ;   12877                                     pem_password_cb *cb , void *u ) ;
12878 extern int PEM_write_PrivateKey(FILE *fp , EVP_PKEY *x ,   12878 extern int PEM_write_PrivateKey(FILE *fp , EVP_PKEY *x ,
12879                                 EVP_CIPHER const   *enc , unsigned char *kstr ,   12879                                 EVP_CIPHER const   *enc , unsigned char *kstr ,
12880                                 int klen , pem_password_cb *cb , void *u ) ;   12880                                 int klen , pem_password_cb *cb , void *u ) ;
12881 extern EVP_PKEY *PEM_read_bio_PUBKEY(BIO *bp , EVP_PKEY **x ,   12881 extern EVP_PKEY *PEM_read_bio_PUBKEY(BIO *bp , EVP_PKEY **x ,
12882                                      pem_password_cb *cb , void *u ) ;   12882                                      pem_password_cb *cb , void *u ) ;
12883 extern EVP_PKEY *PEM_read_PUBKEY(FILE *fp , EVP_PKEY **x , pem_password_cb *cb ,   12883 extern EVP_PKEY *PEM_read_PUBKEY(FILE *fp , EVP_PKEY **x , pem_password_cb *cb ,
12884                                  void *u ) ;   12884                                  void *u ) ;
12885 extern int PEM_write_bio_PUBKEY(BIO *bp , EVP_PKEY *x ) ;   12885 extern int PEM_write_bio_PUBKEY(BIO *bp , EVP_PKEY *x ) ;
12886 extern int PEM_write_PUBKEY(FILE *fp , EVP_PKEY *x ) ;   12886 extern int PEM_write_PUBKEY(FILE *fp , EVP_PKEY *x ) ;
12887 extern int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp , EVP_PKEY *x , int nid ,   12887 extern int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp , EVP_PKEY *x , int nid ,
12888                                              char *kstr , int klen ,   12888                                              char *kstr , int klen ,
12889                                              pem_password_cb *cb , void *u ) ;   12889                                              pem_password_cb *cb , void *u ) ;
12890 extern int PEM_write_bio_PKCS8PrivateKey(BIO * , EVP_PKEY * ,   12890 extern int PEM_write_bio_PKCS8PrivateKey(BIO * , EVP_PKEY * ,
12891                                          EVP_CIPHER const   * , char * , int  ,   12891                                          EVP_CIPHER const   * , char * , int  ,
12892                                          pem_password_cb * , void * ) ;   12892                                          pem_password_cb * , void * ) ;
12893 extern int i2d_PKCS8PrivateKey_bio(BIO *bp , EVP_PKEY *x ,   12893 extern int i2d_PKCS8PrivateKey_bio(BIO *bp , EVP_PKEY *x ,
12894                                    EVP_CIPHER const   *enc , char *kstr ,   12894                                    EVP_CIPHER const   *enc , char *kstr ,
12895                                    int klen , pem_password_cb *cb , void *u ) ;   12895                                    int klen , pem_password_cb *cb , void *u ) ;
12896 extern int i2d_PKCS8PrivateKey_nid_bio(BIO *bp , EVP_PKEY *x , int nid ,   12896 extern int i2d_PKCS8PrivateKey_nid_bio(BIO *bp , EVP_PKEY *x , int nid ,
12897                                        char *kstr , int klen ,   12897                                        char *kstr , int klen ,
12898                                        pem_password_cb *cb , void *u ) ;   12898                                        pem_password_cb *cb , void *u ) ;
12899 extern EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp , EVP_PKEY **x ,   12899 extern EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp , EVP_PKEY **x ,
12900                                          pem_password_cb *cb , void *u ) ;   12900                                          pem_password_cb *cb , void *u ) ;
12901 extern int i2d_PKCS8PrivateKey_fp(FILE *fp , EVP_PKEY *x ,   12901 extern int i2d_PKCS8PrivateKey_fp(FILE *fp , EVP_PKEY *x ,
12902                                   EVP_CIPHER const   *enc , char *kstr ,   12902                                   EVP_CIPHER const   *enc , char *kstr ,
12903                                   int klen , pem_password_cb *cb , void *u ) ;   12903                                   int klen , pem_password_cb *cb , void *u ) ;
12904 extern int i2d_PKCS8PrivateKey_nid_fp(FILE *fp , EVP_PKEY *x , int nid ,   12904 extern int i2d_PKCS8PrivateKey_nid_fp(FILE *fp , EVP_PKEY *x , int nid ,
12905                                       char *kstr , int klen ,   12905                                       char *kstr , int klen ,
12906                                       pem_password_cb *cb , void *u ) ;   12906                                       pem_password_cb *cb , void *u ) ;
12907 extern int PEM_write_PKCS8PrivateKey_nid(FILE *fp , EVP_PKEY *x , int nid ,   12907 extern int PEM_write_PKCS8PrivateKey_nid(FILE *fp , EVP_PKEY *x , int nid ,
12908                                          char *kstr , int klen ,   12908                                          char *kstr , int klen ,
12909                                          pem_password_cb *cb , void *u ) ;   12909                                          pem_password_cb *cb , void *u ) ;
12910 extern EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp , EVP_PKEY **x ,   12910 extern EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp , EVP_PKEY **x ,
12911                                         pem_password_cb *cb , void *u ) ;   12911                                         pem_password_cb *cb , void *u ) ;
12912 extern int PEM_write_PKCS8PrivateKey(FILE *fp , EVP_PKEY *x ,   12912 extern int PEM_write_PKCS8PrivateKey(FILE *fp , EVP_PKEY *x ,
12913                                      EVP_CIPHER const   *enc , char *kstr ,   12913                                      EVP_CIPHER const   *enc , char *kstr ,
12914                                      int klen , pem_password_cb *cd , void *u ) ;   12914                                      int klen , pem_password_cb *cd , void *u ) ;
12915 extern EVP_PKEY *PEM_read_bio_Parameters(BIO *bp , EVP_PKEY **x ) ;   12915 extern EVP_PKEY *PEM_read_bio_Parameters(BIO *bp , EVP_PKEY **x ) ;
12916 extern int PEM_write_bio_Parameters(BIO *bp , EVP_PKEY *x ) ;   12916 extern int PEM_write_bio_Parameters(BIO *bp , EVP_PKEY *x ) ;
12917 extern EVP_PKEY *b2i_PrivateKey(unsigned char const   **in , long length ) ;   12917 extern EVP_PKEY *b2i_PrivateKey(unsigned char const   **in , long length ) ;
12918 extern EVP_PKEY *b2i_PublicKey(unsigned char const   **in , long length ) ;   12918 extern EVP_PKEY *b2i_PublicKey(unsigned char const   **in , long length ) ;
12919 extern EVP_PKEY *b2i_PrivateKey_bio(BIO *in ) ;   12919 extern EVP_PKEY *b2i_PrivateKey_bio(BIO *in ) ;
12920 extern EVP_PKEY *b2i_PublicKey_bio(BIO *in ) ;   12920 extern EVP_PKEY *b2i_PublicKey_bio(BIO *in ) ;
12921 extern int i2b_PrivateKey_bio(BIO *out , EVP_PKEY *pk ) ;   12921 extern int i2b_PrivateKey_bio(BIO *out , EVP_PKEY *pk ) ;
12922 extern int i2b_PublicKey_bio(BIO *out , EVP_PKEY *pk ) ;   12922 extern int i2b_PublicKey_bio(BIO *out , EVP_PKEY *pk ) ;
12923 extern EVP_PKEY *b2i_PVK_bio(BIO *in , pem_password_cb *cb , void *u ) ;   12923 extern EVP_PKEY *b2i_PVK_bio(BIO *in , pem_password_cb *cb , void *u ) ;
12924 extern int i2b_PVK_bio(BIO *out , EVP_PKEY *pk , int enclevel ,   12924 extern int i2b_PVK_bio(BIO *out , EVP_PKEY *pk , int enclevel ,
12925                        pem_password_cb *cb , void *u ) ;   12925                        pem_password_cb *cb , void *u ) ;
12926 extern void ERR_load_PEM_strings(void) ;   12926 extern void ERR_load_PEM_strings(void) ;
12927 extern void HMAC_CTX_init(HMAC_CTX *ctx ) ;   12927 extern void HMAC_CTX_init(HMAC_CTX *ctx ) ;
12928 extern void HMAC_CTX_cleanup(HMAC_CTX *ctx ) ;   12928 extern void HMAC_CTX_cleanup(HMAC_CTX *ctx ) ;
12929 extern int HMAC_Init(HMAC_CTX *ctx , void const   *key , int len ,   12929 extern int HMAC_Init(HMAC_CTX *ctx , void const   *key , int len ,
12930                      EVP_MD const   *md ) ;   12930                      EVP_MD const   *md ) ;
12931 extern int HMAC_Init_ex(HMAC_CTX *ctx , void const   *key , int len ,   12931 extern int HMAC_Init_ex(HMAC_CTX *ctx , void const   *key , int len ,
12932                         EVP_MD const   *md , ENGINE *impl ) ;   12932                         EVP_MD const   *md , ENGINE *impl ) ;
12933 extern int HMAC_Update(HMAC_CTX *ctx , unsigned char const   *data , size_t len ) ;   12933 extern int HMAC_Update(HMAC_CTX *ctx , unsigned char const   *data , size_t len ) ;
12934 extern int HMAC_Final(HMAC_CTX *ctx , unsigned char *md , unsigned int *len ) ;   12934 extern int HMAC_Final(HMAC_CTX *ctx , unsigned char *md , unsigned int *len ) ;
12935 extern unsigned char *HMAC(EVP_MD const   *evp_md , void const   *key ,   12935 extern unsigned char *HMAC(EVP_MD const   *evp_md , void const   *key ,
12936                            int key_len , unsigned char const   *d , size_t n ,   12936                            int key_len , unsigned char const   *d , size_t n ,
12937                            unsigned char *md , unsigned int *md_len ) ;   12937                            unsigned char *md , unsigned int *md_len ) ;
12938 extern int HMAC_CTX_copy(HMAC_CTX *dctx , HMAC_CTX *sctx ) ;   12938 extern int HMAC_CTX_copy(HMAC_CTX *dctx , HMAC_CTX *sctx ) ;
12939 extern void HMAC_CTX_set_flags(HMAC_CTX *ctx , unsigned long flags ) ;   12939 extern void HMAC_CTX_set_flags(HMAC_CTX *ctx , unsigned long flags ) ;
12940 extern void SSL_CTX_set_msg_callback(SSL_CTX *ctx ,   12940 extern void SSL_CTX_set_msg_callback(SSL_CTX *ctx ,
12941                                      void (*cb)(int write_p , int version ,   12941                                      void (*cb)(int write_p , int version ,
12942                                                 int content_type ,   12942                                                 int content_type ,
12943                                                 void const   *buf , size_t len ,   12943                                                 void const   *buf , size_t len ,
12944                                                 SSL *ssl , void *arg ) ) ;   12944                                                 SSL *ssl , void *arg ) ) ;
12945 extern void SSL_set_msg_callback(SSL *ssl , void (*cb)(int write_p ,   12945 extern void SSL_set_msg_callback(SSL *ssl , void (*cb)(int write_p ,
12946                                                        int version ,   12946                                                        int version ,
12947                                                        int content_type ,   12947                                                        int content_type ,
12948                                                        void const   *buf ,   12948                                                        void const   *buf ,
12949                                                        size_t len , SSL *ssl ,   12949                                                        size_t len , SSL *ssl ,
12950                                                        void *arg ) ) ;   12950                                                        void *arg ) ) ;
12951 extern struct lhash_st_SSL_SESSION *SSL_CTX_sessions(SSL_CTX *ctx ) ;   12951 extern struct lhash_st_SSL_SESSION *SSL_CTX_sessions(SSL_CTX *ctx ) ;
12952 extern void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx ,   12952 extern void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx ,
12953                                     int (*new_session_cb)(struct ssl_st *ssl ,   12953                                     int (*new_session_cb)(struct ssl_st *ssl ,
12954                                                           SSL_SESSION *sess ) ) ;   12954                                                           SSL_SESSION *sess ) ) ;
12955 extern int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx ))(struct ssl_st *ssl ,   12955 extern int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx ))(struct ssl_st *ssl ,
12956                                                      SSL_SESSION *sess ) ;   12956                                                      SSL_SESSION *sess ) ;
12957 extern void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx ,   12957 extern void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx ,
12958                                        void (*remove_session_cb)(struct ssl_ctx_st *ctx ,   12958                                        void (*remove_session_cb)(struct ssl_ctx_st *ctx ,
12959                                                                  SSL_SESSION *sess ) ) ;   12959                                                                  SSL_SESSION *sess ) ) ;
12960 extern void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx ))(struct ssl_ctx_st *ctx ,   12960 extern void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx ))(struct ssl_ctx_st *ctx ,
12961                                                          SSL_SESSION *sess ) ;   12961                                                          SSL_SESSION *sess ) ;
12962 extern void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx ,   12962 extern void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx ,
12963                                     SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl ,   12963                                     SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl ,
12964                                                                    unsigned char *data ,   12964                                                                    unsigned char *data ,
12965                                                                    int len ,   12965                                                                    int len ,
12966                                                                    int *copy ) ) ;   12966                                                                    int *copy ) ) ;
12967 extern SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx ))(struct ssl_st *ssl ,   12967 extern SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx ))(struct ssl_st *ssl ,
12968                                                               unsigned char *Data ,   12968                                                               unsigned char *Data ,
12969                                                               int len ,   12969                                                               int len ,
12970                                                               int *copy ) ;   12970                                                               int *copy ) ;
12971 extern void SSL_CTX_set_info_callback(SSL_CTX *ctx ,   12971 extern void SSL_CTX_set_info_callback(SSL_CTX *ctx ,
12972                                       void (*cb)(SSL const   *ssl , int type ,   12972                                       void (*cb)(SSL const   *ssl , int type ,
12973                                                  int val ) ) ;   12973                                                  int val ) ) ;
12974 extern void (*SSL_CTX_get_info_callback(SSL_CTX *ctx ))(SSL const   *ssl ,   12974 extern void (*SSL_CTX_get_info_callback(SSL_CTX *ctx ))(SSL const   *ssl ,
12975                                                         int type , int val ) ;   12975                                                         int type , int val ) ;
12976 extern void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx ,   12976 extern void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx ,
12977                                        int (*client_cert_cb)(SSL *ssl ,   12977                                        int (*client_cert_cb)(SSL *ssl ,
12978                                                              X509 **x509 ,   12978                                                              X509 **x509 ,
12979                                                              EVP_PKEY **pkey ) ) ;   12979                                                              EVP_PKEY **pkey ) ) ;
12980 extern int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx ))(SSL *ssl , X509 **x509 ,   12980 extern int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx ))(SSL *ssl , X509 **x509 ,
12981                                                         EVP_PKEY **pkey ) ;   12981                                                         EVP_PKEY **pkey ) ;
12982 extern int SSL_CTX_set_client_cert_engine(SSL_CTX *ctx , ENGINE *e ) ;   12982 extern int SSL_CTX_set_client_cert_engine(SSL_CTX *ctx , ENGINE *e ) ;
12983 extern void SSL_CTX_set_cookie_generate_cb(SSL_CTX *ctx ,   12983 extern void SSL_CTX_set_cookie_generate_cb(SSL_CTX *ctx ,
12984                                            int (*app_gen_cookie_cb)(SSL *ssl ,   12984                                            int (*app_gen_cookie_cb)(SSL *ssl ,
12985                                                                     unsigned char *cookie ,   12985                                                                     unsigned char *cookie ,
12986                                                                     unsigned int *cookie_len ) ) ;   12986                                                                     unsigned int *cookie_len ) ) ;
12987 extern void SSL_CTX_set_cookie_verify_cb(SSL_CTX *ctx ,   12987 extern void SSL_CTX_set_cookie_verify_cb(SSL_CTX *ctx ,
12988                                          int (*app_verify_cookie_cb)(SSL *ssl ,   12988                                          int (*app_verify_cookie_cb)(SSL *ssl ,
12989                                                                      unsigned char *cookie ,   12989                                                                      unsigned char *cookie ,
12990                                                                      unsigned int cookie_len ) ) ;   12990                                                                      unsigned int cookie_len ) ) ;
12991 extern void SSL_CTX_set_psk_client_callback(SSL_CTX *ctx ,   12991 extern void SSL_CTX_set_psk_client_callback(SSL_CTX *ctx ,
12992                                             unsigned int (*psk_client_callback)(SSL *ssl ,   12992                                             unsigned int (*psk_client_callback)(SSL *ssl ,
12993                                                                                 char const   *hint ,   12993                                                                                 char const   *hint ,
12994                                                                                 char *identity ,   12994                                                                                 char *identity ,
12995                                                                                 unsigned int max_identity_len ,   12995                                                                                 unsigned int max_identity_len ,
12996                                                                                 unsigned char *psk ,   12996                                                                                 unsigned char *psk ,
12997                                                                                 unsigned int max_psk_len ) ) ;   12997                                                                                 unsigned int max_psk_len ) ) ;
12998 extern void SSL_set_psk_client_callback(SSL *ssl ,   12998 extern void SSL_set_psk_client_callback(SSL *ssl ,
12999                                         unsigned int (*psk_client_callback)(SSL *ssl ,   12999                                         unsigned int (*psk_client_callback)(SSL *ssl ,
13000                                                                             char const   *hint ,   13000                                                                             char const   *hint ,
13001                                                                             char *identity ,   13001                                                                             char *identity ,
13002                                                                             unsigned int max_identity_len ,   13002                                                                             unsigned int max_identity_len ,
13003                                                                             unsigned char *psk ,   13003                                                                             unsigned char *psk ,
13004                                                                             unsigned int max_psk_len ) ) ;   13004                                                                             unsigned int max_psk_len ) ) ;
13005 extern void SSL_CTX_set_psk_server_callback(SSL_CTX *ctx ,   13005 extern void SSL_CTX_set_psk_server_callback(SSL_CTX *ctx ,
13006                                             unsigned int (*psk_server_callback)(SSL *ssl ,   13006                                             unsigned int (*psk_server_callback)(SSL *ssl ,
13007                                                                                 char const   *identity ,   13007                                                                                 char const   *identity ,
13008                                                                                 unsigned char *psk ,   13008                                                                                 unsigned char *psk ,
13009                                                                                 unsigned int max_psk_len ) ) ;   13009                                                                                 unsigned int max_psk_len ) ) ;
13010 extern void SSL_set_psk_server_callback(SSL *ssl ,   13010 extern void SSL_set_psk_server_callback(SSL *ssl ,
13011                                         unsigned int (*psk_server_callback)(SSL *ssl ,   13011                                         unsigned int (*psk_server_callback)(SSL *ssl ,
13012                                                                             char const   *identity ,   13012                                                                             char const   *identity ,
13013                                                                             unsigned char *psk ,   13013                                                                             unsigned char *psk ,
13014                                                                             unsigned int max_psk_len ) ) ;   13014                                                                             unsigned int max_psk_len ) ) ;
13015 extern int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx ,   13015 extern int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx ,
13016                                          char const   *identity_hint ) ;   13016                                          char const   *identity_hint ) ;
13017 extern int SSL_use_psk_identity_hint(SSL *s , char const   *identity_hint ) ;   13017 extern int SSL_use_psk_identity_hint(SSL *s , char const   *identity_hint ) ;
13018 extern char const   *SSL_get_psk_identity_hint(SSL const   *s ) ;   13018 extern char const   *SSL_get_psk_identity_hint(SSL const   *s ) ;
13019 extern char const   *SSL_get_psk_identity(SSL const   *s ) ;   13019 extern char const   *SSL_get_psk_identity(SSL const   *s ) ;
13020 extern char const   *SSL_get_servername(SSL const   *s , int const   type ) ;   13020 extern char const   *SSL_get_servername(SSL const   *s , int const   type ) ;
13021 extern int SSL_get_servername_type(SSL const   *s ) ;   13021 extern int SSL_get_servername_type(SSL const   *s ) ;
13022 extern pitem *pitem_new(unsigned char *prio64be , void *data ) ;   13022 extern pitem *pitem_new(unsigned char *prio64be , void *data ) ;
13023 extern void pitem_free(pitem *item ) ;   13023 extern void pitem_free(pitem *item ) ;
13024 extern pqueue pqueue_new(void) ;   13024 extern pqueue pqueue_new(void) ;
13025 extern void pqueue_free(pqueue pq ) ;   13025 extern void pqueue_free(pqueue pq ) ;
13026 extern pitem *pqueue_insert(pqueue pq , pitem *item ) ;   13026 extern pitem *pqueue_insert(pqueue pq , pitem *item ) ;
13027 extern pitem *pqueue_peek(pqueue pq ) ;   13027 extern pitem *pqueue_peek(pqueue pq ) ;
13028 extern pitem *pqueue_pop(pqueue pq ) ;   13028 extern pitem *pqueue_pop(pqueue pq ) ;
13029 extern pitem *pqueue_find(pqueue pq , unsigned char *prio64be ) ;   13029 extern pitem *pqueue_find(pqueue pq , unsigned char *prio64be ) ;
13030 extern pitem *pqueue_iterator(pqueue pq ) ;   13030 extern pitem *pqueue_iterator(pqueue pq ) ;
13031 extern pitem *pqueue_next(piterator *iter ) ;   13031 extern pitem *pqueue_next(piterator *iter ) ;
13032 extern void pqueue_print(pqueue pq ) ;   13032 extern void pqueue_print(pqueue pq ) ;
13033 extern int pqueue_size(pqueue pq ) ;   13033 extern int pqueue_size(pqueue pq ) ;
13034 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gettimeofday)(struct timeval * __restrict  __tv ,   13034 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gettimeofday)(struct timeval * __restrict  __tv ,
13035                                                                                          __timezone_ptr_t __tz ) ;   13035                                                                                          __timezone_ptr_t __tz ) ;
13036 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) settimeofday)(struct timeval  const  *__tv ,   13036 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) settimeofday)(struct timeval  const  *__tv ,
13037                                                                                          struct timezone  const  *__tz ) ;   13037                                                                                          struct timezone  const  *__tz ) ;
13038 extern  __attribute__((__nothrow__)) int adjtime(struct timeval  const  *__delta ,   13038 extern  __attribute__((__nothrow__)) int adjtime(struct timeval  const  *__delta ,
13039                                                  struct timeval *__olddelta ) ;   13039                                                  struct timeval *__olddelta ) ;
13040 extern  __attribute__((__nothrow__)) int getitimer(__itimer_which_t __which ,   13040 extern  __attribute__((__nothrow__)) int getitimer(__itimer_which_t __which ,
13041                                                    struct itimerval *__value ) ;   13041                                                    struct itimerval *__value ) ;
13042 extern  __attribute__((__nothrow__)) int setitimer(__itimer_which_t __which ,   13042 extern  __attribute__((__nothrow__)) int setitimer(__itimer_which_t __which ,
13043                                                    struct itimerval  const  * __restrict  __new ,   13043                                                    struct itimerval  const  * __restrict  __new ,
13044                                                    struct itimerval * __restrict  __old ) ;   13044                                                    struct itimerval * __restrict  __old ) ;
13045 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) utimes)(char const   *__file ,   13045 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) utimes)(char const   *__file ,
13046                                                                                    struct timeval  const  *__tvp ) ;   13046                                                                                    struct timeval  const  *__tvp ) ;
13047 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lutimes)(char const   *__file ,   13047 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lutimes)(char const   *__file ,
13048                                                                                     struct timeval  const  *__tvp ) ;   13048                                                                                     struct timeval  const  *__tvp ) ;
13049 extern  __attribute__((__nothrow__)) int futimes(int __fd ,   13049 extern  __attribute__((__nothrow__)) int futimes(int __fd ,
13050                                                  struct timeval  const  *__tvp ) ;   13050                                                  struct timeval  const  *__tvp ) ;
13051 extern size_t SSL_get_finished(SSL const   *s , void *buf , size_t count ) ;   13051 extern size_t SSL_get_finished(SSL const   *s , void *buf , size_t count ) ;
13052 extern size_t SSL_get_peer_finished(SSL const   *s , void *buf , size_t count ) ;   13052 extern size_t SSL_get_peer_finished(SSL const   *s , void *buf , size_t count ) ;
13053 extern SSL_SESSION *PEM_read_bio_SSL_SESSION(BIO *bp , SSL_SESSION **x ,   13053 extern SSL_SESSION *PEM_read_bio_SSL_SESSION(BIO *bp , SSL_SESSION **x ,
13054                                              pem_password_cb *cb , void *u ) ;   13054                                              pem_password_cb *cb , void *u ) ;
13055 extern SSL_SESSION *PEM_read_SSL_SESSION(FILE *fp , SSL_SESSION **x ,   13055 extern SSL_SESSION *PEM_read_SSL_SESSION(FILE *fp , SSL_SESSION **x ,
13056                                          pem_password_cb *cb , void *u ) ;   13056                                          pem_password_cb *cb , void *u ) ;
13057 extern int PEM_write_bio_SSL_SESSION(BIO *bp , SSL_SESSION *x ) ;   13057 extern int PEM_write_bio_SSL_SESSION(BIO *bp , SSL_SESSION *x ) ;
13058 extern int PEM_write_SSL_SESSION(FILE *fp , SSL_SESSION *x ) ;   13058 extern int PEM_write_SSL_SESSION(FILE *fp , SSL_SESSION *x ) ;
13059 extern BIO_METHOD *BIO_f_ssl(void) ;   13059 extern BIO_METHOD *BIO_f_ssl(void) ;
13060 extern BIO *BIO_new_ssl(SSL_CTX *ctx , int client ) ;   13060 extern BIO *BIO_new_ssl(SSL_CTX *ctx , int client ) ;
13061 extern BIO *BIO_new_ssl_connect(SSL_CTX *ctx ) ;   13061 extern BIO *BIO_new_ssl_connect(SSL_CTX *ctx ) ;
13062 extern BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx ) ;   13062 extern BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx ) ;
13063 extern int BIO_ssl_copy_session_id(BIO *to , BIO *from ) ;   13063 extern int BIO_ssl_copy_session_id(BIO *to , BIO *from ) ;
13064 extern void BIO_ssl_shutdown(BIO *ssl_bio ) ;   13064 extern void BIO_ssl_shutdown(BIO *ssl_bio ) ;
13065 extern int SSL_CTX_set_cipher_list(SSL_CTX * , char const   *str ) ;   13065 extern int SSL_CTX_set_cipher_list(SSL_CTX * , char const   *str ) ;
13066 extern SSL_CTX *SSL_CTX_new(SSL_METHOD const   *meth ) ;   13066 extern SSL_CTX *SSL_CTX_new(SSL_METHOD const   *meth ) ;
13067 extern void SSL_CTX_free(SSL_CTX * ) ;   13067 extern void SSL_CTX_free(SSL_CTX * ) ;
13068 extern long SSL_CTX_set_timeout(SSL_CTX *ctx , long t ) ;   13068 extern long SSL_CTX_set_timeout(SSL_CTX *ctx , long t ) ;
13069 extern long SSL_CTX_get_timeout(SSL_CTX const   *ctx ) ;   13069 extern long SSL_CTX_get_timeout(SSL_CTX const   *ctx ) ;
13070 extern X509_STORE *SSL_CTX_get_cert_store(SSL_CTX const   * ) ;   13070 extern X509_STORE *SSL_CTX_get_cert_store(SSL_CTX const   * ) ;
13071 extern void SSL_CTX_set_cert_store(SSL_CTX * , X509_STORE * ) ;   13071 extern void SSL_CTX_set_cert_store(SSL_CTX * , X509_STORE * ) ;
13072 extern int SSL_want(SSL const   *s ) ;   13072 extern int SSL_want(SSL const   *s ) ;
13073 extern int SSL_clear(SSL *s ) ;   13073 extern int SSL_clear(SSL *s ) ;
13074 extern void SSL_CTX_flush_sessions(SSL_CTX *ctx , long tm ) ;   13074 extern void SSL_CTX_flush_sessions(SSL_CTX *ctx , long tm ) ;
13075 extern SSL_CIPHER const   *SSL_get_current_cipher(SSL const   *s ) ;   13075 extern SSL_CIPHER const   *SSL_get_current_cipher(SSL const   *s ) ;
13076 extern int SSL_CIPHER_get_bits(SSL_CIPHER const   *c , int *alg_bits ) ;   13076 extern int SSL_CIPHER_get_bits(SSL_CIPHER const   *c , int *alg_bits ) ;
13077 extern char *SSL_CIPHER_get_version(SSL_CIPHER const   *c ) ;   13077 extern char *SSL_CIPHER_get_version(SSL_CIPHER const   *c ) ;
13078 extern char const   *SSL_CIPHER_get_name(SSL_CIPHER const   *c ) ;   13078 extern char const   *SSL_CIPHER_get_name(SSL_CIPHER const   *c ) ;
13079 extern int SSL_get_fd(SSL const   *s ) ;   13079 extern int SSL_get_fd(SSL const   *s ) ;
13080 extern int SSL_get_rfd(SSL const   *s ) ;   13080 extern int SSL_get_rfd(SSL const   *s ) ;
13081 extern int SSL_get_wfd(SSL const   *s ) ;   13081 extern int SSL_get_wfd(SSL const   *s ) ;
13082 extern char const   *SSL_get_cipher_list(SSL const   *s , int n ) ;   13082 extern char const   *SSL_get_cipher_list(SSL const   *s , int n ) ;
13083 extern char *SSL_get_shared_ciphers(SSL const   *s , char *buf , int len ) ;   13083 extern char *SSL_get_shared_ciphers(SSL const   *s , char *buf , int len ) ;
13084 extern int SSL_get_read_ahead(SSL const   *s ) ;   13084 extern int SSL_get_read_ahead(SSL const   *s ) ;
13085 extern int SSL_pending(SSL const   *s ) ;   13085 extern int SSL_pending(SSL const   *s ) ;
13086 extern int SSL_set_fd(SSL *s , int fd ) ;   13086 extern int SSL_set_fd(SSL *s , int fd ) ;
13087 extern int SSL_set_rfd(SSL *s , int fd ) ;   13087 extern int SSL_set_rfd(SSL *s , int fd ) ;
13088 extern int SSL_set_wfd(SSL *s , int fd ) ;   13088 extern int SSL_set_wfd(SSL *s , int fd ) ;
13089 extern void SSL_set_bio(SSL *s , BIO *rbio , BIO *wbio ) ;   13089 extern void SSL_set_bio(SSL *s , BIO *rbio , BIO *wbio ) ;
13090 extern BIO *SSL_get_rbio(SSL const   *s ) ;   13090 extern BIO *SSL_get_rbio(SSL const   *s ) ;
13091 extern BIO *SSL_get_wbio(SSL const   *s ) ;   13091 extern BIO *SSL_get_wbio(SSL const   *s ) ;
13092 extern int SSL_set_cipher_list(SSL *s , char const   *str ) ;   13092 extern int SSL_set_cipher_list(SSL *s , char const   *str ) ;
13093 extern void SSL_set_read_ahead(SSL *s , int yes ) ;   13093 extern void SSL_set_read_ahead(SSL *s , int yes ) ;
13094 extern int SSL_get_verify_mode(SSL const   *s ) ;   13094 extern int SSL_get_verify_mode(SSL const   *s ) ;
13095 extern int SSL_get_verify_depth(SSL const   *s ) ;   13095 extern int SSL_get_verify_depth(SSL const   *s ) ;
13096 extern int (*SSL_get_verify_callback(SSL const   *s ))(int  , X509_STORE_CTX * ) ;   13096 extern int (*SSL_get_verify_callback(SSL const   *s ))(int  , X509_STORE_CTX * ) ;
13097 extern void SSL_set_verify(SSL *s , int mode ,   13097 extern void SSL_set_verify(SSL *s , int mode ,
13098                            int (*callback)(int ok , X509_STORE_CTX *ctx ) ) ;   13098                            int (*callback)(int ok , X509_STORE_CTX *ctx ) ) ;
13099 extern void SSL_set_verify_depth(SSL *s , int depth ) ;   13099 extern void SSL_set_verify_depth(SSL *s , int depth ) ;
13100 extern int SSL_use_RSAPrivateKey(SSL *ssl , RSA *rsa ) ;   13100 extern int SSL_use_RSAPrivateKey(SSL *ssl , RSA *rsa ) ;
13101 extern int SSL_use_RSAPrivateKey_ASN1(SSL *ssl , unsigned char *d , long len ) ;   13101 extern int SSL_use_RSAPrivateKey_ASN1(SSL *ssl , unsigned char *d , long len ) ;
13102 extern int SSL_use_PrivateKey(SSL *ssl , EVP_PKEY *pkey ) ;   13102 extern int SSL_use_PrivateKey(SSL *ssl , EVP_PKEY *pkey ) ;
13103 extern int SSL_use_PrivateKey_ASN1(int pk , SSL *ssl ,   13103 extern int SSL_use_PrivateKey_ASN1(int pk , SSL *ssl ,
13104                                    unsigned char const   *d , long len ) ;   13104                                    unsigned char const   *d , long len ) ;
13105 extern int SSL_use_certificate(SSL *ssl , X509 *x ) ;   13105 extern int SSL_use_certificate(SSL *ssl , X509 *x ) ;
13106 extern int SSL_use_certificate_ASN1(SSL *ssl , unsigned char const   *d ,   13106 extern int SSL_use_certificate_ASN1(SSL *ssl , unsigned char const   *d ,
13107                                     int len ) ;   13107                                     int len ) ;
13108 extern int SSL_use_RSAPrivateKey_file(SSL *ssl , char const   *file , int type ) ;   13108 extern int SSL_use_RSAPrivateKey_file(SSL *ssl , char const   *file , int type ) ;
13109 extern int SSL_use_PrivateKey_file(SSL *ssl , char const   *file , int type ) ;   13109 extern int SSL_use_PrivateKey_file(SSL *ssl , char const   *file , int type ) ;
13110 extern int SSL_use_certificate_file(SSL *ssl , char const   *file , int type ) ;   13110 extern int SSL_use_certificate_file(SSL *ssl , char const   *file , int type ) ;
13111 extern int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx , char const   *file ,   13111 extern int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx , char const   *file ,
13112                                           int type ) ;   13112                                           int type ) ;
13113 extern int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx , char const   *file ,   13113 extern int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx , char const   *file ,
13114                                        int type ) ;   13114                                        int type ) ;
13115 extern int SSL_CTX_use_certificate_file(SSL_CTX *ctx , char const   *file ,   13115 extern int SSL_CTX_use_certificate_file(SSL_CTX *ctx , char const   *file ,
13116                                         int type ) ;   13116                                         int type ) ;
13117 extern int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx , char const   *file ) ;   13117 extern int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx , char const   *file ) ;
13118 extern struct stack_st_X509_NAME *SSL_load_client_CA_file(char const   *file ) ;   13118 extern struct stack_st_X509_NAME *SSL_load_client_CA_file(char const   *file ) ;
13119 extern int SSL_add_file_cert_subjects_to_stack(struct stack_st_X509_NAME *stackCAs ,   13119 extern int SSL_add_file_cert_subjects_to_stack(struct stack_st_X509_NAME *stackCAs ,
13120                                                char const   *file ) ;   13120                                                char const   *file ) ;
13121 extern int SSL_add_dir_cert_subjects_to_stack(struct stack_st_X509_NAME *stackCAs ,   13121 extern int SSL_add_dir_cert_subjects_to_stack(struct stack_st_X509_NAME *stackCAs ,
13122                                               char const   *dir ) ;   13122                                               char const   *dir ) ;
13123 extern void SSL_load_error_strings(void) ;   13123 extern void SSL_load_error_strings(void) ;
13124 extern char const   *SSL_state_string(SSL const   *s ) ;   13124 extern char const   *SSL_state_string(SSL const   *s ) ;
13125 extern char const   *SSL_rstate_string(SSL const   *s ) ;   13125 extern char const   *SSL_rstate_string(SSL const   *s ) ;
13126 extern char const   *SSL_state_string_long(SSL const   *s ) ;   13126 extern char const   *SSL_state_string_long(SSL const   *s ) ;
13127 extern char const   *SSL_rstate_string_long(SSL const   *s ) ;   13127 extern char const   *SSL_rstate_string_long(SSL const   *s ) ;
13128 extern long SSL_SESSION_get_time(SSL_SESSION const   *s ) ;   13128 extern long SSL_SESSION_get_time(SSL_SESSION const   *s ) ;
13129 extern long SSL_SESSION_set_time(SSL_SESSION *s , long t ) ;   13129 extern long SSL_SESSION_set_time(SSL_SESSION *s , long t ) ;
13130 extern long SSL_SESSION_get_timeout(SSL_SESSION const   *s ) ;   13130 extern long SSL_SESSION_get_timeout(SSL_SESSION const   *s ) ;
13131 extern long SSL_SESSION_set_timeout(SSL_SESSION *s , long t ) ;   13131 extern long SSL_SESSION_set_timeout(SSL_SESSION *s , long t ) ;
13132 extern void SSL_copy_session_id(SSL *to , SSL const   *from ) ;   13132 extern void SSL_copy_session_id(SSL *to , SSL const   *from ) ;
13133 extern SSL_SESSION *SSL_SESSION_new(void) ;   13133 extern SSL_SESSION *SSL_SESSION_new(void) ;
13134 extern unsigned char const   *SSL_SESSION_get_id(SSL_SESSION const   *s ,   13134 extern unsigned char const   *SSL_SESSION_get_id(SSL_SESSION const   *s ,
13135                                                  unsigned int *len ) ;   13135                                                  unsigned int *len ) ;
13136 extern int SSL_SESSION_print_fp(FILE *fp , SSL_SESSION const   *ses ) ;   13136 extern int SSL_SESSION_print_fp(FILE *fp , SSL_SESSION const   *ses ) ;
13137 extern int SSL_SESSION_print(BIO *fp , SSL_SESSION const   *ses ) ;   13137 extern int SSL_SESSION_print(BIO *fp , SSL_SESSION const   *ses ) ;
13138 extern void SSL_SESSION_free(SSL_SESSION *ses ) ;   13138 extern void SSL_SESSION_free(SSL_SESSION *ses ) ;
13139 extern int i2d_SSL_SESSION(SSL_SESSION *in , unsigned char **pp ) ;   13139 extern int i2d_SSL_SESSION(SSL_SESSION *in , unsigned char **pp ) ;
13140 extern int SSL_set_session(SSL *to , SSL_SESSION *session ) ;   13140 extern int SSL_set_session(SSL *to , SSL_SESSION *session ) ;
13141 extern int SSL_CTX_add_session(SSL_CTX *s , SSL_SESSION *c ) ;   13141 extern int SSL_CTX_add_session(SSL_CTX *s , SSL_SESSION *c ) ;
13142 extern int SSL_CTX_remove_session(SSL_CTX * , SSL_SESSION *c ) ;   13142 extern int SSL_CTX_remove_session(SSL_CTX * , SSL_SESSION *c ) ;
13143 extern int SSL_CTX_set_generate_session_id(SSL_CTX * ,   13143 extern int SSL_CTX_set_generate_session_id(SSL_CTX * ,
13144                                            int (*)(SSL const   *ssl ,   13144                                            int (*)(SSL const   *ssl ,
13145                                                    unsigned char *id ,   13145                                                    unsigned char *id ,
13146                                                    unsigned int *id_len ) ) ;   13146                                                    unsigned int *id_len ) ) ;
13147 extern int SSL_set_generate_session_id(SSL * , int (*)(SSL const   *ssl ,   13147 extern int SSL_set_generate_session_id(SSL * , int (*)(SSL const   *ssl ,
13148                                                        unsigned char *id ,   13148                                                        unsigned char *id ,
13149                                                        unsigned int *id_len ) ) ;   13149                                                        unsigned int *id_len ) ) ;
13150 extern int SSL_has_matching_session_id(SSL const   *ssl ,   13150 extern int SSL_has_matching_session_id(SSL const   *ssl ,
13151                                        unsigned char const   *id ,   13151                                        unsigned char const   *id ,
13152                                        unsigned int id_len ) ;   13152                                        unsigned int id_len ) ;
13153 extern SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a ,   13153 extern SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a ,
13154                                     unsigned char const   **pp , long length ) ;   13154                                     unsigned char const   **pp , long length ) ;
13155 extern X509 *SSL_get_peer_certificate(SSL const   *s ) ;   13155 extern X509 *SSL_get_peer_certificate(SSL const   *s ) ;
13156 extern struct stack_st_X509 *SSL_get_peer_cert_chain(SSL const   *s ) ;   13156 extern struct stack_st_X509 *SSL_get_peer_cert_chain(SSL const   *s ) ;
13157 extern int SSL_CTX_get_verify_mode(SSL_CTX const   *ctx ) ;   13157 extern int SSL_CTX_get_verify_mode(SSL_CTX const   *ctx ) ;
13158 extern int SSL_CTX_get_verify_depth(SSL_CTX const   *ctx ) ;   13158 extern int SSL_CTX_get_verify_depth(SSL_CTX const   *ctx ) ;
13159 extern int (*SSL_CTX_get_verify_callback(SSL_CTX const   *ctx ))(int  ,   13159 extern int (*SSL_CTX_get_verify_callback(SSL_CTX const   *ctx ))(int  ,
13160                                                                  X509_STORE_CTX * ) ;   13160                                                                  X509_STORE_CTX * ) ;
13161 extern void SSL_CTX_set_verify(SSL_CTX *ctx , int mode ,   13161 extern void SSL_CTX_set_verify(SSL_CTX *ctx , int mode ,
13162                                int (*callback)(int  , X509_STORE_CTX * ) ) ;   13162                                int (*callback)(int  , X509_STORE_CTX * ) ) ;
13163 extern void SSL_CTX_set_verify_depth(SSL_CTX *ctx , int depth ) ;   13163 extern void SSL_CTX_set_verify_depth(SSL_CTX *ctx , int depth ) ;
13164 extern void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx ,   13164 extern void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx ,
13165                                              int (*cb)(X509_STORE_CTX * ,   13165                                              int (*cb)(X509_STORE_CTX * ,
13166                                                        void * ) , void *arg ) ;   13166                                                        void * ) , void *arg ) ;
13167 extern int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx , RSA *rsa ) ;   13167 extern int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx , RSA *rsa ) ;
13168 extern int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx ,   13168 extern int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx ,
13169                                           unsigned char const   *d , long len ) ;   13169                                           unsigned char const   *d , long len ) ;
13170 extern int SSL_CTX_use_PrivateKey(SSL_CTX *ctx , EVP_PKEY *pkey ) ;   13170 extern int SSL_CTX_use_PrivateKey(SSL_CTX *ctx , EVP_PKEY *pkey ) ;
13171 extern int SSL_CTX_use_PrivateKey_ASN1(int pk , SSL_CTX *ctx ,   13171 extern int SSL_CTX_use_PrivateKey_ASN1(int pk , SSL_CTX *ctx ,
13172                                        unsigned char const   *d , long len ) ;   13172                                        unsigned char const   *d , long len ) ;
13173 extern int SSL_CTX_use_certificate(SSL_CTX *ctx , X509 *x ) ;   13173 extern int SSL_CTX_use_certificate(SSL_CTX *ctx , X509 *x ) ;
13174 extern int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx , int len ,   13174 extern int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx , int len ,
13175                                         unsigned char const   *d ) ;   13175                                         unsigned char const   *d ) ;
13176 extern void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx , pem_password_cb *cb ) ;   13176 extern void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx , pem_password_cb *cb ) ;
13177 extern void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx , void *u ) ;   13177 extern void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx , void *u ) ;
13178 extern int SSL_CTX_check_private_key(SSL_CTX const   *ctx ) ;   13178 extern int SSL_CTX_check_private_key(SSL_CTX const   *ctx ) ;
13179 extern int SSL_check_private_key(SSL const   *ctx ) ;   13179 extern int SSL_check_private_key(SSL const   *ctx ) ;
13180 extern int SSL_CTX_set_session_id_context(SSL_CTX *ctx ,   13180 extern int SSL_CTX_set_session_id_context(SSL_CTX *ctx ,
13181                                           unsigned char const   *sid_ctx ,   13181                                           unsigned char const   *sid_ctx ,
13182                                           unsigned int sid_ctx_len ) ;   13182                                           unsigned int sid_ctx_len ) ;
13183 extern SSL *SSL_new(SSL_CTX *ctx ) ;   13183 extern SSL *SSL_new(SSL_CTX *ctx ) ;
13184 extern int SSL_set_session_id_context(SSL *ssl ,   13184 extern int SSL_set_session_id_context(SSL *ssl ,
13185                                       unsigned char const   *sid_ctx ,   13185                                       unsigned char const   *sid_ctx ,
13186                                       unsigned int sid_ctx_len ) ;   13186                                       unsigned int sid_ctx_len ) ;
13187 extern int SSL_CTX_set_purpose(SSL_CTX *s , int purpose ) ;   13187 extern int SSL_CTX_set_purpose(SSL_CTX *s , int purpose ) ;
13188 extern int SSL_set_purpose(SSL *s , int purpose ) ;   13188 extern int SSL_set_purpose(SSL *s , int purpose ) ;
13189 extern int SSL_CTX_set_trust(SSL_CTX *s , int trust ) ;   13189 extern int SSL_CTX_set_trust(SSL_CTX *s , int trust ) ;
13190 extern int SSL_set_trust(SSL *s , int trust ) ;   13190 extern int SSL_set_trust(SSL *s , int trust ) ;
13191 extern int SSL_CTX_set1_param(SSL_CTX *ctx , X509_VERIFY_PARAM *vpm ) ;   13191 extern int SSL_CTX_set1_param(SSL_CTX *ctx , X509_VERIFY_PARAM *vpm ) ;
13192 extern int SSL_set1_param(SSL *ssl , X509_VERIFY_PARAM *vpm ) ;   13192 extern int SSL_set1_param(SSL *ssl , X509_VERIFY_PARAM *vpm ) ;
13193 extern void SSL_free(SSL *ssl ) ;   13193 extern void SSL_free(SSL *ssl ) ;
13194 extern int SSL_accept(SSL *ssl ) ;   13194 extern int SSL_accept(SSL *ssl ) ;
13195 extern int SSL_connect(SSL *ssl ) ;   13195 extern int SSL_connect(SSL *ssl ) ;
13196 extern int SSL_read(SSL *ssl , void *buf , int num ) ;   13196 extern int SSL_read(SSL *ssl , void *buf , int num ) ;
13197 extern int SSL_peek(SSL *ssl , void *buf , int num ) ;   13197 extern int SSL_peek(SSL *ssl , void *buf , int num ) ;
13198 extern int SSL_write(SSL *ssl , void const   *buf , int num ) ;   13198 extern int SSL_write(SSL *ssl , void const   *buf , int num ) ;
13199 extern long SSL_ctrl(SSL *ssl , int cmd , long larg , void *parg ) ;   13199 extern long SSL_ctrl(SSL *ssl , int cmd , long larg , void *parg ) ;
13200 extern long SSL_callback_ctrl(SSL * , int  , void (*)(void) ) ;   13200 extern long SSL_callback_ctrl(SSL * , int  , void (*)(void) ) ;
13201 extern long SSL_CTX_ctrl(SSL_CTX *ctx , int cmd , long larg , void *parg ) ;   13201 extern long SSL_CTX_ctrl(SSL_CTX *ctx , int cmd , long larg , void *parg ) ;
13202 extern long SSL_CTX_callback_ctrl(SSL_CTX * , int  , void (*)(void) ) ;   13202 extern long SSL_CTX_callback_ctrl(SSL_CTX * , int  , void (*)(void) ) ;
13203 extern int SSL_get_error(SSL const   *s , int ret_code ) ;   13203 extern int SSL_get_error(SSL const   *s , int ret_code ) ;
13204 extern char const   *SSL_get_version(SSL const   *s ) ;   13204 extern char const   *SSL_get_version(SSL const   *s ) ;
13205 extern int SSL_CTX_set_ssl_version(SSL_CTX *ctx , SSL_METHOD const   *meth ) ;   13205 extern int SSL_CTX_set_ssl_version(SSL_CTX *ctx , SSL_METHOD const   *meth ) ;
13206 extern SSL_METHOD const   *SSLv2_method(void) ;   13206 extern SSL_METHOD const   *SSLv2_method(void) ;
13207 extern SSL_METHOD const   *SSLv2_server_method(void) ;   13207 extern SSL_METHOD const   *SSLv2_server_method(void) ;
13208 extern SSL_METHOD const   *SSLv2_client_method(void) ;   13208 extern SSL_METHOD const   *SSLv2_client_method(void) ;
13209 extern SSL_METHOD const   *SSLv3_method(void) ;   13209 extern SSL_METHOD const   *SSLv3_method(void) ;
13210 extern SSL_METHOD const   *SSLv3_server_method(void) ;   13210 extern SSL_METHOD const   *SSLv3_server_method(void) ;
13211 extern SSL_METHOD const   *SSLv3_client_method(void) ;   13211 extern SSL_METHOD const   *SSLv3_client_method(void) ;
13212 extern SSL_METHOD const   *SSLv23_method(void) ;   13212 extern SSL_METHOD const   *SSLv23_method(void) ;
13213 extern SSL_METHOD const   *SSLv23_server_method(void) ;   13213 extern SSL_METHOD const   *SSLv23_server_method(void) ;
13214 extern SSL_METHOD const   *SSLv23_client_method(void) ;   13214 extern SSL_METHOD const   *SSLv23_client_method(void) ;
13215 extern SSL_METHOD const   *TLSv1_method(void) ;   13215 extern SSL_METHOD const   *TLSv1_method(void) ;
13216 extern SSL_METHOD const   *TLSv1_server_method(void) ;   13216 extern SSL_METHOD const   *TLSv1_server_method(void) ;
13217 extern SSL_METHOD const   *TLSv1_client_method(void) ;   13217 extern SSL_METHOD const   *TLSv1_client_method(void) ;
13218 extern SSL_METHOD const   *DTLSv1_method(void) ;   13218 extern SSL_METHOD const   *DTLSv1_method(void) ;
13219 extern SSL_METHOD const   *DTLSv1_server_method(void) ;   13219 extern SSL_METHOD const   *DTLSv1_server_method(void) ;
13220 extern SSL_METHOD const   *DTLSv1_client_method(void) ;   13220 extern SSL_METHOD const   *DTLSv1_client_method(void) ;
13221 extern struct stack_st_SSL_CIPHER *SSL_get_ciphers(SSL const   *s ) ;   13221 extern struct stack_st_SSL_CIPHER *SSL_get_ciphers(SSL const   *s ) ;
13222 extern int SSL_do_handshake(SSL *s ) ;   13222 extern int SSL_do_handshake(SSL *s ) ;
13223 extern int SSL_renegotiate(SSL *s ) ;   13223 extern int SSL_renegotiate(SSL *s ) ;
13224 extern int SSL_renegotiate_pending(SSL *s ) ;   13224 extern int SSL_renegotiate_pending(SSL *s ) ;
13225 extern int SSL_shutdown(SSL *s ) ;   13225 extern int SSL_shutdown(SSL *s ) ;
13226 extern SSL_METHOD const   *SSL_get_ssl_method(SSL *s ) ;   13226 extern SSL_METHOD const   *SSL_get_ssl_method(SSL *s ) ;
13227 extern int SSL_set_ssl_method(SSL *s , SSL_METHOD const   *method ) ;   13227 extern int SSL_set_ssl_method(SSL *s , SSL_METHOD const   *method ) ;
13228 extern char const   *SSL_alert_type_string_long(int value ) ;   13228 extern char const   *SSL_alert_type_string_long(int value ) ;
13229 extern char const   *SSL_alert_type_string(int value ) ;   13229 extern char const   *SSL_alert_type_string(int value ) ;
13230 extern char const   *SSL_alert_desc_string_long(int value ) ;   13230 extern char const   *SSL_alert_desc_string_long(int value ) ;
13231 extern char const   *SSL_alert_desc_string(int value ) ;   13231 extern char const   *SSL_alert_desc_string(int value ) ;
13232 extern void SSL_set_client_CA_list(SSL *s ,   13232 extern void SSL_set_client_CA_list(SSL *s ,
13233                                    struct stack_st_X509_NAME *name_list ) ;   13233                                    struct stack_st_X509_NAME *name_list ) ;
13234 extern void SSL_CTX_set_client_CA_list(SSL_CTX *ctx ,   13234 extern void SSL_CTX_set_client_CA_list(SSL_CTX *ctx ,
13235                                        struct stack_st_X509_NAME *name_list ) ;   13235                                        struct stack_st_X509_NAME *name_list ) ;
13236 extern struct stack_st_X509_NAME *SSL_get_client_CA_list(SSL const   *s ) ;   13236 extern struct stack_st_X509_NAME *SSL_get_client_CA_list(SSL const   *s ) ;
13237 extern struct stack_st_X509_NAME *SSL_CTX_get_client_CA_list(SSL_CTX const   *s ) ;   13237 extern struct stack_st_X509_NAME *SSL_CTX_get_client_CA_list(SSL_CTX const   *s ) ;
13238 extern int SSL_add_client_CA(SSL *ssl , X509 *x ) ;   13238 extern int SSL_add_client_CA(SSL *ssl , X509 *x ) ;
13239 extern int SSL_CTX_add_client_CA(SSL_CTX *ctx , X509 *x ) ;   13239 extern int SSL_CTX_add_client_CA(SSL_CTX *ctx , X509 *x ) ;
13240 extern void SSL_set_connect_state(SSL *s ) ;   13240 extern void SSL_set_connect_state(SSL *s ) ;
13241 extern void SSL_set_accept_state(SSL *s ) ;   13241 extern void SSL_set_accept_state(SSL *s ) ;
13242 extern long SSL_get_default_timeout(SSL const   *s ) ;   13242 extern long SSL_get_default_timeout(SSL const   *s ) ;
13243 extern int SSL_library_init(void) ;   13243 extern int SSL_library_init(void) ;
13244 extern char *SSL_CIPHER_description(SSL_CIPHER const   * , char *buf , int size ) ;   13244 extern char *SSL_CIPHER_description(SSL_CIPHER const   * , char *buf , int size ) ;
13245 extern struct stack_st_X509_NAME *SSL_dup_CA_list(struct stack_st_X509_NAME *sk ) ;   13245 extern struct stack_st_X509_NAME *SSL_dup_CA_list(struct stack_st_X509_NAME *sk ) ;
13246 extern SSL *SSL_dup(SSL *ssl ) ;   13246 extern SSL *SSL_dup(SSL *ssl ) ;
13247 extern X509 *SSL_get_certificate(SSL const   *ssl ) ;   13247 extern X509 *SSL_get_certificate(SSL const   *ssl ) ;
13248 extern struct evp_pkey_st *SSL_get_privatekey(SSL *ssl ) ;   13248 extern struct evp_pkey_st *SSL_get_privatekey(SSL *ssl ) ;
13249 extern void SSL_CTX_set_quiet_shutdown(SSL_CTX *ctx , int mode ) ;   13249 extern void SSL_CTX_set_quiet_shutdown(SSL_CTX *ctx , int mode ) ;
13250 extern int SSL_CTX_get_quiet_shutdown(SSL_CTX const   *ctx ) ;   13250 extern int SSL_CTX_get_quiet_shutdown(SSL_CTX const   *ctx ) ;
13251 extern void SSL_set_quiet_shutdown(SSL *ssl , int mode ) ;   13251 extern void SSL_set_quiet_shutdown(SSL *ssl , int mode ) ;
13252 extern int SSL_get_quiet_shutdown(SSL const   *ssl ) ;   13252 extern int SSL_get_quiet_shutdown(SSL const   *ssl ) ;
13253 extern void SSL_set_shutdown(SSL *ssl , int mode ) ;   13253 extern void SSL_set_shutdown(SSL *ssl , int mode ) ;
13254 extern int SSL_get_shutdown(SSL const   *ssl ) ;   13254 extern int SSL_get_shutdown(SSL const   *ssl ) ;
13255 extern int SSL_version(SSL const   *ssl ) ;   13255 extern int SSL_version(SSL const   *ssl ) ;
13256 extern int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx ) ;   13256 extern int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx ) ;
13257 extern int SSL_CTX_load_verify_locations(SSL_CTX *ctx , char const   *CAfile ,   13257 extern int SSL_CTX_load_verify_locations(SSL_CTX *ctx , char const   *CAfile ,
13258                                          char const   *CApath ) ;   13258                                          char const   *CApath ) ;
13259 extern SSL_SESSION *SSL_get_session(SSL const   *ssl ) ;   13259 extern SSL_SESSION *SSL_get_session(SSL const   *ssl ) ;
13260 extern SSL_SESSION *SSL_get1_session(SSL *ssl ) ;   13260 extern SSL_SESSION *SSL_get1_session(SSL *ssl ) ;
13261 extern SSL_CTX *SSL_get_SSL_CTX(SSL const   *ssl ) ;   13261 extern SSL_CTX *SSL_get_SSL_CTX(SSL const   *ssl ) ;
13262 extern SSL_CTX *SSL_set_SSL_CTX(SSL *ssl , SSL_CTX *ctx ) ;   13262 extern SSL_CTX *SSL_set_SSL_CTX(SSL *ssl , SSL_CTX *ctx ) ;
13263 extern void SSL_set_info_callback(SSL *ssl , void (*cb)(SSL const   *ssl ,   13263 extern void SSL_set_info_callback(SSL *ssl , void (*cb)(SSL const   *ssl ,
13264                                                         int type , int val ) ) ;   13264                                                         int type , int val ) ) ;
13265 extern void (*SSL_get_info_callback(SSL const   *ssl ))(SSL const   *ssl ,   13265 extern void (*SSL_get_info_callback(SSL const   *ssl ))(SSL const   *ssl ,
13266                                                         int type , int val ) ;   13266                                                         int type , int val ) ;
13267 extern int SSL_state(SSL const   *ssl ) ;   13267 extern int SSL_state(SSL const   *ssl ) ;
13268 extern void SSL_set_verify_result(SSL *ssl , long v ) ;   13268 extern void SSL_set_verify_result(SSL *ssl , long v ) ;
13269 extern long SSL_get_verify_result(SSL const   *ssl ) ;   13269 extern long SSL_get_verify_result(SSL const   *ssl ) ;
13270 extern int SSL_set_ex_data(SSL *ssl , int idx , void *data ) ;   13270 extern int SSL_set_ex_data(SSL *ssl , int idx , void *data ) ;
13271 extern void *SSL_get_ex_data(SSL const   *ssl , int idx ) ;   13271 extern void *SSL_get_ex_data(SSL const   *ssl , int idx ) ;
13272 extern int SSL_get_ex_new_index(long argl , void *argp ,   13272 extern int SSL_get_ex_new_index(long argl , void *argp ,
13273                                 CRYPTO_EX_new *new_func ,   13273                                 CRYPTO_EX_new *new_func ,
13274                                 CRYPTO_EX_dup *dup_func ,   13274                                 CRYPTO_EX_dup *dup_func ,
13275                                 CRYPTO_EX_free *free_func ) ;   13275                                 CRYPTO_EX_free *free_func ) ;
13276 extern int SSL_SESSION_set_ex_data(SSL_SESSION *ss , int idx , void *data ) ;   13276 extern int SSL_SESSION_set_ex_data(SSL_SESSION *ss , int idx , void *data ) ;
13277 extern void *SSL_SESSION_get_ex_data(SSL_SESSION const   *ss , int idx ) ;   13277 extern void *SSL_SESSION_get_ex_data(SSL_SESSION const   *ss , int idx ) ;
13278 extern int SSL_SESSION_get_ex_new_index(long argl , void *argp ,   13278 extern int SSL_SESSION_get_ex_new_index(long argl , void *argp ,
13279                                         CRYPTO_EX_new *new_func ,   13279                                         CRYPTO_EX_new *new_func ,
13280                                         CRYPTO_EX_dup *dup_func ,   13280                                         CRYPTO_EX_dup *dup_func ,
13281                                         CRYPTO_EX_free *free_func ) ;   13281                                         CRYPTO_EX_free *free_func ) ;
13282 extern int SSL_CTX_set_ex_data(SSL_CTX *ssl , int idx , void *data ) ;   13282 extern int SSL_CTX_set_ex_data(SSL_CTX *ssl , int idx , void *data ) ;
13283 extern void *SSL_CTX_get_ex_data(SSL_CTX const   *ssl , int idx ) ;   13283 extern void *SSL_CTX_get_ex_data(SSL_CTX const   *ssl , int idx ) ;
13284 extern int SSL_CTX_get_ex_new_index(long argl , void *argp ,   13284 extern int SSL_CTX_get_ex_new_index(long argl , void *argp ,
13285                                     CRYPTO_EX_new *new_func ,   13285                                     CRYPTO_EX_new *new_func ,
13286                                     CRYPTO_EX_dup *dup_func ,   13286                                     CRYPTO_EX_dup *dup_func ,
13287                                     CRYPTO_EX_free *free_func ) ;   13287                                     CRYPTO_EX_free *free_func ) ;
13288 extern int SSL_get_ex_data_X509_STORE_CTX_idx(void) ;   13288 extern int SSL_get_ex_data_X509_STORE_CTX_idx(void) ;
13289 extern void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx ,   13289 extern void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx ,
13290                                          RSA *(*cb)(SSL *ssl , int is_export ,   13290                                          RSA *(*cb)(SSL *ssl , int is_export ,
13291                                                     int keylength ) ) ;   13291                                                     int keylength ) ) ;
13292 extern void SSL_set_tmp_rsa_callback(SSL *ssl , RSA *(*cb)(SSL *ssl ,   13292 extern void SSL_set_tmp_rsa_callback(SSL *ssl , RSA *(*cb)(SSL *ssl ,
13293                                                            int is_export ,   13293                                                            int is_export ,
13294                                                            int keylength ) ) ;   13294                                                            int keylength ) ) ;
13295 extern void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx ,   13295 extern void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx ,
13296                                         DH *(*dh)(SSL *ssl , int is_export ,   13296                                         DH *(*dh)(SSL *ssl , int is_export ,
13297                                                   int keylength ) ) ;   13297                                                   int keylength ) ) ;
13298 extern void SSL_set_tmp_dh_callback(SSL *ssl , DH *(*dh)(SSL *ssl ,   13298 extern void SSL_set_tmp_dh_callback(SSL *ssl , DH *(*dh)(SSL *ssl ,
13299                                                          int is_export ,   13299                                                          int is_export ,
13300                                                          int keylength ) ) ;   13300                                                          int keylength ) ) ;
13301 extern COMP_METHOD const   *SSL_get_current_compression(SSL *s ) ;   13301 extern COMP_METHOD const   *SSL_get_current_compression(SSL *s ) ;
13302 extern COMP_METHOD const   *SSL_get_current_expansion(SSL *s ) ;   13302 extern COMP_METHOD const   *SSL_get_current_expansion(SSL *s ) ;
13303 extern char const   *SSL_COMP_get_name(COMP_METHOD const   *comp ) ;   13303 extern char const   *SSL_COMP_get_name(COMP_METHOD const   *comp ) ;
13304 extern struct stack_st_SSL_COMP *SSL_COMP_get_compression_methods(void) ;   13304 extern struct stack_st_SSL_COMP *SSL_COMP_get_compression_methods(void) ;
13305 extern int SSL_COMP_add_compression_method(int id , COMP_METHOD *cm ) ;   13305 extern int SSL_COMP_add_compression_method(int id , COMP_METHOD *cm ) ;
13306 extern int SSL_set_session_ticket_ext(SSL *s , void *ext_data , int ext_len ) ;   13306 extern int SSL_set_session_ticket_ext(SSL *s , void *ext_data , int ext_len ) ;
13307 extern int SSL_set_session_ticket_ext_cb(SSL *s ,   13307 extern int SSL_set_session_ticket_ext_cb(SSL *s ,
13308                                          int (*cb)(SSL *s ,   13308                                          int (*cb)(SSL *s ,
13309                                                    unsigned char const   *data ,   13309                                                    unsigned char const   *data ,
13310                                                    int len , void *arg ) ,   13310                                                    int len , void *arg ) ,
13311                                          void *arg ) ;   13311                                          void *arg ) ;
13312 extern int SSL_set_session_secret_cb(SSL *s ,   13312 extern int SSL_set_session_secret_cb(SSL *s ,
13313                                      int (*tls_session_secret_cb)(SSL *s ,   13313                                      int (*tls_session_secret_cb)(SSL *s ,
13314                                                                   void *secret ,   13314                                                                   void *secret ,
13315                                                                   int *secret_len ,   13315                                                                   int *secret_len ,
13316                                                                   struct stack_st_SSL_CIPHER *peer_ciphers ,   13316                                                                   struct stack_st_SSL_CIPHER *peer_ciphers ,
13317                                                                   SSL_CIPHER **cipher ,   13317                                                                   SSL_CIPHER **cipher ,
13318                                                                   void *arg ) ,   13318                                                                   void *arg ) ,
13319                                      void *arg ) ;   13319                                      void *arg ) ;
13320 extern void ERR_load_SSL_strings(void) ;   13320 extern void ERR_load_SSL_strings(void) ;
13321 extern iosocket *iosocket_init(void) ;   13321 extern iosocket *iosocket_init(void) ;
13322 extern void iosocket_free(iosocket *sock ) ;   13322 extern void iosocket_free(iosocket *sock ) ;
13323 extern  __attribute__((__nothrow__)) int epoll_create(int __size ) ;   13323 extern  __attribute__((__nothrow__)) int epoll_create(int __size ) ;
13324 extern  __attribute__((__nothrow__)) int epoll_create1(int __flags ) ;   13324 extern  __attribute__((__nothrow__)) int epoll_create1(int __flags ) ;
13325 extern  __attribute__((__nothrow__)) int epoll_ctl(int __epfd , int __op ,   13325 extern  __attribute__((__nothrow__)) int epoll_ctl(int __epfd , int __op ,
13326                                                    int __fd ,   13326                                                    int __fd ,
13327                                                    struct epoll_event *__event ) ;   13327                                                    struct epoll_event *__event ) ;
13328 extern int epoll_wait(int __epfd , struct epoll_event *__events ,   13328 extern int epoll_wait(int __epfd , struct epoll_event *__events ,
13329                       int __maxevents , int __timeout ) ;   13329                       int __maxevents , int __timeout ) ;
13330 extern int epoll_pwait(int __epfd , struct epoll_event *__events ,   13330 extern int epoll_pwait(int __epfd , struct epoll_event *__events ,
13331                        int __maxevents , int __timeout ,   13331                        int __maxevents , int __timeout ,
13332                        __sigset_t const   *__ss ) ;   13332                        __sigset_t const   *__ss ) ;
13333 extern int poll(struct pollfd *__fds , nfds_t __nfds , int __timeout ) ;   13333 extern int poll(struct pollfd *__fds , nfds_t __nfds , int __timeout ) ;
13334 extern fdevents *fdevent_init(size_t maxfds , fdevent_handler_t type ) ;   13334 extern fdevents *fdevent_init(size_t maxfds , fdevent_handler_t type ) ;
13335 extern int fdevent_reset(fdevents *ev ) ;   13335 extern int fdevent_reset(fdevents *ev ) ;
13336 extern void fdevent_free(fdevents *ev ) ;   13336 extern void fdevent_free(fdevents *ev ) ;
13337 extern int fdevent_poll(fdevents *ev , int timeout_ms ) ;   13337 extern int fdevent_poll(fdevents *ev , int timeout_ms ) ;
13338 extern int fdevent_get_revents(fdevents *ev , size_t event_count ,   13338 extern int fdevent_get_revents(fdevents *ev , size_t event_count ,
13339                                fdevent_revents *revents ) ;   13339                                fdevent_revents *revents ) ;
13340 extern int fdevent_register(fdevents *ev , iosocket *sock ,   13340 extern int fdevent_register(fdevents *ev , iosocket *sock ,
13341                             handler_t (*handler)(void *srv , void *ctx ,   13341                             handler_t (*handler)(void *srv , void *ctx ,
13342                                                  int revents ) , void *ctx ) ;   13342                                                  int revents ) , void *ctx ) ;
13343 extern int fdevent_unregister(fdevents *ev , iosocket *sock ) ;   13343 extern int fdevent_unregister(fdevents *ev , iosocket *sock ) ;
13344 extern int fdevent_event_add(fdevents *ev , iosocket *sock , int events ) ;   13344 extern int fdevent_event_add(fdevents *ev , iosocket *sock , int events ) ;
13345 extern int fdevent_event_del(fdevents *ev , iosocket *sock ) ;   13345 extern int fdevent_event_del(fdevents *ev , iosocket *sock ) ;
13346 extern int fdevent_fcntl_set(fdevents *ev , iosocket *sock ) ;   13346 extern int fdevent_fcntl_set(fdevents *ev , iosocket *sock ) ;
13347 extern fdevent_revents *fdevent_revents_init(void) ;   13347 extern fdevent_revents *fdevent_revents_init(void) ;
13348 extern void fdevent_revents_reset(fdevent_revents *revents ) ;   13348 extern void fdevent_revents_reset(fdevent_revents *revents ) ;
13349 extern void fdevent_revents_add(fdevent_revents *revents , int fd , int events ) ;   13349 extern void fdevent_revents_add(fdevent_revents *revents , int fd , int events ) ;
13350 extern void fdevent_revents_free(fdevent_revents *revents ) ;   13350 extern void fdevent_revents_free(fdevent_revents *revents ) ;
13351 extern fdevent_revent *fdevent_revent_init(void) ;   13351 extern fdevent_revent *fdevent_revent_init(void) ;
13352 extern void fdevent_revent_free(fdevent_revent *revent ) ;   13352 extern void fdevent_revent_free(fdevent_revent *revent ) ;
13353 extern int fdevent_select_init(fdevents *ev ) ;   13353 extern int fdevent_select_init(fdevents *ev ) ;
13354 extern int fdevent_poll_init(fdevents *ev ) ;   13354 extern int fdevent_poll_init(fdevents *ev ) ;
13355 extern int fdevent_linux_rtsig_init(fdevents *ev ) ;   13355 extern int fdevent_linux_rtsig_init(fdevents *ev ) ;
13356 extern int fdevent_linux_sysepoll_init(fdevents *ev ) ;   13356 extern int fdevent_linux_sysepoll_init(fdevents *ev ) ;
13357 extern int fdevent_solaris_devpoll_init(fdevents *ev ) ;   13357 extern int fdevent_solaris_devpoll_init(fdevents *ev ) ;
13358 extern int fdevent_freebsd_kqueue_init(fdevents *ev ) ;   13358 extern int fdevent_freebsd_kqueue_init(fdevents *ev ) ;
13359 __inline extern  __attribute__((__nothrow__)) struct cmsghdr  __attribute__((__gnu_inline__)) *__cmsg_nxthdr(struct msghdr *__mhdr ,   13359 __inline extern  __attribute__((__nothrow__)) struct cmsghdr  __attribute__((__gnu_inline__)) *__cmsg_nxthdr(struct msghdr *__mhdr ,
13360                                                                                                              struct cmsghdr *__cmsg ) ;   13360                                                                                                              struct cmsghdr *__cmsg ) ;
13361 __inline extern  __attribute__((__nothrow__)) struct cmsghdr  __attribute__((__gnu_inline__)) *__cmsg_nxthdr(struct msghdr *__mhdr ,   13361 __inline extern  __attribute__((__nothrow__)) struct cmsghdr  __attribute__((__gnu_inline__)) *__cmsg_nxthdr(struct msghdr *__mhdr ,
13362                                                                                                              struct cmsghdr *__cmsg ) ;   13362                                                                                                              struct cmsghdr *__cmsg ) ;
13363 __inline extern struct cmsghdr  __attribute__((__gnu_inline__)) *__cmsg_nxthdr(struct msghdr *__mhdr ,   13363 __inline extern struct cmsghdr  __attribute__((__gnu_inline__)) *__cmsg_nxthdr(struct msghdr *__mhdr ,
13364                                                                                struct cmsghdr *__cmsg )   13364                                                                                struct cmsghdr *__cmsg )
13365 {   13365 {
13366     13366  
13367     13367  
13368   {   13368   {
13369   if (__cmsg->cmsg_len < sizeof(struct cmsghdr )) {   13369   if (__cmsg->cmsg_len < sizeof(struct cmsghdr )) {
13370     return ((struct cmsghdr  __attribute__((__gnu_inline__)) *)0);   13370     return ((struct cmsghdr  __attribute__((__gnu_inline__)) *)0);
13371   } else {   13371   } else {
13372     13372  
13373   }   13373   }
13374   __cmsg = (struct cmsghdr *)((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U)));   13374   __cmsg = (struct cmsghdr *)((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U)));
13375   if ((unsigned int )((unsigned char *)(__cmsg + 1)) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) {   13375   if ((unsigned int )((unsigned char *)(__cmsg + 1)) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) {
13376     return ((struct cmsghdr  __attribute__((__gnu_inline__)) *)0);   13376     return ((struct cmsghdr  __attribute__((__gnu_inline__)) *)0);
13377   } else   13377   } else
13378   if ((unsigned int )((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U))) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) {   13378   if ((unsigned int )((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U))) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) {
13379     return ((struct cmsghdr  __attribute__((__gnu_inline__)) *)0);   13379     return ((struct cmsghdr  __attribute__((__gnu_inline__)) *)0);
13380   } else {   13380   } else {
13381     13381  
13382   }   13382   }
13383   return ((struct cmsghdr  __attribute__((__gnu_inline__)) *)__cmsg);   13383   return ((struct cmsghdr  __attribute__((__gnu_inline__)) *)__cmsg);
13384 }   13384 }
13385 }   13385 }
13386 extern int recvmmsg(int __fd , struct mmsghdr *__vmessages ,   13386 extern int recvmmsg(int __fd , struct mmsghdr *__vmessages ,
13387                     unsigned int __vlen , int __flags ,   13387                     unsigned int __vlen , int __flags ,
13388                     struct timespec  const  *__tmo ) ;   13388                     struct timespec  const  *__tmo ) ;
13389 extern  __attribute__((__nothrow__)) int socket(int __domain , int __type ,   13389 extern  __attribute__((__nothrow__)) int socket(int __domain , int __type ,
13390                                                 int __protocol ) ;   13390                                                 int __protocol ) ;
13391 extern  __attribute__((__nothrow__)) int socketpair(int __domain , int __type ,   13391 extern  __attribute__((__nothrow__)) int socketpair(int __domain , int __type ,
13392                                                     int __protocol , int *__fds ) ;   13392                                                     int __protocol , int *__fds ) ;
13393 extern  __attribute__((__nothrow__)) int bind(int __fd ,   13393 extern  __attribute__((__nothrow__)) int bind(int __fd ,
13394                                               struct sockaddr  const  *__addr ,   13394                                               struct sockaddr  const  *__addr ,
13395                                               socklen_t __len ) ;   13395                                               socklen_t __len ) ;
13396 extern  __attribute__((__nothrow__)) int getsockname(int __fd ,   13396 extern  __attribute__((__nothrow__)) int getsockname(int __fd ,
13397                                                      struct sockaddr * __restrict  __addr ,   13397                                                      struct sockaddr * __restrict  __addr ,
13398                                                      socklen_t * __restrict  __len ) ;   13398                                                      socklen_t * __restrict  __len ) ;
13399 extern int connect(int __fd , struct sockaddr  const  *__addr , socklen_t __len ) ;   13399 extern int connect(int __fd , struct sockaddr  const  *__addr , socklen_t __len ) ;
13400 extern  __attribute__((__nothrow__)) int getpeername(int __fd ,   13400 extern  __attribute__((__nothrow__)) int getpeername(int __fd ,
13401                                                      struct sockaddr * __restrict  __addr ,   13401                                                      struct sockaddr * __restrict  __addr ,
13402                                                      socklen_t * __restrict  __len ) ;   13402                                                      socklen_t * __restrict  __len ) ;
13403 extern ssize_t send(int __fd , void const   *__buf , size_t __n , int __flags ) ;   13403 extern ssize_t send(int __fd , void const   *__buf , size_t __n , int __flags ) ;
13404 extern ssize_t recv(int __fd , void *__buf , size_t __n , int __flags ) ;   13404 extern ssize_t recv(int __fd , void *__buf , size_t __n , int __flags ) ;
13405 extern ssize_t sendto(int __fd , void const   *__buf , size_t __n ,   13405 extern ssize_t sendto(int __fd , void const   *__buf , size_t __n ,
13406                       int __flags , struct sockaddr  const  *__addr ,   13406                       int __flags , struct sockaddr  const  *__addr ,
13407                       socklen_t __addr_len ) ;   13407                       socklen_t __addr_len ) ;
13408 extern ssize_t recvfrom(int __fd , void * __restrict  __buf , size_t __n ,   13408 extern ssize_t recvfrom(int __fd , void * __restrict  __buf , size_t __n ,
13409                         int __flags , struct sockaddr * __restrict  __addr ,   13409                         int __flags , struct sockaddr * __restrict  __addr ,
13410                         socklen_t * __restrict  __addr_len ) ;   13410                         socklen_t * __restrict  __addr_len ) ;
13411 extern ssize_t sendmsg(int __fd , struct msghdr  const  *__message ,   13411 extern ssize_t sendmsg(int __fd , struct msghdr  const  *__message ,
13412                        int __flags ) ;   13412                        int __flags ) ;
13413 extern ssize_t recvmsg(int __fd , struct msghdr *__message , int __flags ) ;   13413 extern ssize_t recvmsg(int __fd , struct msghdr *__message , int __flags ) ;
13414 extern  __attribute__((__nothrow__)) int getsockopt(int __fd , int __level ,   13414 extern  __attribute__((__nothrow__)) int getsockopt(int __fd , int __level ,
13415                                                     int __optname ,   13415                                                     int __optname ,
13416                                                     void * __restrict  __optval ,   13416                                                     void * __restrict  __optval ,
13417                                                     socklen_t * __restrict  __optlen ) ;   13417                                                     socklen_t * __restrict  __optlen ) ;
13418 extern  __attribute__((__nothrow__)) int setsockopt(int __fd , int __level ,   13418 extern  __attribute__((__nothrow__)) int setsockopt(int __fd , int __level ,
13419                                                     int __optname ,   13419                                                     int __optname ,
13420                                                     void const   *__optval ,   13420                                                     void const   *__optval ,
13421                                                     socklen_t __optlen ) ;   13421                                                     socklen_t __optlen ) ;
13422 extern  __attribute__((__nothrow__)) int listen(int __fd , int __n ) ;   13422 extern  __attribute__((__nothrow__)) int listen(int __fd , int __n ) ;
13423 extern int accept(int __fd , struct sockaddr * __restrict  __addr ,   13423 extern int accept(int __fd , struct sockaddr * __restrict  __addr ,
13424                   socklen_t * __restrict  __addr_len ) ;   13424                   socklen_t * __restrict  __addr_len ) ;
13425 extern  __attribute__((__nothrow__)) int shutdown(int __fd , int __how ) ;   13425 extern  __attribute__((__nothrow__)) int shutdown(int __fd , int __how ) ;
13426 extern  __attribute__((__nothrow__)) int sockatmark(int __fd ) ;   13426 extern  __attribute__((__nothrow__)) int sockatmark(int __fd ) ;
13427 extern  __attribute__((__nothrow__)) int isfdtype(int __fd , int __fdtype ) ;   13427 extern  __attribute__((__nothrow__)) int isfdtype(int __fd , int __fdtype ) ;
13428 extern  __attribute__((__nothrow__)) int ioctl(int __fd ,   13428 extern  __attribute__((__nothrow__)) int ioctl(int __fd ,
13429                                                unsigned long __request  , ...) ;   13429                                                unsigned long __request  , ...) ;
13430 extern struct in6_addr  const  in6addr_any ;   13430 extern struct in6_addr  const  in6addr_any ;
13431 extern struct in6_addr  const  in6addr_loopback ;   13431 extern struct in6_addr  const  in6addr_loopback ;
13432 extern  __attribute__((__nothrow__)) uint32_t ntohl(uint32_t __netlong )  __attribute__((__const__)) ;   13432 extern  __attribute__((__nothrow__)) uint32_t ntohl(uint32_t __netlong )  __attribute__((__const__)) ;
13433 extern  __attribute__((__nothrow__)) uint16_t ntohs(uint16_t __netshort )  __attribute__((__const__)) ;   13433 extern  __attribute__((__nothrow__)) uint16_t ntohs(uint16_t __netshort )  __attribute__((__const__)) ;
13434 extern  __attribute__((__nothrow__)) uint32_t htonl(uint32_t __hostlong )  __attribute__((__const__)) ;   13434 extern  __attribute__((__nothrow__)) uint32_t htonl(uint32_t __hostlong )  __attribute__((__const__)) ;
13435 extern  __attribute__((__nothrow__)) uint16_t htons(uint16_t __hostshort )  __attribute__((__const__)) ;   13435 extern  __attribute__((__nothrow__)) uint16_t htons(uint16_t __hostshort )  __attribute__((__const__)) ;
13436 extern  __attribute__((__nothrow__)) int bindresvport(int __sockfd ,   13436 extern  __attribute__((__nothrow__)) int bindresvport(int __sockfd ,
13437                                                       struct sockaddr_in *__sock_in ) ;   13437                                                       struct sockaddr_in *__sock_in ) ;
13438 extern  __attribute__((__nothrow__)) int bindresvport6(int __sockfd ,   13438 extern  __attribute__((__nothrow__)) int bindresvport6(int __sockfd ,
13439                                                        struct sockaddr_in6 *__sock_in ) ;   13439                                                        struct sockaddr_in6 *__sock_in ) ;
13440 extern  __attribute__((__nothrow__)) in_addr_t inet_addr(char const   *__cp ) ;   13440 extern  __attribute__((__nothrow__)) in_addr_t inet_addr(char const   *__cp ) ;
13441 extern  __attribute__((__nothrow__)) in_addr_t inet_lnaof(struct in_addr __in ) ;   13441 extern  __attribute__((__nothrow__)) in_addr_t inet_lnaof(struct in_addr __in ) ;
13442 extern  __attribute__((__nothrow__)) struct in_addr inet_makeaddr(in_addr_t __net ,   13442 extern  __attribute__((__nothrow__)) struct in_addr inet_makeaddr(in_addr_t __net ,
13443                                                                   in_addr_t __host ) ;   13443                                                                   in_addr_t __host ) ;
13444 extern  __attribute__((__nothrow__)) in_addr_t inet_netof(struct in_addr __in ) ;   13444 extern  __attribute__((__nothrow__)) in_addr_t inet_netof(struct in_addr __in ) ;
13445 extern  __attribute__((__nothrow__)) in_addr_t inet_network(char const   *__cp ) ;   13445 extern  __attribute__((__nothrow__)) in_addr_t inet_network(char const   *__cp ) ;
13446 extern  __attribute__((__nothrow__)) char *inet_ntoa(struct in_addr __in ) ;   13446 extern  __attribute__((__nothrow__)) char *inet_ntoa(struct in_addr __in ) ;
13447 extern  __attribute__((__nothrow__)) int inet_pton(int __af ,   13447 extern  __attribute__((__nothrow__)) int inet_pton(int __af ,
13448                                                    char const   * __restrict  __cp ,   13448                                                    char const   * __restrict  __cp ,
13449                                                    void * __restrict  __buf ) ;   13449                                                    void * __restrict  __buf ) ;
13450 extern  __attribute__((__nothrow__)) char const   *inet_ntop(int __af ,   13450 extern  __attribute__((__nothrow__)) char const   *inet_ntop(int __af ,
13451                                                              void const   * __restrict  __cp ,   13451                                                              void const   * __restrict  __cp ,
13452                                                              char * __restrict  __buf ,   13452                                                              char * __restrict  __buf ,
13453                                                              socklen_t __len ) ;   13453                                                              socklen_t __len ) ;
13454 extern  __attribute__((__nothrow__)) int inet_aton(char const   *__cp ,   13454 extern  __attribute__((__nothrow__)) int inet_aton(char const   *__cp ,
13455                                                    struct in_addr *__inp ) ;   13455                                                    struct in_addr *__inp ) ;
13456 extern  __attribute__((__nothrow__)) char *inet_neta(in_addr_t __net ,   13456 extern  __attribute__((__nothrow__)) char *inet_neta(in_addr_t __net ,
13457                                                      char *__buf , size_t __len ) ;   13457                                                      char *__buf , size_t __len ) ;
13458 extern  __attribute__((__nothrow__)) char *inet_net_ntop(int __af ,   13458 extern  __attribute__((__nothrow__)) char *inet_net_ntop(int __af ,
13459                                                          void const   *__cp ,   13459                                                          void const   *__cp ,
13460                                                          int __bits ,   13460                                                          int __bits ,
13461                                                          char *__buf ,   13461                                                          char *__buf ,
13462                                                          size_t __len ) ;   13462                                                          size_t __len ) ;
13463 extern  __attribute__((__nothrow__)) int inet_net_pton(int __af ,   13463 extern  __attribute__((__nothrow__)) int inet_net_pton(int __af ,
13464                                                        char const   *__cp ,   13464                                                        char const   *__cp ,
13465                                                        void *__buf ,   13465                                                        void *__buf ,
13466                                                        size_t __len ) ;   13466                                                        size_t __len ) ;
13467 extern  __attribute__((__nothrow__)) unsigned int inet_nsap_addr(char const   *__cp ,   13467 extern  __attribute__((__nothrow__)) unsigned int inet_nsap_addr(char const   *__cp ,
13468                                                                  unsigned char *__buf ,   13468                                                                  unsigned char *__buf ,
13469                                                                  int __len ) ;   13469                                                                  int __len ) ;
13470 extern  __attribute__((__nothrow__)) char *inet_nsap_ntoa(int __len ,   13470 extern  __attribute__((__nothrow__)) char *inet_nsap_ntoa(int __len ,
13471                                                           unsigned char const   *__cp ,   13471                                                           unsigned char const   *__cp ,
13472                                                           char *__buf ) ;   13472                                                           char *__buf ) ;
13473 extern  __attribute__((__nothrow__)) void setrpcent(int __stayopen ) ;   13473 extern  __attribute__((__nothrow__)) void setrpcent(int __stayopen ) ;
13474 extern  __attribute__((__nothrow__)) void endrpcent(void) ;   13474 extern  __attribute__((__nothrow__)) void endrpcent(void) ;
13475 extern  __attribute__((__nothrow__)) struct rpcent *getrpcbyname(char const   *__name ) ;   13475 extern  __attribute__((__nothrow__)) struct rpcent *getrpcbyname(char const   *__name ) ;
13476 extern  __attribute__((__nothrow__)) struct rpcent *getrpcbynumber(int __number ) ;   13476 extern  __attribute__((__nothrow__)) struct rpcent *getrpcbynumber(int __number ) ;
13477 extern  __attribute__((__nothrow__)) struct rpcent *getrpcent(void) ;   13477 extern  __attribute__((__nothrow__)) struct rpcent *getrpcent(void) ;
13478 extern  __attribute__((__nothrow__)) int getrpcbyname_r(char const   *__name ,   13478 extern  __attribute__((__nothrow__)) int getrpcbyname_r(char const   *__name ,
13479                                                         struct rpcent *__result_buf ,   13479                                                         struct rpcent *__result_buf ,
13480                                                         char *__buffer ,   13480                                                         char *__buffer ,
13481                                                         size_t __buflen ,   13481                                                         size_t __buflen ,
13482                                                         struct rpcent **__result ) ;   13482                                                         struct rpcent **__result ) ;
13483 extern  __attribute__((__nothrow__)) int getrpcbynumber_r(int __number ,   13483 extern  __attribute__((__nothrow__)) int getrpcbynumber_r(int __number ,
13484                                                           struct rpcent *__result_buf ,   13484                                                           struct rpcent *__result_buf ,
13485                                                           char *__buffer ,   13485                                                           char *__buffer ,
13486                                                           size_t __buflen ,   13486                                                           size_t __buflen ,
13487                                                           struct rpcent **__result ) ;   13487                                                           struct rpcent **__result ) ;
13488 extern  __attribute__((__nothrow__)) int getrpcent_r(struct rpcent *__result_buf ,   13488 extern  __attribute__((__nothrow__)) int getrpcent_r(struct rpcent *__result_buf ,
13489                                                      char *__buffer ,   13489                                                      char *__buffer ,
13490                                                      size_t __buflen ,   13490                                                      size_t __buflen ,
13491                                                      struct rpcent **__result ) ;   13491                                                      struct rpcent **__result ) ;
13492 extern  __attribute__((__nothrow__)) int *__h_errno_location(void)  __attribute__((__const__)) ;   13492 extern  __attribute__((__nothrow__)) int *__h_errno_location(void)  __attribute__((__const__)) ;
13493 extern  __attribute__((__nothrow__)) void herror(char const   *__str ) ;   13493 extern  __attribute__((__nothrow__)) void herror(char const   *__str ) ;
13494 extern  __attribute__((__nothrow__)) char const   *hstrerror(int __err_num ) ;   13494 extern  __attribute__((__nothrow__)) char const   *hstrerror(int __err_num ) ;
13495 extern void sethostent(int __stay_open ) ;   13495 extern void sethostent(int __stay_open ) ;
13496 extern void endhostent(void) ;   13496 extern void endhostent(void) ;
13497 extern struct hostent *gethostent(void) ;   13497 extern struct hostent *gethostent(void) ;
13498 extern struct hostent *gethostbyaddr(void const   *__addr , __socklen_t __len ,   13498 extern struct hostent *gethostbyaddr(void const   *__addr , __socklen_t __len ,
13499                                      int __type ) ;   13499                                      int __type ) ;
13500 extern struct hostent *gethostbyname(char const   *__name ) ;   13500 extern struct hostent *gethostbyname(char const   *__name ) ;
13501 extern struct hostent *gethostbyname2(char const   *__name , int __af ) ;   13501 extern struct hostent *gethostbyname2(char const   *__name , int __af ) ;
13502 extern int gethostent_r(struct hostent * __restrict  __result_buf ,   13502 extern int gethostent_r(struct hostent * __restrict  __result_buf ,
13503                         char * __restrict  __buf , size_t __buflen ,   13503                         char * __restrict  __buf , size_t __buflen ,
13504                         struct hostent ** __restrict  __result ,   13504                         struct hostent ** __restrict  __result ,
13505                         int * __restrict  __h_errnop ) ;   13505                         int * __restrict  __h_errnop ) ;
13506 extern int gethostbyaddr_r(void const   * __restrict  __addr ,   13506 extern int gethostbyaddr_r(void const   * __restrict  __addr ,
13507                            __socklen_t __len , int __type ,   13507                            __socklen_t __len , int __type ,
13508                            struct hostent * __restrict  __result_buf ,   13508                            struct hostent * __restrict  __result_buf ,
13509                            char * __restrict  __buf , size_t __buflen ,   13509                            char * __restrict  __buf , size_t __buflen ,
13510                            struct hostent ** __restrict  __result ,   13510                            struct hostent ** __restrict  __result ,
13511                            int * __restrict  __h_errnop ) ;   13511                            int * __restrict  __h_errnop ) ;
13512 extern int gethostbyname_r(char const   * __restrict  __name ,   13512 extern int gethostbyname_r(char const   * __restrict  __name ,
13513                            struct hostent * __restrict  __result_buf ,   13513                            struct hostent * __restrict  __result_buf ,
13514                            char * __restrict  __buf , size_t __buflen ,   13514                            char * __restrict  __buf , size_t __buflen ,
13515                            struct hostent ** __restrict  __result ,   13515                            struct hostent ** __restrict  __result ,
13516                            int * __restrict  __h_errnop ) ;   13516                            int * __restrict  __h_errnop ) ;
13517 extern int gethostbyname2_r(char const   * __restrict  __name , int __af ,   13517 extern int gethostbyname2_r(char const   * __restrict  __name , int __af ,
13518                             struct hostent * __restrict  __result_buf ,   13518                             struct hostent * __restrict  __result_buf ,
13519                             char * __restrict  __buf , size_t __buflen ,   13519                             char * __restrict  __buf , size_t __buflen ,
13520                             struct hostent ** __restrict  __result ,   13520                             struct hostent ** __restrict  __result ,
13521                             int * __restrict  __h_errnop ) ;   13521                             int * __restrict  __h_errnop ) ;
13522 extern void setnetent(int __stay_open ) ;   13522 extern void setnetent(int __stay_open ) ;
13523 extern void endnetent(void) ;   13523 extern void endnetent(void) ;
13524 extern struct netent *getnetent(void) ;   13524 extern struct netent *getnetent(void) ;
13525 extern struct netent *getnetbyaddr(uint32_t __net , int __type ) ;   13525 extern struct netent *getnetbyaddr(uint32_t __net , int __type ) ;
13526 extern struct netent *getnetbyname(char const   *__name ) ;   13526 extern struct netent *getnetbyname(char const   *__name ) ;
13527 extern int getnetent_r(struct netent * __restrict  __result_buf ,   13527 extern int getnetent_r(struct netent * __restrict  __result_buf ,
13528                        char * __restrict  __buf , size_t __buflen ,   13528                        char * __restrict  __buf , size_t __buflen ,
13529                        struct netent ** __restrict  __result ,   13529                        struct netent ** __restrict  __result ,
13530                        int * __restrict  __h_errnop ) ;   13530                        int * __restrict  __h_errnop ) ;
13531 extern int getnetbyaddr_r(uint32_t __net , int __type ,   13531 extern int getnetbyaddr_r(uint32_t __net , int __type ,
13532                           struct netent * __restrict  __result_buf ,   13532                           struct netent * __restrict  __result_buf ,
13533                           char * __restrict  __buf , size_t __buflen ,   13533                           char * __restrict  __buf , size_t __buflen ,
13534                           struct netent ** __restrict  __result ,   13534                           struct netent ** __restrict  __result ,
13535                           int * __restrict  __h_errnop ) ;   13535                           int * __restrict  __h_errnop ) ;
13536 extern int getnetbyname_r(char const   * __restrict  __name ,   13536 extern int getnetbyname_r(char const   * __restrict  __name ,
13537                           struct netent * __restrict  __result_buf ,   13537                           struct netent * __restrict  __result_buf ,
13538                           char * __restrict  __buf , size_t __buflen ,   13538                           char * __restrict  __buf , size_t __buflen ,
13539                           struct netent ** __restrict  __result ,   13539                           struct netent ** __restrict  __result ,
13540                           int * __restrict  __h_errnop ) ;   13540                           int * __restrict  __h_errnop ) ;
13541 extern void setservent(int __stay_open ) ;   13541 extern void setservent(int __stay_open ) ;
13542 extern void endservent(void) ;   13542 extern void endservent(void) ;
13543 extern struct servent *getservent(void) ;   13543 extern struct servent *getservent(void) ;
13544 extern struct servent *getservbyname(char const   *__name ,   13544 extern struct servent *getservbyname(char const   *__name ,
13545                                      char const   *__proto ) ;   13545                                      char const   *__proto ) ;
13546 extern struct servent *getservbyport(int __port , char const   *__proto ) ;   13546 extern struct servent *getservbyport(int __port , char const   *__proto ) ;
13547 extern int getservent_r(struct servent * __restrict  __result_buf ,   13547 extern int getservent_r(struct servent * __restrict  __result_buf ,
13548                         char * __restrict  __buf , size_t __buflen ,   13548                         char * __restrict  __buf , size_t __buflen ,
13549                         struct servent ** __restrict  __result ) ;   13549                         struct servent ** __restrict  __result ) ;
13550 extern int getservbyname_r(char const   * __restrict  __name ,   13550 extern int getservbyname_r(char const   * __restrict  __name ,
13551                            char const   * __restrict  __proto ,   13551                            char const   * __restrict  __proto ,
13552                            struct servent * __restrict  __result_buf ,   13552                            struct servent * __restrict  __result_buf ,
13553                            char * __restrict  __buf , size_t __buflen ,   13553                            char * __restrict  __buf , size_t __buflen ,
13554                            struct servent ** __restrict  __result ) ;   13554                            struct servent ** __restrict  __result ) ;
13555 extern int getservbyport_r(int __port , char const   * __restrict  __proto ,   13555 extern int getservbyport_r(int __port , char const   * __restrict  __proto ,
13556                            struct servent * __restrict  __result_buf ,   13556                            struct servent * __restrict  __result_buf ,
13557                            char * __restrict  __buf , size_t __buflen ,   13557                            char * __restrict  __buf , size_t __buflen ,
13558                            struct servent ** __restrict  __result ) ;   13558                            struct servent ** __restrict  __result ) ;
13559 extern void setprotoent(int __stay_open ) ;   13559 extern void setprotoent(int __stay_open ) ;
13560 extern void endprotoent(void) ;   13560 extern void endprotoent(void) ;
13561 extern struct protoent *getprotoent(void) ;   13561 extern struct protoent *getprotoent(void) ;
13562 extern struct protoent *getprotobyname(char const   *__name ) ;   13562 extern struct protoent *getprotobyname(char const   *__name ) ;
13563 extern struct protoent *getprotobynumber(int __proto ) ;   13563 extern struct protoent *getprotobynumber(int __proto ) ;
13564 extern int getprotoent_r(struct protoent * __restrict  __result_buf ,   13564 extern int getprotoent_r(struct protoent * __restrict  __result_buf ,
13565                          char * __restrict  __buf , size_t __buflen ,   13565                          char * __restrict  __buf , size_t __buflen ,
13566                          struct protoent ** __restrict  __result ) ;   13566                          struct protoent ** __restrict  __result ) ;
13567 extern int getprotobyname_r(char const   * __restrict  __name ,   13567 extern int getprotobyname_r(char const   * __restrict  __name ,
13568                             struct protoent * __restrict  __result_buf ,   13568                             struct protoent * __restrict  __result_buf ,
13569                             char * __restrict  __buf , size_t __buflen ,   13569                             char * __restrict  __buf , size_t __buflen ,
13570                             struct protoent ** __restrict  __result ) ;   13570                             struct protoent ** __restrict  __result ) ;
13571 extern int getprotobynumber_r(int __proto ,   13571 extern int getprotobynumber_r(int __proto ,
13572                               struct protoent * __restrict  __result_buf ,   13572                               struct protoent * __restrict  __result_buf ,
13573                               char * __restrict  __buf , size_t __buflen ,   13573                               char * __restrict  __buf , size_t __buflen ,
13574                               struct protoent ** __restrict  __result ) ;   13574                               struct protoent ** __restrict  __result ) ;
13575 extern int setnetgrent(char const   *__netgroup ) ;   13575 extern int setnetgrent(char const   *__netgroup ) ;
13576 extern void endnetgrent(void) ;   13576 extern void endnetgrent(void) ;
13577 extern int getnetgrent(char ** __restrict  __hostp ,   13577 extern int getnetgrent(char ** __restrict  __hostp ,
13578                        char ** __restrict  __userp ,   13578                        char ** __restrict  __userp ,
13579                        char ** __restrict  __domainp ) ;   13579                        char ** __restrict  __domainp ) ;
13580 extern int innetgr(char const   *__netgroup , char const   *__host ,   13580 extern int innetgr(char const   *__netgroup , char const   *__host ,
13581                    char const   *__user , char const   *__domain ) ;   13581                    char const   *__user , char const   *__domain ) ;
13582 extern int getnetgrent_r(char ** __restrict  __hostp ,   13582 extern int getnetgrent_r(char ** __restrict  __hostp ,
13583                          char ** __restrict  __userp ,   13583                          char ** __restrict  __userp ,
13584                          char ** __restrict  __domainp ,   13584                          char ** __restrict  __domainp ,
13585                          char * __restrict  __buffer , size_t __buflen ) ;   13585                          char * __restrict  __buffer , size_t __buflen ) ;
13586 extern int rcmd(char ** __restrict  __ahost , unsigned short __rport ,   13586 extern int rcmd(char ** __restrict  __ahost , unsigned short __rport ,
13587                 char const   * __restrict  __locuser ,   13587                 char const   * __restrict  __locuser ,
13588                 char const   * __restrict  __remuser ,   13588                 char const   * __restrict  __remuser ,
13589                 char const   * __restrict  __cmd , int * __restrict  __fd2p ) ;   13589                 char const   * __restrict  __cmd , int * __restrict  __fd2p ) ;
13590 extern int rcmd_af(char ** __restrict  __ahost , unsigned short __rport ,   13590 extern int rcmd_af(char ** __restrict  __ahost , unsigned short __rport ,
13591                    char const   * __restrict  __locuser ,   13591                    char const   * __restrict  __locuser ,
13592                    char const   * __restrict  __remuser ,   13592                    char const   * __restrict  __remuser ,
13593                    char const   * __restrict  __cmd , int * __restrict  __fd2p ,   13593                    char const   * __restrict  __cmd , int * __restrict  __fd2p ,
13594                    sa_family_t __af ) ;   13594                    sa_family_t __af ) ;
13595 extern int rexec(char ** __restrict  __ahost , int __rport ,   13595 extern int rexec(char ** __restrict  __ahost , int __rport ,
13596                  char const   * __restrict  __name ,   13596                  char const   * __restrict  __name ,
13597                  char const   * __restrict  __pass ,   13597                  char const   * __restrict  __pass ,
13598                  char const   * __restrict  __cmd , int * __restrict  __fd2p ) ;   13598                  char const   * __restrict  __cmd , int * __restrict  __fd2p ) ;
13599 extern int rexec_af(char ** __restrict  __ahost , int __rport ,   13599 extern int rexec_af(char ** __restrict  __ahost , int __rport ,
13600                     char const   * __restrict  __name ,   13600                     char const   * __restrict  __name ,
13601                     char const   * __restrict  __pass ,   13601                     char const   * __restrict  __pass ,
13602                     char const   * __restrict  __cmd ,   13602                     char const   * __restrict  __cmd ,
13603                     int * __restrict  __fd2p , sa_family_t __af ) ;   13603                     int * __restrict  __fd2p , sa_family_t __af ) ;
13604 extern int ruserok(char const   *__rhost , int __suser ,   13604 extern int ruserok(char const   *__rhost , int __suser ,
13605                    char const   *__remuser , char const   *__locuser ) ;   13605                    char const   *__remuser , char const   *__locuser ) ;
13606 extern int ruserok_af(char const   *__rhost , int __suser ,   13606 extern int ruserok_af(char const   *__rhost , int __suser ,
13607                       char const   *__remuser , char const   *__locuser ,   13607                       char const   *__remuser , char const   *__locuser ,
13608                       sa_family_t __af ) ;   13608                       sa_family_t __af ) ;
13609 extern int iruserok(uint32_t __raddr , int __suser , char const   *__remuser ,   13609 extern int iruserok(uint32_t __raddr , int __suser , char const   *__remuser ,
13610                     char const   *__locuser ) ;   13610                     char const   *__locuser ) ;
13611 extern int iruserok_af(void const   *__raddr , int __suser ,   13611 extern int iruserok_af(void const   *__raddr , int __suser ,
13612                        char const   *__remuser , char const   *__locuser ,   13612                        char const   *__remuser , char const   *__locuser ,
13613                        sa_family_t __af ) ;   13613                        sa_family_t __af ) ;
13614 extern int rresvport(int *__alport ) ;   13614 extern int rresvport(int *__alport ) ;
13615 extern int rresvport_af(int *__alport , sa_family_t __af ) ;   13615 extern int rresvport_af(int *__alport , sa_family_t __af ) ;
13616 extern int getaddrinfo(char const   * __restrict  __name ,   13616 extern int getaddrinfo(char const   * __restrict  __name ,
13617                        char const   * __restrict  __service ,   13617                        char const   * __restrict  __service ,
13618                        struct addrinfo  const  * __restrict  __req ,   13618                        struct addrinfo  const  * __restrict  __req ,
13619                        struct addrinfo ** __restrict  __pai ) ;   13619                        struct addrinfo ** __restrict  __pai ) ;
13620 extern  __attribute__((__nothrow__)) void freeaddrinfo(struct addrinfo *__ai ) ;   13620 extern  __attribute__((__nothrow__)) void freeaddrinfo(struct addrinfo *__ai ) ;
13621 extern  __attribute__((__nothrow__)) char const   *gai_strerror(int __ecode ) ;   13621 extern  __attribute__((__nothrow__)) char const   *gai_strerror(int __ecode ) ;
13622 extern int getnameinfo(struct sockaddr  const  * __restrict  __sa ,   13622 extern int getnameinfo(struct sockaddr  const  * __restrict  __sa ,
13623                        socklen_t __salen , char * __restrict  __host ,   13623                        socklen_t __salen , char * __restrict  __host ,
13624                        socklen_t __hostlen , char * __restrict  __serv ,   13624                        socklen_t __hostlen , char * __restrict  __serv ,
13625                        socklen_t __servlen , unsigned int __flags ) ;   13625                        socklen_t __servlen , unsigned int __flags ) ;
13626 extern http_req *http_request_init(void) ;   13626 extern http_req *http_request_init(void) ;
13627 extern void http_request_free(http_req *req ) ;   13627 extern void http_request_free(http_req *req ) ;
13628 extern void http_request_reset(http_req *req ) ;   13628 extern void http_request_reset(http_req *req ) ;
13629 extern parse_status_t http_request_parse_cq(chunkqueue *cq ,   13629 extern parse_status_t http_request_parse_cq(chunkqueue *cq ,
13630                                             http_req *http_request ) ;   13630                                             http_req *http_request ) ;
13631 extern int io_queue_init(int maxevents , io_context_t *ctxp ) ;   13631 extern int io_queue_init(int maxevents , io_context_t *ctxp ) ;
13632 extern int io_queue_release(io_context_t ctx ) ;   13632 extern int io_queue_release(io_context_t ctx ) ;
13633 extern int io_queue_run(io_context_t ctx ) ;   13633 extern int io_queue_run(io_context_t ctx ) ;
13634 extern int io_setup(int maxevents , io_context_t *ctxp ) ;   13634 extern int io_setup(int maxevents , io_context_t *ctxp ) ;
13635 extern int io_destroy(io_context_t ctx ) ;   13635 extern int io_destroy(io_context_t ctx ) ;
13636 extern int io_submit(io_context_t ctx , long nr , struct iocb **ios ) ;   13636 extern int io_submit(io_context_t ctx , long nr , struct iocb **ios ) ;
13637 extern int io_cancel(io_context_t ctx , struct iocb *iocb ,   13637 extern int io_cancel(io_context_t ctx , struct iocb *iocb ,
13638                      struct io_event *evt ) ;   13638                      struct io_event *evt ) ;
13639 extern int io_getevents(io_context_t ctx_id , long min_nr , long nr ,   13639 extern int io_getevents(io_context_t ctx_id , long min_nr , long nr ,
13640                         struct io_event *events , struct timespec *timeout ) ;   13640                         struct io_event *events , struct timespec *timeout ) ;
13641 __inline static void io_set_callback(struct iocb *iocb ,   13641 __inline static void io_set_callback(struct iocb *iocb ,
13642                                      void (*cb)(io_context_t ctx ,   13642                                      void (*cb)(io_context_t ctx ,
13643                                                 struct iocb *iocb , long res ,   13643                                                 struct iocb *iocb , long res ,
13644                                                 long res2 ) )   13644                                                 long res2 ) )
13645 {   13645 {
13646     13646  
13647     13647  
13648   {   13648   {
13649   iocb->data = (void *)cb;   13649   iocb->data = (void *)cb;
13650   return;   13650   return;
13651 }   13651 }
13652 }   13652 }
13653 __inline static void io_prep_pread(struct iocb *iocb , int fd , void *buf ,   13653 __inline static void io_prep_pread(struct iocb *iocb , int fd , void *buf ,
13654                                    size_t count , long long offset )   13654                                    size_t count , long long offset )
13655 {   13655 {
13656     13656  
13657     13657  
13658   {   13658   {
13659   memset((void *)iocb, 0, sizeof(*iocb));   13659   memset((void *)iocb, 0, sizeof(*iocb));
13660   iocb->aio_fildes = fd;   13660   iocb->aio_fildes = fd;
13661   iocb->aio_lio_opcode = (short)0;   13661   iocb->aio_lio_opcode = (short)0;
13662   iocb->aio_reqprio = (short)0;   13662   iocb->aio_reqprio = (short)0;
13663   iocb->u.c.buf = buf;   13663   iocb->u.c.buf = buf;
13664   iocb->u.c.nbytes = (unsigned long )count;   13664   iocb->u.c.nbytes = (unsigned long )count;
13665   iocb->u.c.offset = offset;   13665   iocb->u.c.offset = offset;
13666   return;   13666   return;
13667 }   13667 }
13668 }   13668 }
13669 __inline static void io_prep_pwrite(struct iocb *iocb , int fd , void *buf ,   13669 __inline static void io_prep_pwrite(struct iocb *iocb , int fd , void *buf ,
13670                                     size_t count , long long offset )   13670                                     size_t count , long long offset )
13671 {   13671 {
13672     13672  
13673     13673  
13674   {   13674   {
13675   memset((void *)iocb, 0, sizeof(*iocb));   13675   memset((void *)iocb, 0, sizeof(*iocb));
13676   iocb->aio_fildes = fd;   13676   iocb->aio_fildes = fd;
13677   iocb->aio_lio_opcode = (short)1;   13677   iocb->aio_lio_opcode = (short)1;
13678   iocb->aio_reqprio = (short)0;   13678   iocb->aio_reqprio = (short)0;
13679   iocb->u.c.buf = buf;   13679   iocb->u.c.buf = buf;
13680   iocb->u.c.nbytes = (unsigned long )count;   13680   iocb->u.c.nbytes = (unsigned long )count;
13681   iocb->u.c.offset = offset;   13681   iocb->u.c.offset = offset;
13682   return;   13682   return;
13683 }   13683 }
13684 }   13684 }
13685 __inline static void io_prep_preadv(struct iocb *iocb , int fd ,   13685 __inline static void io_prep_preadv(struct iocb *iocb , int fd ,
13686                                     struct iovec  const  *iov , int iovcnt ,   13686                                     struct iovec  const  *iov , int iovcnt ,
13687                                     long long offset )   13687                                     long long offset )
13688 {   13688 {
13689     13689  
13690     13690  
13691   {   13691   {
13692   memset((void *)iocb, 0, sizeof(*iocb));   13692   memset((void *)iocb, 0, sizeof(*iocb));
13693   iocb->aio_fildes = fd;   13693   iocb->aio_fildes = fd;
13694   iocb->aio_lio_opcode = (short)7;   13694   iocb->aio_lio_opcode = (short)7;
13695   iocb->aio_reqprio = (short)0;   13695   iocb->aio_reqprio = (short)0;
13696   iocb->u.c.buf = (void *)iov;   13696   iocb->u.c.buf = (void *)iov;
13697   iocb->u.c.nbytes = (unsigned long )iovcnt;   13697   iocb->u.c.nbytes = (unsigned long )iovcnt;
13698   iocb->u.c.offset = offset;   13698   iocb->u.c.offset = offset;
13699   return;   13699   return;
13700 }   13700 }
13701 }   13701 }
13702 __inline static void io_prep_pwritev(struct iocb *iocb , int fd ,   13702 __inline static void io_prep_pwritev(struct iocb *iocb , int fd ,
13703                                      struct iovec  const  *iov , int iovcnt ,   13703                                      struct iovec  const  *iov , int iovcnt ,
13704                                      long long offset )   13704                                      long long offset )
13705 {   13705 {
13706     13706  
13707     13707  
13708   {   13708   {
13709   memset((void *)iocb, 0, sizeof(*iocb));   13709   memset((void *)iocb, 0, sizeof(*iocb));
13710   iocb->aio_fildes = fd;   13710   iocb->aio_fildes = fd;
13711   iocb->aio_lio_opcode = (short)8;   13711   iocb->aio_lio_opcode = (short)8;
13712   iocb->aio_reqprio = (short)0;   13712   iocb->aio_reqprio = (short)0;
13713   iocb->u.c.buf = (void *)iov;   13713   iocb->u.c.buf = (void *)iov;
13714   iocb->u.c.nbytes = (unsigned long )iovcnt;   13714   iocb->u.c.nbytes = (unsigned long )iovcnt;
13715   iocb->u.c.offset = offset;   13715   iocb->u.c.offset = offset;
13716   return;   13716   return;
13717 }   13717 }
13718 }   13718 }
13719 __inline static void io_prep_poll(struct iocb *iocb , int fd , int events )   13719 __inline static void io_prep_poll(struct iocb *iocb , int fd , int events )
13720 {   13720 {
13721     13721  
13722     13722  
13723   {   13723   {
13724   memset((void *)iocb, 0, sizeof(*iocb));   13724   memset((void *)iocb, 0, sizeof(*iocb));
13725   iocb->aio_fildes = fd;   13725   iocb->aio_fildes = fd;
13726   iocb->aio_lio_opcode = (short)5;   13726   iocb->aio_lio_opcode = (short)5;
13727   iocb->aio_reqprio = (short)0;   13727   iocb->aio_reqprio = (short)0;
13728   iocb->u.poll.events = events;   13728   iocb->u.poll.events = events;
13729   return;   13729   return;
13730 }   13730 }
13731 }   13731 }
13732 __inline static int io_poll(io_context_t ctx , struct iocb *iocb ,   13732 __inline static int io_poll(io_context_t ctx , struct iocb *iocb ,
13733                             void (*cb)(io_context_t ctx , struct iocb *iocb ,   13733                             void (*cb)(io_context_t ctx , struct iocb *iocb ,
13734                                        long res , long res2 ) , int fd ,   13734                                        long res , long res2 ) , int fd ,
13735                             int events )   13735                             int events )
13736 {   13736 {
13737   int tmp ;   13737   int tmp ;
13738     13738  
13739   {   13739   {
13740   io_prep_poll(iocb, fd, events);   13740   io_prep_poll(iocb, fd, events);
13741   io_set_callback(iocb, cb);   13741   io_set_callback(iocb, cb);
13742   tmp = io_submit(ctx, 1L, & iocb);   13742   tmp = io_submit(ctx, 1L, & iocb);
13743   return (tmp);   13743   return (tmp);
13744 }   13744 }
13745 }   13745 }
13746 __inline static void io_prep_fsync(struct iocb *iocb , int fd )   13746 __inline static void io_prep_fsync(struct iocb *iocb , int fd )
13747 {   13747 {
13748     13748  
13749     13749  
13750   {   13750   {
13751   memset((void *)iocb, 0, sizeof(*iocb));   13751   memset((void *)iocb, 0, sizeof(*iocb));
13752   iocb->aio_fildes = fd;   13752   iocb->aio_fildes = fd;
13753   iocb->aio_lio_opcode = (short)2;   13753   iocb->aio_lio_opcode = (short)2;
13754   iocb->aio_reqprio = (short)0;   13754   iocb->aio_reqprio = (short)0;
13755   return;   13755   return;
13756 }   13756 }
13757 }   13757 }
13758 __inline static int io_fsync(io_context_t ctx , struct iocb *iocb ,   13758 __inline static int io_fsync(io_context_t ctx , struct iocb *iocb ,
13759                              void (*cb)(io_context_t ctx , struct iocb *iocb ,   13759                              void (*cb)(io_context_t ctx , struct iocb *iocb ,
13760                                         long res , long res2 ) , int fd )   13760                                         long res , long res2 ) , int fd )
13761 {   13761 {
13762   int tmp ;   13762   int tmp ;
13763     13763  
13764   {   13764   {
13765   io_prep_fsync(iocb, fd);   13765   io_prep_fsync(iocb, fd);
13766   io_set_callback(iocb, cb);   13766   io_set_callback(iocb, cb);
13767   tmp = io_submit(ctx, 1L, & iocb);   13767   tmp = io_submit(ctx, 1L, & iocb);
13768   return (tmp);   13768   return (tmp);
13769 }   13769 }
13770 }   13770 }
13771 __inline static void io_prep_fdsync(struct iocb *iocb , int fd )   13771 __inline static void io_prep_fdsync(struct iocb *iocb , int fd )
13772 {   13772 {
13773     13773  
13774     13774  
13775   {   13775   {
13776   memset((void *)iocb, 0, sizeof(*iocb));   13776   memset((void *)iocb, 0, sizeof(*iocb));
13777   iocb->aio_fildes = fd;   13777   iocb->aio_fildes = fd;
13778   iocb->aio_lio_opcode = (short)3;   13778   iocb->aio_lio_opcode = (short)3;
13779   iocb->aio_reqprio = (short)0;   13779   iocb->aio_reqprio = (short)0;
13780   return;   13780   return;
13781 }   13781 }
13782 }   13782 }
13783 __inline static int io_fdsync(io_context_t ctx , struct iocb *iocb ,   13783 __inline static int io_fdsync(io_context_t ctx , struct iocb *iocb ,
13784                               void (*cb)(io_context_t ctx , struct iocb *iocb ,   13784                               void (*cb)(io_context_t ctx , struct iocb *iocb ,
13785                                          long res , long res2 ) , int fd )   13785                                          long res , long res2 ) , int fd )
13786 {   13786 {
13787   int tmp ;   13787   int tmp ;
13788     13788  
13789   {   13789   {
13790   io_prep_fdsync(iocb, fd);   13790   io_prep_fdsync(iocb, fd);
13791   io_set_callback(iocb, cb);   13791   io_set_callback(iocb, cb);
13792   tmp = io_submit(ctx, 1L, & iocb);   13792   tmp = io_submit(ctx, 1L, & iocb);
13793   return (tmp);   13793   return (tmp);
13794 }   13794 }
13795 }   13795 }
13796 __inline static void io_set_eventfd(struct iocb *iocb , int eventfd )   13796 __inline static void io_set_eventfd(struct iocb *iocb , int eventfd )
13797 {   13797 {
13798     13798  
13799     13799  
13800   {   13800   {
13801   iocb->u.c.flags |= 1U;   13801   iocb->u.c.flags |= 1U;
13802   iocb->u.c.resfd = (unsigned int )eventfd;   13802   iocb->u.c.resfd = (unsigned int )eventfd;
13803   return;   13803   return;
13804 }   13804 }
13805 }   13805 }
13806 extern char **environ ;   13806 extern char **environ ;
13807 extern int server_out_of_fds(server *srv , connection *con ) ;   13807 extern int server_out_of_fds(server *srv , connection *con ) ;
13808 extern int config_read(server *srv , char const   *fn ) ;   13808 extern int config_read(server *srv , char const   *fn ) ;
13809 extern int config_set_defaults(server *srv ) ;   13809 extern int config_set_defaults(server *srv ) ;
13810 extern buffer *config_get_value_buffer(server *srv , connection *con ,   13810 extern buffer *config_get_value_buffer(server *srv , connection *con ,
13811                                        config_var_t field ) ;   13811                                        config_var_t field ) ;
13812 extern int http_response_parse(server *srv , connection *con ) ;   13812 extern int http_response_parse(server *srv , connection *con ) ;
13813 int http_response_write_header(server *srv , connection *con , chunkqueue *raw ) ;   13813 int http_response_write_header(server *srv , connection *con , chunkqueue *raw ) ;
13814 extern int response_header_insert(server *srv , connection *con ,   13814 extern int response_header_insert(server *srv , connection *con ,
13815                                   char const   *key , size_t keylen ,   13815                                   char const   *key , size_t keylen ,
13816                                   char const   *value , size_t vallen ) ;   13816                                   char const   *value , size_t vallen ) ;
13817 extern int response_header_overwrite(server *srv , connection *con ,   13817 extern int response_header_overwrite(server *srv , connection *con ,
13818                                      char const   *key , size_t keylen ,   13818                                      char const   *key , size_t keylen ,
13819                                      char const   *value , size_t vallen ) ;   13819                                      char const   *value , size_t vallen ) ;
13820 handler_t handle_get_backend(server *srv , connection *con ) ;   13820 handler_t handle_get_backend(server *srv , connection *con ) ;
13821 extern int http_response_redirect_to_directory(server *srv , connection *con ) ;   13821 extern int http_response_redirect_to_directory(server *srv , connection *con ) ;
13822 extern int http_response_handle_cachable(server *srv , connection *con ,   13822 extern int http_response_handle_cachable(server *srv , connection *con ,
13823                                          buffer *mtime ) ;   13823                                          buffer *mtime ) ;
13824 extern buffer *strftime_cache_get(server *srv , time_t last_mod ) ;   13824 extern buffer *strftime_cache_get(server *srv , time_t last_mod ) ;
13825 extern void log_init(void) ;   13825 extern void log_init(void) ;
13826 extern void log_free(void) ;   13826 extern void log_free(void) ;
13827 extern int log_error_open(buffer *file , int use_syslog ) ;   13827 extern int log_error_open(buffer *file , int use_syslog ) ;
13828 extern int log_error_close() ;   13828 extern int log_error_close() ;
13829 extern int log_error_write(void *srv , char const   *filename ,   13829 extern int log_error_write(void *srv , char const   *filename ,
13830                            unsigned int line , char const   *fmt  , ...) ;   13830                            unsigned int line , char const   *fmt  , ...) ;
13831 extern int log_error_cycle() ;   13831 extern int log_error_cycle() ;
13832 extern char const   *remove_path(char const   *path ) ;   13832 extern char const   *remove_path(char const   *path ) ;
13833 extern int log_trace(char const   *fmt  , ...) ;   13833 extern int log_trace(char const   *fmt  , ...) ;
13834 extern stat_cache *stat_cache_init(void) ;   13834 extern stat_cache *stat_cache_init(void) ;
13835 extern void stat_cache_free(stat_cache *fc ) ;   13835 extern void stat_cache_free(stat_cache *fc ) ;
13836 extern handler_t stat_cache_get_entry(server *srv , connection *con ,   13836 extern handler_t stat_cache_get_entry(server *srv , connection *con ,
13837                                       buffer *name , stat_cache_entry **fce ) ;   13837                                       buffer *name , stat_cache_entry **fce ) ;
13838 extern handler_t stat_cache_get_entry_async(server *srv , connection *con ,   13838 extern handler_t stat_cache_get_entry_async(server *srv , connection *con ,
13839                                             buffer *name ,   13839                                             buffer *name ,
13840                                             stat_cache_entry **fce ) ;   13840                                             stat_cache_entry **fce ) ;
13841 extern handler_t stat_cache_handle_fdevent(void *_srv , void *_fce , int revent ) ;   13841 extern handler_t stat_cache_handle_fdevent(void *_srv , void *_fce , int revent ) ;
13842 extern int stat_cache_trigger_cleanup(server *srv ) ;   13842 extern int stat_cache_trigger_cleanup(server *srv ) ;
13843 extern connection *connection_init(server *srv ) ;   13843 extern connection *connection_init(server *srv ) ;
13844 extern int connection_reset(server *srv , connection *con ) ;   13844 extern int connection_reset(server *srv , connection *con ) ;
13845 extern void connections_free(server *srv ) ;   13845 extern void connections_free(server *srv ) ;
13846 extern connection *connection_accept(server *srv , server_socket *srv_sock ) ;   13846 extern connection *connection_accept(server *srv , server_socket *srv_sock ) ;
13847 extern int connection_close(server *srv , connection *con ) ;   13847 extern int connection_close(server *srv , connection *con ) ;
13848 extern int connection_set_state(server *srv , connection *con ,   13848 extern int connection_set_state(server *srv , connection *con ,
13849                                 connection_state_t state ) ;   13849                                 connection_state_t state ) ;
13850 extern char const   *connection_get_state(connection_state_t state ) ;   13850 extern char const   *connection_get_state(connection_state_t state ) ;
13851 extern char const   *connection_get_short_state(connection_state_t state ) ;   13851 extern char const   *connection_get_short_state(connection_state_t state ) ;
13852 extern int connection_state_machine(server *srv , connection *con ) ;   13852 extern int connection_state_machine(server *srv , connection *con ) ;
13853 extern int plugins_load(server *srv ) ;   13853 extern int plugins_load(server *srv ) ;
13854 extern void plugins_free(server *srv ) ;   13854 extern void plugins_free(server *srv ) ;
13855 extern handler_t plugins_call_handle_uri_raw(server *srv , connection *con ) ;   13855 extern handler_t plugins_call_handle_uri_raw(server *srv , connection *con ) ;
13856 extern handler_t plugins_call_handle_uri_clean(server *srv , connection *con ) ;   13856 extern handler_t plugins_call_handle_uri_clean(server *srv , connection *con ) ;
13857 extern handler_t plugins_call_handle_docroot(server *srv , connection *con ) ;   13857 extern handler_t plugins_call_handle_docroot(server *srv , connection *con ) ;
13858 extern handler_t plugins_call_handle_physical(server *srv , connection *con ) ;   13858 extern handler_t plugins_call_handle_physical(server *srv , connection *con ) ;
13859 extern handler_t plugins_call_handle_start_backend(server *srv ,   13859 extern handler_t plugins_call_handle_start_backend(server *srv ,
13860                                                    connection *con ) ;   13860                                                    connection *con ) ;
13861 extern handler_t plugins_call_handle_send_request_content(server *srv ,   13861 extern handler_t plugins_call_handle_send_request_content(server *srv ,
13862                                                           connection *con ) ;   13862                                                           connection *con ) ;
13863 extern handler_t plugins_call_handle_response_header(server *srv ,   13863 extern handler_t plugins_call_handle_response_header(server *srv ,
13864                                                      connection *con ) ;   13864                                                      connection *con ) ;
13865 extern handler_t plugins_call_handle_read_response_content(server *srv ,   13865 extern handler_t plugins_call_handle_read_response_content(server *srv ,
13866                                                            connection *con ) ;   13866                                                            connection *con ) ;
13867 extern handler_t plugins_call_handle_filter_response_content(server *srv ,   13867 extern handler_t plugins_call_handle_filter_response_content(server *srv ,
13868                                                              connection *con ) ;   13868                                                              connection *con ) ;
13869 extern handler_t plugins_call_handle_response_done(server *srv ,   13869 extern handler_t plugins_call_handle_response_done(server *srv ,
13870                                                    connection *con ) ;   13870                                                    connection *con ) ;
13871 extern handler_t plugins_call_handle_connection_close(server *srv ,   13871 extern handler_t plugins_call_handle_connection_close(server *srv ,
13872                                                       connection *con ) ;   13872                                                       connection *con ) ;
13873 extern handler_t plugins_call_handle_joblist(server *srv , connection *con ) ;   13873 extern handler_t plugins_call_handle_joblist(server *srv , connection *con ) ;
13874 extern handler_t plugins_call_connection_reset(server *srv , connection *con ) ;   13874 extern handler_t plugins_call_connection_reset(server *srv , connection *con ) ;
13875 extern handler_t plugins_call_handle_trigger(server *srv ) ;   13875 extern handler_t plugins_call_handle_trigger(server *srv ) ;
13876 extern handler_t plugins_call_handle_sighup(server *srv ) ;   13876 extern handler_t plugins_call_handle_sighup(server *srv ) ;
13877 extern handler_t plugins_call_init(server *srv ) ;   13877 extern handler_t plugins_call_init(server *srv ) ;
13878 extern handler_t plugins_call_set_defaults(server *srv ) ;   13878 extern handler_t plugins_call_set_defaults(server *srv ) ;
13879 extern handler_t plugins_call_cleanup(server *srv ) ;   13879 extern handler_t plugins_call_cleanup(server *srv ) ;
13880 extern int config_insert_values_global(server *srv , array *ca ,   13880 extern int config_insert_values_global(server *srv , array *ca ,
13881                                        config_values_t const   *cv ) ;   13881                                        config_values_t const   *cv ) ;
13882 extern int config_insert_values_internal(server *srv , array *ca ,   13882 extern int config_insert_values_internal(server *srv , array *ca ,
13883                                          config_values_t const   *cv ) ;   13883                                          config_values_t const   *cv ) ;
13884 extern int config_setup_connection(server *srv , connection *con ) ;   13884 extern int config_setup_connection(server *srv , connection *con ) ;
13885 extern int config_patch_connection(server *srv , connection *con ,   13885 extern int config_patch_connection(server *srv , connection *con ,
13886                                    comp_key_t comp ) ;   13886                                    comp_key_t comp ) ;
13887 extern int config_check_cond(server *srv , connection *con , data_config *dc ) ;   13887 extern int config_check_cond(server *srv , connection *con , data_config *dc ) ;
13888 extern int config_append_cond_match_buffer(connection *con , data_config *dc ,   13888 extern int config_append_cond_match_buffer(connection *con , data_config *dc ,
13889                                            buffer *buf , int n ) ;   13889                                            buffer *buf , int n ) ;
13890 extern int config_exec_pcre_keyvalue_buffer(connection *con ,   13890 extern int config_exec_pcre_keyvalue_buffer(connection *con ,
13891                                             pcre_keyvalue_buffer *kvb ,   13891                                             pcre_keyvalue_buffer *kvb ,
13892                                             data_config *context ,   13892                                             data_config *context ,
13893                                             buffer *match_buf , buffer *result ) ;   13893                                             buffer *match_buf , buffer *result ) ;
13894 extern void *plugin_get_config(server *srv , char const   *name ) ;   13894 extern void *plugin_get_config(server *srv , char const   *name ) ;
13895 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) access)(char const   *__name ,   13895 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) access)(char const   *__name ,
13896                                                                                    int __type ) ;   13896                                                                                    int __type ) ;
13897 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) faccessat)(int __fd ,   13897 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) faccessat)(int __fd ,
13898                                                                                       char const   *__file ,   13898                                                                                       char const   *__file ,
13899                                                                                       int __type ,   13899                                                                                       int __type ,
13900                                                                                       int __flag ) ;   13900                                                                                       int __flag ) ;
13901 extern  __attribute__((__nothrow__)) __off64_t lseek(int __fd ,   13901 extern  __attribute__((__nothrow__)) __off64_t lseek(int __fd ,
13902                                                      __off64_t __offset ,   13902                                                      __off64_t __offset ,
13903                                                      int __whence )  __asm__("lseek64")  ;   13903                                                      int __whence )  __asm__("lseek64")  ;
13904 extern int close(int __fd ) ;   13904 extern int close(int __fd ) ;
13905 extern ssize_t read(int __fd , void *__buf , size_t __nbytes ) ;   13905 extern ssize_t read(int __fd , void *__buf , size_t __nbytes ) ;
13906 extern ssize_t write(int __fd , void const   *__buf , size_t __n ) ;   13906 extern ssize_t write(int __fd , void const   *__buf , size_t __n ) ;
13907 extern ssize_t pread(int __fd , void *__buf , size_t __nbytes ,   13907 extern ssize_t pread(int __fd , void *__buf , size_t __nbytes ,
13908                      __off64_t __offset )  __asm__("pread64")  ;   13908                      __off64_t __offset )  __asm__("pread64")  ;
13909 extern ssize_t pwrite(int __fd , void const   *__buf , size_t __nbytes ,   13909 extern ssize_t pwrite(int __fd , void const   *__buf , size_t __nbytes ,
13910                       __off64_t __offset )  __asm__("pwrite64")  ;   13910                       __off64_t __offset )  __asm__("pwrite64")  ;
13911 extern  __attribute__((__nothrow__)) int pipe(int *__pipedes ) ;   13911 extern  __attribute__((__nothrow__)) int pipe(int *__pipedes ) ;
13912 extern  __attribute__((__nothrow__)) unsigned int alarm(unsigned int __seconds ) ;   13912 extern  __attribute__((__nothrow__)) unsigned int alarm(unsigned int __seconds ) ;
13913 extern unsigned int sleep(unsigned int __seconds ) ;   13913 extern unsigned int sleep(unsigned int __seconds ) ;
13914 extern  __attribute__((__nothrow__)) __useconds_t ualarm(__useconds_t __value ,   13914 extern  __attribute__((__nothrow__)) __useconds_t ualarm(__useconds_t __value ,
13915                                                          __useconds_t __interval ) ;   13915                                                          __useconds_t __interval ) ;
13916 extern int usleep(__useconds_t __useconds ) ;   13916 extern int usleep(__useconds_t __useconds ) ;
13917 extern int pause(void) ;   13917 extern int pause(void) ;
13918 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chown)(char const   *__file ,   13918 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chown)(char const   *__file ,
13919                                                                                   __uid_t __owner ,   13919                                                                                   __uid_t __owner ,
13920                                                                                   __gid_t __group ) ;   13920                                                                                   __gid_t __group ) ;
13921 extern  __attribute__((__nothrow__)) int fchown(int __fd , __uid_t __owner ,   13921 extern  __attribute__((__nothrow__)) int fchown(int __fd , __uid_t __owner ,
13922                                                 __gid_t __group ) ;   13922                                                 __gid_t __group ) ;
13923 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchown)(char const   *__file ,   13923 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchown)(char const   *__file ,
13924                                                                                    __uid_t __owner ,   13924                                                                                    __uid_t __owner ,
13925                                                                                    __gid_t __group ) ;   13925                                                                                    __gid_t __group ) ;
13926 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchownat)(int __fd ,   13926 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchownat)(int __fd ,
13927                                                                                      char const   *__file ,   13927                                                                                      char const   *__file ,
13928                                                                                      __uid_t __owner ,   13928                                                                                      __uid_t __owner ,
13929                                                                                      __gid_t __group ,   13929                                                                                      __gid_t __group ,
13930                                                                                      int __flag ) ;   13930                                                                                      int __flag ) ;
13931 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chdir)(char const   *__path ) ;   13931 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chdir)(char const   *__path ) ;
13932 extern  __attribute__((__nothrow__)) int fchdir(int __fd ) ;   13932 extern  __attribute__((__nothrow__)) int fchdir(int __fd ) ;
13933 extern  __attribute__((__nothrow__)) char *getcwd(char *__buf , size_t __size ) ;   13933 extern  __attribute__((__nothrow__)) char *getcwd(char *__buf , size_t __size ) ;
13934 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getwd)(char *__buf )  __attribute__((__deprecated__)) ;   13934 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getwd)(char *__buf )  __attribute__((__deprecated__)) ;
13935 extern  __attribute__((__nothrow__)) int dup(int __fd ) ;   13935 extern  __attribute__((__nothrow__)) int dup(int __fd ) ;
13936 extern  __attribute__((__nothrow__)) int dup2(int __fd , int __fd2 ) ;   13936 extern  __attribute__((__nothrow__)) int dup2(int __fd , int __fd2 ) ;
13937 extern char **__environ ;   13937 extern char **__environ ;
13938 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execve)(char const   *__path ,   13938 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execve)(char const   *__path ,
13939                                                                                      char * const  *__argv ,   13939                                                                                      char * const  *__argv ,
13940                                                                                      char * const  *__envp ) ;   13940                                                                                      char * const  *__envp ) ;
13941 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fexecve)(int __fd ,   13941 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fexecve)(int __fd ,
13942                                                                                     char * const  *__argv ,   13942                                                                                     char * const  *__argv ,
13943                                                                                     char * const  *__envp ) ;   13943                                                                                     char * const  *__envp ) ;
13944 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execv)(char const   *__path ,   13944 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execv)(char const   *__path ,
13945                                                                                     char * const  *__argv ) ;   13945                                                                                     char * const  *__argv ) ;
13946 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execle)(char const   *__path ,   13946 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execle)(char const   *__path ,
13947                                                                                      char const   *__arg   13947                                                                                      char const   *__arg
13948                                                                                      , ...) ;   13948                                                                                      , ...) ;
13949 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execl)(char const   *__path ,   13949 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execl)(char const   *__path ,
13950                                                                                     char const   *__arg   13950                                                                                     char const   *__arg
13951                                                                                     , ...) ;   13951                                                                                     , ...) ;
13952 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execvp)(char const   *__file ,   13952 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execvp)(char const   *__file ,
13953                                                                                      char * const  *__argv ) ;   13953                                                                                      char * const  *__argv ) ;
13954 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execlp)(char const   *__file ,   13954 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execlp)(char const   *__file ,
13955                                                                                      char const   *__arg   13955                                                                                      char const   *__arg
13956                                                                                      , ...) ;   13956                                                                                      , ...) ;
13957 extern  __attribute__((__nothrow__)) int nice(int __inc ) ;   13957 extern  __attribute__((__nothrow__)) int nice(int __inc ) ;
13958 extern  __attribute__((__noreturn__)) void _exit(int __status ) ;   13958 extern  __attribute__((__noreturn__)) void _exit(int __status ) ;
13959 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) pathconf)(char const   *__path ,   13959 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) pathconf)(char const   *__path ,
13960                                                                                       int __name ) ;   13960                                                                                       int __name ) ;
13961 extern  __attribute__((__nothrow__)) long fpathconf(int __fd , int __name ) ;   13961 extern  __attribute__((__nothrow__)) long fpathconf(int __fd , int __name ) ;
13962 extern  __attribute__((__nothrow__)) long sysconf(int __name ) ;   13962 extern  __attribute__((__nothrow__)) long sysconf(int __name ) ;
13963 extern  __attribute__((__nothrow__)) size_t confstr(int __name , char *__buf ,   13963 extern  __attribute__((__nothrow__)) size_t confstr(int __name , char *__buf ,
13964                                                     size_t __len ) ;   13964                                                     size_t __len ) ;
13965 extern  __attribute__((__nothrow__)) __pid_t getpid(void) ;   13965 extern  __attribute__((__nothrow__)) __pid_t getpid(void) ;
13966 extern  __attribute__((__nothrow__)) __pid_t getppid(void) ;   13966 extern  __attribute__((__nothrow__)) __pid_t getppid(void) ;
13967 extern  __attribute__((__nothrow__)) __pid_t getpgrp(void) ;   13967 extern  __attribute__((__nothrow__)) __pid_t getpgrp(void) ;
13968 extern  __attribute__((__nothrow__)) __pid_t __getpgid(__pid_t __pid ) ;   13968 extern  __attribute__((__nothrow__)) __pid_t __getpgid(__pid_t __pid ) ;
13969 extern  __attribute__((__nothrow__)) __pid_t getpgid(__pid_t __pid ) ;   13969 extern  __attribute__((__nothrow__)) __pid_t getpgid(__pid_t __pid ) ;
13970 extern  __attribute__((__nothrow__)) int setpgid(__pid_t __pid , __pid_t __pgid ) ;   13970 extern  __attribute__((__nothrow__)) int setpgid(__pid_t __pid , __pid_t __pgid ) ;
13971 extern  __attribute__((__nothrow__)) int setpgrp(void) ;   13971 extern  __attribute__((__nothrow__)) int setpgrp(void) ;
13972 extern  __attribute__((__nothrow__)) __pid_t setsid(void) ;   13972 extern  __attribute__((__nothrow__)) __pid_t setsid(void) ;
13973 extern  __attribute__((__nothrow__)) __pid_t getsid(__pid_t __pid ) ;   13973 extern  __attribute__((__nothrow__)) __pid_t getsid(__pid_t __pid ) ;
13974 extern  __attribute__((__nothrow__)) __uid_t getuid(void) ;   13974 extern  __attribute__((__nothrow__)) __uid_t getuid(void) ;
13975 extern  __attribute__((__nothrow__)) __uid_t geteuid(void) ;   13975 extern  __attribute__((__nothrow__)) __uid_t geteuid(void) ;
13976 extern  __attribute__((__nothrow__)) __gid_t getgid(void) ;   13976 extern  __attribute__((__nothrow__)) __gid_t getgid(void) ;
13977 extern  __attribute__((__nothrow__)) __gid_t getegid(void) ;   13977 extern  __attribute__((__nothrow__)) __gid_t getegid(void) ;
13978 extern  __attribute__((__nothrow__)) int getgroups(int __size , __gid_t *__list ) ;   13978 extern  __attribute__((__nothrow__)) int getgroups(int __size , __gid_t *__list ) ;
13979 extern  __attribute__((__nothrow__)) int setuid(__uid_t __uid ) ;   13979 extern  __attribute__((__nothrow__)) int setuid(__uid_t __uid ) ;
13980 extern  __attribute__((__nothrow__)) int setreuid(__uid_t __ruid ,   13980 extern  __attribute__((__nothrow__)) int setreuid(__uid_t __ruid ,
13981                                                   __uid_t __euid ) ;   13981                                                   __uid_t __euid ) ;
13982 extern  __attribute__((__nothrow__)) int seteuid(__uid_t __uid ) ;   13982 extern  __attribute__((__nothrow__)) int seteuid(__uid_t __uid ) ;
13983 extern  __attribute__((__nothrow__)) int setgid(__gid_t __gid ) ;   13983 extern  __attribute__((__nothrow__)) int setgid(__gid_t __gid ) ;
13984 extern  __attribute__((__nothrow__)) int setregid(__gid_t __rgid ,   13984 extern  __attribute__((__nothrow__)) int setregid(__gid_t __rgid ,
13985                                                   __gid_t __egid ) ;   13985                                                   __gid_t __egid ) ;
13986 extern  __attribute__((__nothrow__)) int setegid(__gid_t __gid ) ;   13986 extern  __attribute__((__nothrow__)) int setegid(__gid_t __gid ) ;
13987 extern  __attribute__((__nothrow__)) __pid_t fork(void) ;   13987 extern  __attribute__((__nothrow__)) __pid_t fork(void) ;
13988 extern  __attribute__((__nothrow__)) __pid_t vfork(void) ;   13988 extern  __attribute__((__nothrow__)) __pid_t vfork(void) ;
13989 extern  __attribute__((__nothrow__)) char *ttyname(int __fd ) ;   13989 extern  __attribute__((__nothrow__)) char *ttyname(int __fd ) ;
13990 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) ttyname_r)(int __fd ,   13990 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) ttyname_r)(int __fd ,
13991                                                                                       char *__buf ,   13991                                                                                       char *__buf ,
13992                                                                                       size_t __buflen ) ;   13992                                                                                       size_t __buflen ) ;
13993 extern  __attribute__((__nothrow__)) int isatty(int __fd ) ;   13993 extern  __attribute__((__nothrow__)) int isatty(int __fd ) ;
13994 extern  __attribute__((__nothrow__)) int ttyslot(void) ;   13994 extern  __attribute__((__nothrow__)) int ttyslot(void) ;
13995 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) link)(char const   *__from ,   13995 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) link)(char const   *__from ,
13996                                                                                    char const   *__to ) ;   13996                                                                                    char const   *__to ) ;
13997 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) linkat)(int __fromfd ,   13997 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) linkat)(int __fromfd ,
13998                                                                                      char const   *__from ,   13998                                                                                      char const   *__from ,
13999                                                                                      int __tofd ,   13999                                                                                      int __tofd ,
14000                                                                                      char const   *__to ,   14000                                                                                      char const   *__to ,
14001                                                                                      int __flags ) ;   14001                                                                                      int __flags ) ;
14002 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) symlink)(char const   *__from ,   14002 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) symlink)(char const   *__from ,
14003                                                                                       char const   *__to ) ;   14003                                                                                       char const   *__to ) ;
14004 extern  __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(1,2))) readlink)(char const   * __restrict  __path ,   14004 extern  __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(1,2))) readlink)(char const   * __restrict  __path ,
14005                                                                                            char * __restrict  __buf ,   14005                                                                                            char * __restrict  __buf ,
14006                                                                                            size_t __len ) ;   14006                                                                                            size_t __len ) ;
14007 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,3))) symlinkat)(char const   *__from ,   14007 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,3))) symlinkat)(char const   *__from ,
14008                                                                                         int __tofd ,   14008                                                                                         int __tofd ,
14009                                                                                         char const   *__to ) ;   14009                                                                                         char const   *__to ) ;
14010 extern  __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(2,3))) readlinkat)(int __fd ,   14010 extern  __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(2,3))) readlinkat)(int __fd ,
14011                                                                                              char const   * __restrict  __path ,   14011                                                                                              char const   * __restrict  __path ,
14012                                                                                              char * __restrict  __buf ,   14012                                                                                              char * __restrict  __buf ,
14013                                                                                              size_t __len ) ;   14013                                                                                              size_t __len ) ;
14014 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unlink)(char const   *__name ) ;   14014 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unlink)(char const   *__name ) ;
14015 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) unlinkat)(int __fd ,   14015 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) unlinkat)(int __fd ,
14016                                                                                      char const   *__name ,   14016                                                                                      char const   *__name ,
14017                                                                                      int __flag ) ;   14017                                                                                      int __flag ) ;
14018 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rmdir)(char const   *__path ) ;   14018 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rmdir)(char const   *__path ) ;
14019 extern  __attribute__((__nothrow__)) __pid_t tcgetpgrp(int __fd ) ;   14019 extern  __attribute__((__nothrow__)) __pid_t tcgetpgrp(int __fd ) ;
14020 extern  __attribute__((__nothrow__)) int tcsetpgrp(int __fd , __pid_t __pgrp_id ) ;   14020 extern  __attribute__((__nothrow__)) int tcsetpgrp(int __fd , __pid_t __pgrp_id ) ;
14021 extern char *getlogin(void) ;   14021 extern char *getlogin(void) ;
14022 extern int ( __attribute__((__nonnull__(1))) getlogin_r)(char *__name ,   14022 extern int ( __attribute__((__nonnull__(1))) getlogin_r)(char *__name ,
14023                                                          size_t __name_len ) ;   14023                                                          size_t __name_len ) ;
14024 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setlogin)(char const   *__name ) ;   14024 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setlogin)(char const   *__name ) ;
14025 extern char *optarg ;   14025 extern char *optarg ;
14026 extern int optind ;   14026 extern int optind ;
14027 extern int opterr ;   14027 extern int opterr ;
14028 extern int optopt ;   14028 extern int optopt ;
14029 extern  __attribute__((__nothrow__)) int getopt(int ___argc ,   14029 extern  __attribute__((__nothrow__)) int getopt(int ___argc ,
14030                                                 char * const  *___argv ,   14030                                                 char * const  *___argv ,
14031                                                 char const   *__shortopts ) ;   14031                                                 char const   *__shortopts ) ;
14032 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gethostname)(char *__name ,   14032 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gethostname)(char *__name ,
14033                                                                                         size_t __len ) ;   14033                                                                                         size_t __len ) ;
14034 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sethostname)(char const   *__name ,   14034 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sethostname)(char const   *__name ,
14035                                                                                         size_t __len ) ;   14035                                                                                         size_t __len ) ;
14036 extern  __attribute__((__nothrow__)) int sethostid(long __id ) ;   14036 extern  __attribute__((__nothrow__)) int sethostid(long __id ) ;
14037 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getdomainname)(char *__name ,   14037 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getdomainname)(char *__name ,
14038                                                                                           size_t __len ) ;   14038                                                                                           size_t __len ) ;
14039 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setdomainname)(char const   *__name ,   14039 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setdomainname)(char const   *__name ,
14040                                                                                           size_t __len ) ;   14040                                                                                           size_t __len ) ;
14041 extern  __attribute__((__nothrow__)) int vhangup(void) ;   14041 extern  __attribute__((__nothrow__)) int vhangup(void) ;
14042 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) revoke)(char const   *__file ) ;   14042 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) revoke)(char const   *__file ) ;
14043 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) profil)(unsigned short *__sample_buffer ,   14043 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) profil)(unsigned short *__sample_buffer ,
14044                                                                                    size_t __size ,   14044                                                                                    size_t __size ,
14045                                                                                    size_t __offset ,   14045                                                                                    size_t __offset ,
14046                                                                                    unsigned int __scale ) ;   14046                                                                                    unsigned int __scale ) ;
14047 extern  __attribute__((__nothrow__)) int acct(char const   *__name ) ;   14047 extern  __attribute__((__nothrow__)) int acct(char const   *__name ) ;
14048 extern  __attribute__((__nothrow__)) char *getusershell(void) ;   14048 extern  __attribute__((__nothrow__)) char *getusershell(void) ;
14049 extern  __attribute__((__nothrow__)) void endusershell(void) ;   14049 extern  __attribute__((__nothrow__)) void endusershell(void) ;
14050 extern  __attribute__((__nothrow__)) void setusershell(void) ;   14050 extern  __attribute__((__nothrow__)) void setusershell(void) ;
14051 extern  __attribute__((__nothrow__)) int daemon(int __nochdir , int __noclose ) ;   14051 extern  __attribute__((__nothrow__)) int daemon(int __nochdir , int __noclose ) ;
14052 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chroot)(char const   *__path ) ;   14052 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chroot)(char const   *__path ) ;
14053 extern char *( __attribute__((__nonnull__(1))) getpass)(char const   *__prompt ) ;   14053 extern char *( __attribute__((__nonnull__(1))) getpass)(char const   *__prompt ) ;
14054 extern int fsync(int __fd ) ;   14054 extern int fsync(int __fd ) ;
14055 extern long gethostid(void) ;   14055 extern long gethostid(void) ;
14056 extern  __attribute__((__nothrow__)) void sync(void) ;   14056 extern  __attribute__((__nothrow__)) void sync(void) ;
14057 extern  __attribute__((__nothrow__)) int getpagesize(void)  __attribute__((__const__)) ;   14057 extern  __attribute__((__nothrow__)) int getpagesize(void)  __attribute__((__const__)) ;
14058 extern  __attribute__((__nothrow__)) int getdtablesize(void) ;   14058 extern  __attribute__((__nothrow__)) int getdtablesize(void) ;
14059 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) truncate)(char const   *__file ,   14059 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) truncate)(char const   *__file ,
14060                                                                                      __off64_t __length )  __asm__("truncate64")  ;   14060                                                                                      __off64_t __length )  __asm__("truncate64")  ;
14061 extern  __attribute__((__nothrow__)) int ftruncate(int __fd ,   14061 extern  __attribute__((__nothrow__)) int ftruncate(int __fd ,
14062                                                    __off64_t __length )  __asm__("ftruncate64")  ;   14062                                                    __off64_t __length )  __asm__("ftruncate64")  ;
14063 extern  __attribute__((__nothrow__)) int brk(void *__addr ) ;   14063 extern  __attribute__((__nothrow__)) int brk(void *__addr ) ;
14064 extern  __attribute__((__nothrow__)) void *sbrk(intptr_t __delta ) ;   14064 extern  __attribute__((__nothrow__)) void *sbrk(intptr_t __delta ) ;
14065 extern  __attribute__((__nothrow__)) long syscall(long __sysno  , ...) ;   14065 extern  __attribute__((__nothrow__)) long syscall(long __sysno  , ...) ;
14066 extern int fdatasync(int __fildes ) ;   14066 extern int fdatasync(int __fildes ) ;
14067 extern DIR *( __attribute__((__nonnull__(1))) opendir)(char const   *__name ) ;   14067 extern DIR *( __attribute__((__nonnull__(1))) opendir)(char const   *__name ) ;
14068 extern DIR *fdopendir(int __fd ) ;   14068 extern DIR *fdopendir(int __fd ) ;
14069 extern int ( __attribute__((__nonnull__(1))) closedir)(DIR *__dirp ) ;   14069 extern int ( __attribute__((__nonnull__(1))) closedir)(DIR *__dirp ) ;
14070 extern struct dirent *( __attribute__((__nonnull__(1))) readdir)(DIR *__dirp )  __asm__("readdir64")  ;   14070 extern struct dirent *( __attribute__((__nonnull__(1))) readdir)(DIR *__dirp )  __asm__("readdir64")  ;
14071 extern int ( __attribute__((__nonnull__(1,2,3))) readdir_r)(DIR * __restrict  __dirp ,   14071 extern int ( __attribute__((__nonnull__(1,2,3))) readdir_r)(DIR * __restrict  __dirp ,
14072                                                             struct dirent * __restrict  __entry ,   14072                                                             struct dirent * __restrict  __entry ,
14073                                                             struct dirent ** __restrict  __result )  __asm__("readdir64_r")  ;   14073                                                             struct dirent ** __restrict  __result )  __asm__("readdir64_r")  ;
14074 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) rewinddir)(DIR *__dirp ) ;   14074 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) rewinddir)(DIR *__dirp ) ;
14075 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) seekdir)(DIR *__dirp ,   14075 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) seekdir)(DIR *__dirp ,
14076                                                                                      long __pos ) ;   14076                                                                                      long __pos ) ;
14077 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) telldir)(DIR *__dirp ) ;   14077 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) telldir)(DIR *__dirp ) ;
14078 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) dirfd)(DIR *__dirp ) ;   14078 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) dirfd)(DIR *__dirp ) ;
14079 extern int ( __attribute__((__nonnull__(1,2))) scandir)(char const   * __restrict  __dir ,   14079 extern int ( __attribute__((__nonnull__(1,2))) scandir)(char const   * __restrict  __dir ,
14080                                                         struct dirent *** __restrict  __namelist ,   14080                                                         struct dirent *** __restrict  __namelist ,
14081                                                         int (*__selector)(struct dirent  const  * ) ,   14081                                                         int (*__selector)(struct dirent  const  * ) ,
14082                                                         int (*__cmp)(struct dirent  const  ** ,   14082                                                         int (*__cmp)(struct dirent  const  ** ,
14083                                                                      struct dirent  const  ** ) )  __asm__("scandir64")  ;   14083                                                                      struct dirent  const  ** ) )  __asm__("scandir64")  ;
14084 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) alphasort)(struct dirent  const  **__e1 ,   14084 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) alphasort)(struct dirent  const  **__e1 ,
14085                                                                                         struct dirent  const  **__e2 )  __asm__("alphasort64") __attribute__((__pure__)) ;   14085                                                                                         struct dirent  const  **__e2 )  __asm__("alphasort64") __attribute__((__pure__)) ;
14086 extern  __attribute__((__nothrow__)) __ssize_t ( __attribute__((__nonnull__(2,4))) getdirentries)(int __fd ,   14086 extern  __attribute__((__nothrow__)) __ssize_t ( __attribute__((__nonnull__(2,4))) getdirentries)(int __fd ,
14087                                                                                                   char * __restrict  __buf ,   14087                                                                                                   char * __restrict  __buf ,
14088                                                                                                   size_t __nbytes ,   14088                                                                                                   size_t __nbytes ,
14089                                                                                                   __off64_t * __restrict  __basep )  __asm__("getdirentries64")  ;   14089                                                                                                   __off64_t * __restrict  __basep )  __asm__("getdirentries64")  ;
14090 int http_response_write_header(server *srv , connection *con , chunkqueue *raw )   14090 int http_response_write_header(server *srv , connection *con , chunkqueue *raw )
14091 {   14091 {
14092   buffer *b ;   14092   buffer *b ;
14093   size_t i ;   14093   size_t i ;
14094   int have_date ;   14094   int have_date ;
14095   int have_server ;   14095   int have_server ;
14096   int allow_keep_alive ;   14096   int allow_keep_alive ;
14097   char const   *tmp ;   14097   char const   *tmp ;
14098   data_string *ds ;   14098   data_string *ds ;
14099   int tmp___0 ;   14099   int tmp___0 ;
14100   int tmp___1 ;   14100   int tmp___1 ;
14101   size_t tmp___2 ;   14101   size_t tmp___2 ;
14102   size_t tmp___3 ;   14102   size_t tmp___3 ;
14103   size_t __s1_len ;   14103   size_t __s1_len ;
14104   size_t __s2_len ;   14104   size_t __s2_len ;
14105   int tmp___4 ;   14105   int tmp___4 ;
14106   int tmp___5 ;   14106   int tmp___5 ;
14107   int tmp___6 ;   14107   int tmp___6 ;
14108   unsigned char const   *__s2 ;   14108   unsigned char const   *__s2 ;
14109   register int __result ;   14109   register int __result ;
14110   int tmp___7 ;   14110   int tmp___7 ;
14111   unsigned char const   *__s1 ;   14111   unsigned char const   *__s1 ;
14112   register int __result___0 ;   14112   register int __result___0 ;
14113   int tmp___8 ;   14113   int tmp___8 ;
14114   int tmp___9 ;   14114   int tmp___9 ;
14115   int tmp___10 ;   14115   int tmp___10 ;
14116   int tmp___11 ;   14116   int tmp___11 ;
14117   int tmp___12 ;   14117   int tmp___12 ;
14118   size_t tmp___13 ;   14118   size_t tmp___13 ;
14119   size_t tmp___14 ;   14119   size_t tmp___14 ;
14120   int tmp___15 ;   14120   int tmp___15 ;
14121   struct tm *tmp___16 ;   14121   struct tm *tmp___16 ;
14122   size_t tmp___17 ;   14122   size_t tmp___17 ;
14123   int tmp___18 ;   14123   int tmp___18 ;
14124     14124  
14125   {   14125   {
14126   have_date = 0;   14126   have_date = 0;
14127   have_server = 0;   14127   have_server = 0;
14128   allow_keep_alive = 0;   14128   allow_keep_alive = 0;
14129   b = chunkqueue_get_prepend_buffer(raw);   14129   b = chunkqueue_get_prepend_buffer(raw);
14130   if ((int )con->request.http_version == 1) {   14130   if ((int )con->request.http_version == 1) {
14131     buffer_copy_string_len(b, "HTTP/1.1 ", sizeof("HTTP/1.1 ") - 1U);   14131     buffer_copy_string_len(b, "HTTP/1.1 ", sizeof("HTTP/1.1 ") - 1U);
14132   } else {   14132   } else {
14133     buffer_copy_string_len(b, "HTTP/1.0 ", sizeof("HTTP/1.0 ") - 1U);   14133     buffer_copy_string_len(b, "HTTP/1.0 ", sizeof("HTTP/1.0 ") - 1U);
14134   }   14134   }
14135   buffer_append_long(b, (long )con->http_status);   14135   buffer_append_long(b, (long )con->http_status);
14136   buffer_append_string_len(b, " ", sizeof(" ") - 1U);   14136   buffer_append_string_len(b, " ", sizeof(" ") - 1U);
14137   tmp = get_http_status_name(con->http_status);   14137   tmp = get_http_status_name(con->http_status);
14138   buffer_append_string(b, tmp);   14138   buffer_append_string(b, tmp);
14139   if ((unsigned int )con->response.transfer_encoding & 1U) {   14139   if ((unsigned int )con->response.transfer_encoding & 1U) {
14140     response_header_overwrite(srv, con, "Transfer-Encoding",   14140     response_header_overwrite(srv, con, "Transfer-Encoding",
14141                               sizeof("Transfer-Encoding") - 1U, "chunked",   14141                               sizeof("Transfer-Encoding") - 1U, "chunked",
14142                               sizeof("chunked") - 1U);   14142                               sizeof("chunked") - 1U);
14143     allow_keep_alive = 1;   14143     allow_keep_alive = 1;
14144   } else   14144   } else
14145   if (con->response.content_length >= 0LL) {   14145   if (con->response.content_length >= 0LL) {
14146     buffer_copy_off_t(srv->tmp_buf, con->response.content_length);   14146     buffer_copy_off_t(srv->tmp_buf, con->response.content_length);
14147     response_header_overwrite(srv, con, "Content-Length",   14147     response_header_overwrite(srv, con, "Content-Length",
14148                               sizeof("Content-Length") - 1U,   14148                               sizeof("Content-Length") - 1U,
14149                               (char const   *)(srv->tmp_buf)->ptr,   14149                               (char const   *)(srv->tmp_buf)->ptr,
14150                               (srv->tmp_buf)->used - 1U);   14150                               (srv->tmp_buf)->used - 1U);
14151     allow_keep_alive = 1;   14151     allow_keep_alive = 1;
14152   } else {   14152   } else {
14153     14153  
14154   }   14154   }
14155   if (! allow_keep_alive) {   14155   if (! allow_keep_alive) {
14156     con->keep_alive = 0;   14156     con->keep_alive = 0;
14157   } else {   14157   } else {
14158     14158  
14159   }   14159   }
14160   if ((int )con->request.http_version != 1) {   14160   if ((int )con->request.http_version != 1) {
14161     goto _L;   14161     goto _L;
14162   } else   14162   } else
14163   if (con->keep_alive == 0) {   14163   if (con->keep_alive == 0) {
14164     _L: /* CIL Label */   14164     _L: /* CIL Label */
14165     if (con->keep_alive) {   14165     if (con->keep_alive) {
14166       response_header_overwrite(srv, con, "Connection",   14166       response_header_overwrite(srv, con, "Connection",
14167                                 sizeof("Connection") - 1U, "keep-alive",   14167                                 sizeof("Connection") - 1U, "keep-alive",
14168                                 sizeof("keep-alive") - 1U);   14168                                 sizeof("keep-alive") - 1U);
14169     } else {   14169     } else {
14170       response_header_overwrite(srv, con, "Connection",   14170       response_header_overwrite(srv, con, "Connection",
14171                                 sizeof("Connection") - 1U, "close",   14171                                 sizeof("Connection") - 1U, "close",
14172                                 sizeof("close") - 1U);   14172                                 sizeof("close") - 1U);
14173     }   14173     }
14174   } else {   14174   } else {
14175     14175  
14176   }   14176   }
14177   i = (size_t )0;   14177   i = (size_t )0;
14178   while (i < (con->response.headers)->used) {   14178   while (i < (con->response.headers)->used) {
14179     ds = (data_string *)*((con->response.headers)->data + i);   14179     ds = (data_string *)*((con->response.headers)->data + i);
14180     if ((ds->value)->used) {   14180     if ((ds->value)->used) {
14181       if ((ds->key)->used) {   14181       if ((ds->key)->used) {
14182         if (0) {   14182         if (0) {
14183           if (0) {   14183           if (0) {
14184             __s1_len = strlen((char const   *)(ds->key)->ptr);   14184             __s1_len = strlen((char const   *)(ds->key)->ptr);
14185             __s2_len = strlen("X-LIGHTTPD-");   14185             __s2_len = strlen("X-LIGHTTPD-");
14186             if (! ((size_t )((void const   *)((ds->key)->ptr + 1)) - (size_t )((void const   *)(ds->key)->ptr) == 1U)) {   14186             if (! ((size_t )((void const   *)((ds->key)->ptr + 1)) - (size_t )((void const   *)(ds->key)->ptr) == 1U)) {
14187               goto _L___1;   14187               goto _L___1;
14188             } else   14188             } else
14189             if (__s1_len >= 4U) {   14189             if (__s1_len >= 4U) {
14190               _L___1: /* CIL Label */   14190               _L___1: /* CIL Label */
14191               if (! ((size_t )((void const   *)("X-LIGHTTPD-" + 1)) - (size_t )((void const   *)"X-LIGHTTPD-") == 1U)) {   14191               if (! ((size_t )((void const   *)("X-LIGHTTPD-" + 1)) - (size_t )((void const   *)"X-LIGHTTPD-") == 1U)) {
14192                 tmp___10 = 1;   14192                 tmp___10 = 1;
14193               } else   14193               } else
14194               if (__s2_len >= 4U) {   14194               if (__s2_len >= 4U) {
14195                 tmp___10 = 1;   14195                 tmp___10 = 1;
14196               } else {   14196               } else {
14197                 tmp___10 = 0;   14197                 tmp___10 = 0;
14198               }   14198               }
14199             } else {   14199             } else {
14200               tmp___10 = 0;   14200               tmp___10 = 0;
14201             }   14201             }
14202             if (tmp___10) {   14202             if (tmp___10) {
14203               tmp___5 = __builtin_strcmp((char const   *)(ds->key)->ptr,   14203               tmp___5 = __builtin_strcmp((char const   *)(ds->key)->ptr,
14204                                          "X-LIGHTTPD-");   14204                                          "X-LIGHTTPD-");
14205               tmp___9 = tmp___5;   14205               tmp___9 = tmp___5;
14206             } else {   14206             } else {
14207               tmp___8 = __builtin_strcmp((char const   *)(ds->key)->ptr,   14207               tmp___8 = __builtin_strcmp((char const   *)(ds->key)->ptr,
14208                                          "X-LIGHTTPD-");   14208                                          "X-LIGHTTPD-");
14209               tmp___9 = tmp___8;   14209               tmp___9 = tmp___8;
14210             }   14210             }
14211           } else {   14211           } else {
14212             tmp___8 = __builtin_strcmp((char const   *)(ds->key)->ptr,   14212             tmp___8 = __builtin_strcmp((char const   *)(ds->key)->ptr,
14213                                        "X-LIGHTTPD-");   14213                                        "X-LIGHTTPD-");
14214             tmp___9 = tmp___8;   14214             tmp___9 = tmp___8;
14215           }   14215           }
14216           tmp___12 = tmp___9;   14216           tmp___12 = tmp___9;
14217         } else {   14217         } else {
14218           tmp___11 = strncmp((char const   *)(ds->key)->ptr, "X-LIGHTTPD-",   14218           tmp___11 = strncmp((char const   *)(ds->key)->ptr, "X-LIGHTTPD-",
14219                              sizeof("X-LIGHTTPD-") - 1U);   14219                              sizeof("X-LIGHTTPD-") - 1U);
14220           tmp___12 = tmp___11;   14220           tmp___12 = tmp___11;
14221         }   14221         }
14222         if (0 != tmp___12) {   14222         if (0 != tmp___12) {
14223           tmp___15 = strcasecmp((char const   *)(ds->key)->ptr, "X-Sendfile");   14223           tmp___15 = strcasecmp((char const   *)(ds->key)->ptr, "X-Sendfile");
14224           if (0 != tmp___15) {   14224           if (0 != tmp___15) {
14225             tmp___0 = buffer_is_equal_string(ds->key, "Date",   14225             tmp___0 = buffer_is_equal_string(ds->key, "Date",
14226                                              sizeof("Date") - 1U);   14226                                              sizeof("Date") - 1U);
14227             if (tmp___0) {   14227             if (tmp___0) {
14228               have_date = 1;   14228               have_date = 1;
14229             } else {   14229             } else {
14230     14230  
14231             }   14231             }
14232             tmp___1 = buffer_is_equal_string(ds->key, "Server",   14232             tmp___1 = buffer_is_equal_string(ds->key, "Server",
14233                                              sizeof("Server") - 1U);   14233                                              sizeof("Server") - 1U);
14234             if (tmp___1) {   14234             if (tmp___1) {
14235               have_server = 1;   14235               have_server = 1;
14236             } else {   14236             } else {
14237     14237  
14238             }   14238             }
14239             buffer_append_string_len(b, "\r\n", sizeof("\r\n") - 1U);   14239             buffer_append_string_len(b, "\r\n", sizeof("\r\n") - 1U);
14240             buffer_append_string_buffer(b, (buffer const   *)ds->key);   14240             buffer_append_string_buffer(b, (buffer const   *)ds->key);
14241             buffer_append_string_len(b, ": ", sizeof(": ") - 1U);   14241             buffer_append_string_len(b, ": ", sizeof(": ") - 1U);
14242             buffer_append_string_buffer(b, (buffer const   *)ds->value);   14242             buffer_append_string_buffer(b, (buffer const   *)ds->value);
14243           } else {   14243           } else {
14244     14244  
14245           }   14245           }
14246         } else {   14246         } else {
14247     14247  
14248         }   14248         }
14249       } else {   14249       } else {
14250     14250  
14251       }   14251       }
14252     } else {   14252     } else {
14253     14253  
14254     }   14254     }
14255     i ++;   14255     i ++;
14256   }   14256   }
14257   if (! have_date) {   14257   if (! have_date) {
14258     buffer_append_string_len(b, "\r\nDate: ", sizeof("\r\nDate: ") - 1U);   14258     buffer_append_string_len(b, "\r\nDate: ", sizeof("\r\nDate: ") - 1U);
14259     if (srv->cur_ts != srv->last_generated_date_ts) {   14259     if (srv->cur_ts != srv->last_generated_date_ts) {
14260       buffer_prepare_copy(srv->ts_date_str, (size_t )255);   14260       buffer_prepare_copy(srv->ts_date_str, (size_t )255);
14261       tmp___16 = gmtime((time_t const   *)(& srv->cur_ts));   14261       tmp___16 = gmtime((time_t const   *)(& srv->cur_ts));
14262       strftime((char */* __restrict  */)(srv->ts_date_str)->ptr,   14262       strftime((char */* __restrict  */)(srv->ts_date_str)->ptr,
14263                (srv->ts_date_str)->size - 1U,   14263                (srv->ts_date_str)->size - 1U,
14264                (char const   */* __restrict  */)"%a, %d %b %Y %H:%M:%S GMT",   14264                (char const   */* __restrict  */)"%a, %d %b %Y %H:%M:%S GMT",
14265                (struct tm  const  */* __restrict  */)tmp___16);   14265                (struct tm  const  */* __restrict  */)tmp___16);
14266       tmp___17 = strlen((char const   *)(srv->ts_date_str)->ptr);   14266       tmp___17 = strlen((char const   *)(srv->ts_date_str)->ptr);
14267       (srv->ts_date_str)->used = tmp___17 + 1U;   14267       (srv->ts_date_str)->used = tmp___17 + 1U;
14268       srv->last_generated_date_ts = srv->cur_ts;   14268       srv->last_generated_date_ts = srv->cur_ts;
14269     } else {   14269     } else {
14270     14270  
14271     }   14271     }
14272     buffer_append_string_buffer(b, (buffer const   *)srv->ts_date_str);   14272     buffer_append_string_buffer(b, (buffer const   *)srv->ts_date_str);
14273   } else {   14273   } else {
14274     14274  
14275   }   14275   }
14276   if (! have_server) {   14276   if (! have_server) {
14277     tmp___18 = buffer_is_empty(con->conf.server_tag);   14277     tmp___18 = buffer_is_empty(con->conf.server_tag);
14278     if (tmp___18) {   14278     if (tmp___18) {
14279       buffer_append_string_len(b, "\r\nServer: lighttpd/1.5.0",   14279       buffer_append_string_len(b, "\r\nServer: lighttpd/1.5.0",
14280                                sizeof("\r\nServer: lighttpd/1.5.0") - 1U);   14280                                sizeof("\r\nServer: lighttpd/1.5.0") - 1U);
14281     } else {   14281     } else {
14282       buffer_append_string_len(b, "\r\nServer: ", sizeof("\r\nServer: ") - 1U);   14282       buffer_append_string_len(b, "\r\nServer: ", sizeof("\r\nServer: ") - 1U);
14283       buffer_append_string_buffer(b, (buffer const   *)con->conf.server_tag);   14283       buffer_append_string_buffer(b, (buffer const   *)con->conf.server_tag);
14284     }   14284     }
14285   } else {   14285   } else {
14286     14286  
14287   }   14287   }
14288   buffer_append_string_len(b, "\r\n\r\n", sizeof("\r\n\r\n") - 1U);   14288   buffer_append_string_len(b, "\r\n\r\n", sizeof("\r\n\r\n") - 1U);
14289   con->bytes_header = (off_t )(b->used - 1U);   14289   con->bytes_header = (off_t )(b->used - 1U);
14290   raw->bytes_in += (off_t )(b->used - 1U);   14290   raw->bytes_in += (off_t )(b->used - 1U);
14291   if (con->conf.log_response_header) {   14291   if (con->conf.log_response_header) {
14292     log_error_write((void *)srv, "response.c", 129U, "sSb", "Response-Header:",   14292     log_error_write((void *)srv, "response.c", 129U, "sSb", "Response-Header:",
14293                     "\n", b);   14293                     "\n", b);
14294   } else {   14294   } else {
14295     14295  
14296   }   14296   }
14297   return (0);   14297   return (0);
14298 }   14298 }
14299 }   14299 }
14300 handler_t handle_get_backend(server *srv , connection *con )   14300 handler_t handle_get_backend(server *srv , connection *con )
14301 {   14301 {
14302   handler_t r ;   14302   handler_t r ;
14303   char *qstr ;   14303   char *qstr ;
14304   char const   *tmp ;   14304   char const   *tmp ;
14305   char const   *tmp___0 ;   14305   char const   *tmp___0 ;
14306   size_t tmp___1 ;   14306   size_t tmp___1 ;
14307   void *tmp___2 ;   14307   void *tmp___2 ;
14308   char *tmp___3 ;   14308   char *tmp___3 ;
14309   void *tmp___4 ;   14309   void *tmp___4 ;
14310   char *tmp___5 ;   14310   char *tmp___5 ;
14311   char const   *tmp___6 ;   14311   char const   *tmp___6 ;
14312   char const   *tmp___7 ;   14312   char const   *tmp___7 ;
14313   char const   *tmp___8 ;   14313   char const   *tmp___8 ;
14314   char const   *tmp___9 ;   14314   char const   *tmp___9 ;
14315   char const   *tmp___10 ;   14315   char const   *tmp___10 ;
14316   char const   *tmp___11 ;   14316   char const   *tmp___11 ;
14317   char const   *tmp___12 ;   14317   char const   *tmp___12 ;
14318   char const   *tmp___13 ;   14318   char const   *tmp___13 ;
14319   char const   *tmp___14 ;   14319   char const   *tmp___14 ;
14320   char const   *tmp___15 ;   14320   char const   *tmp___15 ;
14321   char const   *tmp___16 ;   14321   char const   *tmp___16 ;
14322   char const   *tmp___17 ;   14322   char const   *tmp___17 ;
14323   char const   *tmp___18 ;   14323   char const   *tmp___18 ;
14324   char const   *tmp___19 ;   14324   char const   *tmp___19 ;
14325   char const   *tmp___20 ;   14325   char const   *tmp___20 ;
14326   int tmp___21 ;   14326   int tmp___21 ;
14327   char sl[2] ;   14327   char sl[2] ;
14328   char const   *tmp___22 ;   14328   char const   *tmp___22 ;
14329   char const   *tmp___23 ;   14329   char const   *tmp___23 ;
14330   char const   *tmp___24 ;   14330   char const   *tmp___24 ;
14331   char const   *tmp___25 ;   14331   char const   *tmp___25 ;
14332   char const   *tmp___26 ;   14332   char const   *tmp___26 ;
14333   char const   *tmp___27 ;   14333   char const   *tmp___27 ;
14334   char const   *tmp___28 ;   14334   char const   *tmp___28 ;
14335   char const   *tmp___29 ;   14335   char const   *tmp___29 ;
14336   char const   *tmp___30 ;   14336   char const   *tmp___30 ;
14337   char *slash ;   14337   char *slash ;
14338   char *pathinfo ;   14338   char *pathinfo ;
14339   int found ;   14339   int found ;
14340   stat_cache_entry *sce ;   14340   stat_cache_entry *sce ;
14341   char const   *tmp___31 ;   14341   char const   *tmp___31 ;
14342   char const   *tmp___32 ;   14342   char const   *tmp___32 ;
14343   char const   *tmp___33 ;   14343   char const   *tmp___33 ;
14344   char const   *tmp___34 ;   14344   char const   *tmp___34 ;
14345   char const   *tmp___35 ;   14345   char const   *tmp___35 ;
14346   char const   *tmp___36 ;   14346   char const   *tmp___36 ;
14347   int tmp___37 ;   14347   int tmp___37 ;
14348   int *tmp___38 ;   14348   int *tmp___38 ;
14349   char const   *tmp___39 ;   14349   char const   *tmp___39 ;
14350   char const   *tmp___40 ;   14350   char const   *tmp___40 ;
14351   char const   *tmp___41 ;   14351   char const   *tmp___41 ;
14352   char const   *tmp___42 ;   14352   char const   *tmp___42 ;
14353   int *tmp___43 ;   14353   int *tmp___43 ;
14354   char *tmp___44 ;   14354   char *tmp___44 ;
14355   int *tmp___45 ;   14355   int *tmp___45 ;
14356   char const   *tmp___46 ;   14356   char const   *tmp___46 ;
14357   struct stat st ;   14357   struct stat st ;
14358   int __attribute__((__gnu_inline__))  tmp___47 ;   14358   int __attribute__((__gnu_inline__))  tmp___47 ;
14359   char const   *tmp___48 ;   14359   char const   *tmp___48 ;
14360   size_t tmp___49 ;   14360   size_t tmp___49 ;
14361   char const   *tmp___50 ;   14361   char const   *tmp___50 ;
14362   char const   *tmp___51 ;   14362   char const   *tmp___51 ;
14363   char const   *tmp___52 ;   14363   char const   *tmp___52 ;
14364   char const   *tmp___53 ;   14364   char const   *tmp___53 ;
14365   char const   *tmp___54 ;   14365   char const   *tmp___54 ;
14366   char const   *tmp___55 ;   14366   char const   *tmp___55 ;
14367   char const   *tmp___56 ;   14367   char const   *tmp___56 ;
14368   char const   *tmp___57 ;   14368   char const   *tmp___57 ;
14369   char const   *tmp___58 ;   14369   char const   *tmp___58 ;
14370     14370  
14371   {   14371   {
14372   if ((unsigned int )con->mode == 0U) {   14372   if ((unsigned int )con->mode == 0U) {
14373     if (con->http_status != 0) {   14373     if (con->http_status != 0) {
14374       if (con->http_status != 200) {   14374       if (con->http_status != 200) {
14375         return ((handler_t )2);   14375         return ((handler_t )2);
14376       } else {   14376       } else {
14377     14377  
14378       }   14378       }
14379     } else {   14379     } else {
14380     14380  
14381     }   14381     }
14382   } else {   14382   } else {
14383     14383  
14384   }   14384   }
14385   if ((unsigned int )con->mode == 0U) {   14385   if ((unsigned int )con->mode == 0U) {
14386     if ((con->physical.path)->used == 0U) {   14386     if ((con->physical.path)->used == 0U) {
14387       if (con->conf.log_condition_handling) {   14387       if (con->conf.log_condition_handling) {
14388         tmp = remove_path("response.c");   14388         tmp = remove_path("response.c");
14389         log_trace("%s.%d: (trace) run condition: %s", tmp, 165, "");   14389         log_trace("%s.%d: (trace) run condition: %s", tmp, 165, "");
14390       } else {   14390       } else {
14391     14391  
14392       }   14392       }
14393       config_patch_connection(srv, con, (comp_key_t )1);   14393       config_patch_connection(srv, con, (comp_key_t )1);
14394       if (con->conf.is_ssl) {   14394       if (con->conf.is_ssl) {
14395         tmp___0 = "https";   14395         tmp___0 = "https";
14396       } else {   14396       } else {
14397         tmp___0 = "http";   14397         tmp___0 = "http";
14398       }   14398       }
14399       buffer_copy_string(con->uri.scheme, tmp___0);   14399       buffer_copy_string(con->uri.scheme, tmp___0);
14400       buffer_copy_string_buffer(con->uri.authority,   14400       buffer_copy_string_buffer(con->uri.authority,
14401                                 (buffer const   *)con->request.http_host);   14401                                 (buffer const   *)con->request.http_host);
14402       buffer_to_lower(con->uri.authority);   14402       buffer_to_lower(con->uri.authority);
14403       config_patch_connection(srv, con, (comp_key_t )3);   14403       config_patch_connection(srv, con, (comp_key_t )3);
14404       config_patch_connection(srv, con, (comp_key_t )7);   14404       config_patch_connection(srv, con, (comp_key_t )7);
14405       config_patch_connection(srv, con, (comp_key_t )4);   14405       config_patch_connection(srv, con, (comp_key_t )4);
14406       config_patch_connection(srv, con, (comp_key_t )5);   14406       config_patch_connection(srv, con, (comp_key_t )5);
14407       config_patch_connection(srv, con, (comp_key_t )6);   14407       config_patch_connection(srv, con, (comp_key_t )6);
14408       tmp___3 = __builtin_strchr((con->request.uri)->ptr, '#');   14408       tmp___3 = __builtin_strchr((con->request.uri)->ptr, '#');
14409       qstr = tmp___3;   14409       qstr = tmp___3;
14410       if ((unsigned int )((void *)0) != (unsigned int )qstr) {   14410       if ((unsigned int )((void *)0) != (unsigned int )qstr) {
14411         (con->request.uri)->used = (size_t )(qstr - (con->request.uri)->ptr);   14411         (con->request.uri)->used = (size_t )(qstr - (con->request.uri)->ptr);
14412         tmp___1 = (con->request.uri)->used;   14412         tmp___1 = (con->request.uri)->used;
14413         ((con->request.uri)->used) ++;   14413         ((con->request.uri)->used) ++;
14414         *((con->request.uri)->ptr + tmp___1) = (char )'\000';   14414         *((con->request.uri)->ptr + tmp___1) = (char )'\000';
14415       } else {   14415       } else {
14416     14416  
14417       }   14417       }
14418       tmp___5 = __builtin_strchr((con->request.uri)->ptr, '?');   14418       tmp___5 = __builtin_strchr((con->request.uri)->ptr, '?');
14419       qstr = tmp___5;   14419       qstr = tmp___5;
14420       if ((unsigned int )((void *)0) != (unsigned int )qstr) {   14420       if ((unsigned int )((void *)0) != (unsigned int )qstr) {
14421         buffer_copy_string(con->uri.query, (char const   *)(qstr + 1));   14421         buffer_copy_string(con->uri.query, (char const   *)(qstr + 1));
14422         buffer_copy_string_len(con->uri.path_raw,   14422         buffer_copy_string_len(con->uri.path_raw,
14423                                (char const   *)(con->request.uri)->ptr,   14423                                (char const   *)(con->request.uri)->ptr,
14424                                (size_t )(qstr - (con->request.uri)->ptr));   14424                                (size_t )(qstr - (con->request.uri)->ptr));
14425       } else {   14425       } else {
14426         buffer_reset(con->uri.query);   14426         buffer_reset(con->uri.query);
14427         buffer_copy_string_buffer(con->uri.path_raw,   14427         buffer_copy_string_buffer(con->uri.path_raw,
14428                                   (buffer const   *)con->request.uri);   14428                                   (buffer const   *)con->request.uri);
14429       }   14429       }
14430       if (con->conf.log_request_handling) {   14430       if (con->conf.log_request_handling) {
14431         tmp___6 = remove_path("response.c");   14431         tmp___6 = remove_path("response.c");
14432         log_trace("%s.%d: (trace) -- %s", tmp___6, 217, "splitting Request-URI");   14432         log_trace("%s.%d: (trace) -- %s", tmp___6, 217, "splitting Request-URI");
14433         tmp___7 = remove_path("response.c");   14433         tmp___7 = remove_path("response.c");
14434         log_trace("%s.%d: (trace) Request-URI  : %s", tmp___7, 218,   14434         log_trace("%s.%d: (trace) Request-URI  : %s", tmp___7, 218,
14435                   (con->request.uri)->ptr);   14435                   (con->request.uri)->ptr);
14436         tmp___8 = remove_path("response.c");   14436         tmp___8 = remove_path("response.c");
14437         log_trace("%s.%d: (trace) URI-scheme   : %s", tmp___8, 219,   14437         log_trace("%s.%d: (trace) URI-scheme   : %s", tmp___8, 219,
14438                   (con->uri.scheme)->ptr);   14438                   (con->uri.scheme)->ptr);
14439         tmp___9 = remove_path("response.c");   14439         tmp___9 = remove_path("response.c");
14440         log_trace("%s.%d: (trace) URI-authority: %s", tmp___9, 220,   14440         log_trace("%s.%d: (trace) URI-authority: %s", tmp___9, 220,
14441                   (con->uri.authority)->ptr);   14441                   (con->uri.authority)->ptr);
14442         tmp___10 = remove_path("response.c");   14442         tmp___10 = remove_path("response.c");
14443         log_trace("%s.%d: (trace) URI-path     : %s", tmp___10, 221,   14443         log_trace("%s.%d: (trace) URI-path     : %s", tmp___10, 221,
14444                   (con->uri.path_raw)->ptr);   14444                   (con->uri.path_raw)->ptr);
14445         tmp___11 = remove_path("response.c");   14445         tmp___11 = remove_path("response.c");
14446         log_trace("%s.%d: (trace) URI-query    : %s", tmp___11, 222,   14446         log_trace("%s.%d: (trace) URI-query    : %s", tmp___11, 222,
14447                   (con->uri.query)->ptr);   14447                   (con->uri.query)->ptr);
14448       } else {   14448       } else {
14449     14449  
14450       }   14450       }
14451       if (con->request_count > (size_t )con->conf.max_keep_alive_requests) {   14451       if (con->request_count > (size_t )con->conf.max_keep_alive_requests) {
14452         con->keep_alive = 0;   14452         con->keep_alive = 0;
14453       } else {   14453       } else {
14454     14454  
14455       }   14455       }
14456       if (srv->sockets_disabled) {   14456       if (srv->sockets_disabled) {
14457         con->keep_alive = 0;   14457         con->keep_alive = 0;
14458       } else {   14458       } else {
14459     14459  
14460       }   14460       }
14461       r = plugins_call_handle_uri_raw(srv, con);   14461       r = plugins_call_handle_uri_raw(srv, con);
14462       switch ((unsigned int )r) {   14462       switch ((unsigned int )r) {
14463       case 1U:   14463       case 1U:
14464       break;   14464       break;
14465       case 5U:   14465       case 5U:
14466       case 4U:   14466       case 4U:
14467       case 3U:   14467       case 3U:
14468       case 2U:   14468       case 2U:
14469       return (r);   14469       return (r);
14470       default:   14470       default:
14471       tmp___12 = remove_path("response.c");   14471       tmp___12 = remove_path("response.c");
14472       log_trace("%s.%d: (error) plugins_call_handle_uri_raw() returned unexpected: %d",   14472       log_trace("%s.%d: (error) plugins_call_handle_uri_raw() returned unexpected: %d",
14473                 tmp___12, 253, (unsigned int )r);   14473                 tmp___12, 253, (unsigned int )r);
14474       break;   14474       break;
14475       }   14475       }
14476       if ((int )con->request.http_method == 3) {   14476       if ((int )con->request.http_method == 3) {
14477         if ((int )*((con->uri.path_raw)->ptr + 0) == 42) {   14477         if ((int )*((con->uri.path_raw)->ptr + 0) == 42) {
14478           if ((int )*((con->uri.path_raw)->ptr + 1) == 0) {   14478           if ((int )*((con->uri.path_raw)->ptr + 1) == 0) {
14479             buffer_copy_string_buffer(con->uri.path,   14479             buffer_copy_string_buffer(con->uri.path,
14480                                       (buffer const   *)con->uri.path_raw);   14480                                       (buffer const   *)con->uri.path_raw);
14481           } else {   14481           } else {
14482             buffer_copy_string_buffer(srv->tmp_buf,   14482             buffer_copy_string_buffer(srv->tmp_buf,
14483                                       (buffer const   *)con->uri.path_raw);   14483                                       (buffer const   *)con->uri.path_raw);
14484             buffer_urldecode_path(srv->tmp_buf);   14484             buffer_urldecode_path(srv->tmp_buf);
14485             buffer_path_simplify(con->uri.path, srv->tmp_buf);   14485             buffer_path_simplify(con->uri.path, srv->tmp_buf);
14486           }   14486           }
14487         } else {   14487         } else {
14488           buffer_copy_string_buffer(srv->tmp_buf,   14488           buffer_copy_string_buffer(srv->tmp_buf,
14489                                     (buffer const   *)con->uri.path_raw);   14489                                     (buffer const   *)con->uri.path_raw);
14490           buffer_urldecode_path(srv->tmp_buf);   14490           buffer_urldecode_path(srv->tmp_buf);
14491           buffer_path_simplify(con->uri.path, srv->tmp_buf);   14491           buffer_path_simplify(con->uri.path, srv->tmp_buf);
14492         }   14492         }
14493       } else {   14493       } else {
14494         buffer_copy_string_buffer(srv->tmp_buf,   14494         buffer_copy_string_buffer(srv->tmp_buf,
14495                                   (buffer const   *)con->uri.path_raw);   14495                                   (buffer const   *)con->uri.path_raw);
14496         buffer_urldecode_path(srv->tmp_buf);   14496         buffer_urldecode_path(srv->tmp_buf);
14497         buffer_path_simplify(con->uri.path, srv->tmp_buf);   14497         buffer_path_simplify(con->uri.path, srv->tmp_buf);
14498       }   14498       }
14499       if (con->conf.log_request_handling) {   14499       if (con->conf.log_request_handling) {
14500         tmp___13 = remove_path("response.c");   14500         tmp___13 = remove_path("response.c");
14501         log_trace("%s.%d: (trace) -- %s", tmp___13, 276, "sanatising URI");   14501         log_trace("%s.%d: (trace) -- %s", tmp___13, 276, "sanatising URI");
14502         tmp___14 = remove_path("response.c");   14502         tmp___14 = remove_path("response.c");
14503         log_trace("%s.%d: (trace) URI-path     : %s", tmp___14, 277,   14503         log_trace("%s.%d: (trace) URI-path     : %s", tmp___14, 277,
14504                   (con->uri.path)->ptr);   14504                   (con->uri.path)->ptr);
14505       } else {   14505       } else {
14506     14506  
14507       }   14507       }
14508       config_patch_connection(srv, con, (comp_key_t )2);   14508       config_patch_connection(srv, con, (comp_key_t )2);
14509       config_patch_connection(srv, con, (comp_key_t )8);   14509       config_patch_connection(srv, con, (comp_key_t )8);
14510       if (! con->conf.allow_http11) {   14510       if (! con->conf.allow_http11) {
14511         con->request.http_version = (http_version_t )0;   14511         con->request.http_version = (http_version_t )0;
14512       } else {   14512       } else {
14513     14513  
14514       }   14514       }
14515       r = plugins_call_handle_uri_clean(srv, con);   14515       r = plugins_call_handle_uri_clean(srv, con);
14516       switch ((unsigned int )r) {   14516       switch ((unsigned int )r) {
14517       case 1U:   14517       case 1U:
14518       break;   14518       break;
14519       case 5U:   14519       case 5U:
14520       case 4U:   14520       case 4U:
14521       case 3U:   14521       case 3U:
14522       case 2U:   14522       case 2U:
14523       return (r);   14523       return (r);
14524       default:   14524       default:
14525       tmp___15 = remove_path("response.c");   14525       tmp___15 = remove_path("response.c");
14526       log_trace("%s.%d: (error) plugins_call_handle_uri_clean() returned unexpected: %d",   14526       log_trace("%s.%d: (error) plugins_call_handle_uri_clean() returned unexpected: %d",
14527                 tmp___15, 305, (unsigned int )r);   14527                 tmp___15, 305, (unsigned int )r);
14528       break;   14528       break;
14529       }   14529       }
14530       if ((int )con->request.http_method == 3) {   14530       if ((int )con->request.http_method == 3) {
14531         if ((int )*((con->uri.path)->ptr + 0) == 42) {   14531         if ((int )*((con->uri.path)->ptr + 0) == 42) {
14532           if ((int )*((con->uri.path_raw)->ptr + 1) == 0) {   14532           if ((int )*((con->uri.path_raw)->ptr + 1) == 0) {
14533             response_header_insert(srv, con, "Allow", sizeof("Allow") - 1U,   14533             response_header_insert(srv, con, "Allow", sizeof("Allow") - 1U,
14534                                    "OPTIONS, GET, HEAD, POST",   14534                                    "OPTIONS, GET, HEAD, POST",
14535                                    sizeof("OPTIONS, GET, HEAD, POST") - 1U);   14535                                    sizeof("OPTIONS, GET, HEAD, POST") - 1U);
14536             con->http_status = 200;   14536             con->http_status = 200;
14537             (con->send)->is_closed = 1;   14537             (con->send)->is_closed = 1;
14538             return ((handler_t )2);   14538             return ((handler_t )2);
14539           } else {   14539           } else {
14540     14540  
14541           }   14541           }
14542         } else {   14542         } else {
14543     14543  
14544         }   14544         }
14545       } else {   14545       } else {
14546     14546  
14547       }   14547       }
14548       buffer_copy_string_buffer(con->physical.doc_root,   14548       buffer_copy_string_buffer(con->physical.doc_root,
14549                                 (buffer const   *)con->conf.document_root);   14549                                 (buffer const   *)con->conf.document_root);
14550       buffer_copy_string_buffer(con->physical.rel_path,   14550       buffer_copy_string_buffer(con->physical.rel_path,
14551                                 (buffer const   *)con->uri.path);   14551                                 (buffer const   *)con->uri.path);
14552       if (con->conf.log_request_handling) {   14552       if (con->conf.log_request_handling) {
14553         tmp___16 = remove_path("response.c");   14553         tmp___16 = remove_path("response.c");
14554         log_trace("%s.%d: (trace) -- %s", tmp___16, 393, "before doc_root");   14554         log_trace("%s.%d: (trace) -- %s", tmp___16, 393, "before doc_root");
14555         tmp___17 = remove_path("response.c");   14555         tmp___17 = remove_path("response.c");
14556         log_trace("%s.%d: (trace) Doc-Root     : %s", tmp___17, 394,   14556         log_trace("%s.%d: (trace) Doc-Root     : %s", tmp___17, 394,
14557                   (con->physical.doc_root)->ptr);   14557                   (con->physical.doc_root)->ptr);
14558         tmp___18 = remove_path("response.c");   14558         tmp___18 = remove_path("response.c");
14559         log_trace("%s.%d: (trace) Rel-Path     : %s", tmp___18, 395,   14559         log_trace("%s.%d: (trace) Rel-Path     : %s", tmp___18, 395,
14560                   (con->physical.rel_path)->ptr);   14560                   (con->physical.rel_path)->ptr);
14561         tmp___19 = remove_path("response.c");   14561         tmp___19 = remove_path("response.c");
14562         log_trace("%s.%d: (trace) Path         : %s", tmp___19, 396,   14562         log_trace("%s.%d: (trace) Path         : %s", tmp___19, 396,
14563                   (con->physical.path)->ptr);   14563                   (con->physical.path)->ptr);
14564       } else {   14564       } else {
14565     14565  
14566       }   14566       }
14567       r = plugins_call_handle_docroot(srv, con);   14567       r = plugins_call_handle_docroot(srv, con);
14568       switch ((unsigned int )r) {   14568       switch ((unsigned int )r) {
14569       case 1U:   14569       case 1U:
14570       break;   14570       break;
14571       case 5U:   14571       case 5U:
14572       case 4U:   14572       case 4U:
14573       case 3U:   14573       case 3U:
14574       case 2U:   14574       case 2U:
14575       return (r);   14575       return (r);
14576       default:   14576       default:
14577       tmp___20 = remove_path("response.c");   14577       tmp___20 = remove_path("response.c");
14578       log_trace("%s.%d: (error) plugins_call_handle_docroot() returned unexpected: %d",   14578       log_trace("%s.%d: (error) plugins_call_handle_docroot() returned unexpected: %d",
14579                 tmp___20, 410, (unsigned int )r);   14579                 tmp___20, 410, (unsigned int )r);
14580       break;   14580       break;
14581       }   14581       }
14582       if (con->conf.force_lowercase_filenames) {   14582       if (con->conf.force_lowercase_filenames) {
14583         buffer_to_lower(con->physical.rel_path);   14583         buffer_to_lower(con->physical.rel_path);
14584       } else {   14584       } else {
14585     14585  
14586       }   14586       }
14587       tmp___21 = buffer_is_empty(con->server_name);   14587       tmp___21 = buffer_is_empty(con->server_name);
14588       if (tmp___21) {   14588       if (tmp___21) {
14589         buffer_copy_string_buffer(con->server_name,   14589         buffer_copy_string_buffer(con->server_name,
14590                                   (buffer const   *)con->uri.authority);   14590                                   (buffer const   *)con->uri.authority);
14591       } else {   14591       } else {
14592     14592  
14593       }   14593       }
14594       buffer_copy_string_buffer(con->physical.path,   14594       buffer_copy_string_buffer(con->physical.path,
14595                                 (buffer const   *)con->physical.doc_root);   14595                                 (buffer const   *)con->physical.doc_root);
14596       if ((con->physical.path)->used > 1U) {   14596       if ((con->physical.path)->used > 1U) {
14597         if ((int )*((con->physical.path)->ptr + ((con->physical.path)->used - 2U)) != 47) {   14597         if ((int )*((con->physical.path)->ptr + ((con->physical.path)->used - 2U)) != 47) {
14598           sl[0] = (char )'/';   14598           sl[0] = (char )'/';
14599           sl[1] = (char)0;   14599           sl[1] = (char)0;
14600           buffer_append_string_len(con->physical.path, (char const   *)(sl),   14600           buffer_append_string_len(con->physical.path, (char const   *)(sl),
14601                                    sizeof(sl) - 1U);   14601                                    sizeof(sl) - 1U);
14602         } else {   14602         } else {
14603     14603  
14604         }   14604         }
14605       } else {   14605       } else {
14606     14606  
14607       }   14607       }
14608       buffer_copy_string_buffer(con->physical.basedir,   14608       buffer_copy_string_buffer(con->physical.basedir,
14609                                 (buffer const   *)con->physical.path);   14609                                 (buffer const   *)con->physical.path);
14610       if ((con->physical.rel_path)->used) {   14610       if ((con->physical.rel_path)->used) {
14611         if ((int )*((con->physical.rel_path)->ptr + 0) == 47) {   14611         if ((int )*((con->physical.rel_path)->ptr + 0) == 47) {
14612           buffer_append_string_len(con->physical.path,   14612           buffer_append_string_len(con->physical.path,
14613                                    (char const   *)((con->physical.rel_path)->ptr + 1),   14613                                    (char const   *)((con->physical.rel_path)->ptr + 1),
14614                                    (con->physical.rel_path)->used - 2U);   14614                                    (con->physical.rel_path)->used - 2U);
14615         } else {   14615         } else {
14616           buffer_append_string_buffer(con->physical.path,   14616           buffer_append_string_buffer(con->physical.path,
14617                                       (buffer const   *)con->physical.rel_path);   14617                                       (buffer const   *)con->physical.rel_path);
14618         }   14618         }
14619       } else {   14619       } else {
14620         buffer_append_string_buffer(con->physical.path,   14620         buffer_append_string_buffer(con->physical.path,
14621                                     (buffer const   *)con->physical.rel_path);   14621                                     (buffer const   *)con->physical.rel_path);
14622       }   14622       }
14623       if ((int )*((con->physical.path)->ptr + ((con->physical.path)->used - 2U)) == 47) {   14623       if ((int )*((con->physical.path)->ptr + ((con->physical.path)->used - 2U)) == 47) {
14624         *((con->physical.path)->ptr + ((con->physical.path)->used - 2U)) = (char )'\000';   14624         *((con->physical.path)->ptr + ((con->physical.path)->used - 2U)) = (char )'\000';
14625         ((con->physical.path)->used) --;   14625         ((con->physical.path)->used) --;
14626       } else {   14626       } else {
14627     14627  
14628       }   14628       }
14629       if (con->conf.log_request_handling) {   14629       if (con->conf.log_request_handling) {
14630         tmp___22 = remove_path("response.c");   14630         tmp___22 = remove_path("response.c");
14631         log_trace("%s.%d: (trace) -- %s", tmp___22, 449, "after doc_root");   14631         log_trace("%s.%d: (trace) -- %s", tmp___22, 449, "after doc_root");
14632         tmp___23 = remove_path("response.c");   14632         tmp___23 = remove_path("response.c");
14633         log_trace("%s.%d: (trace) Doc-Root     : %s", tmp___23, 450,   14633         log_trace("%s.%d: (trace) Doc-Root     : %s", tmp___23, 450,
14634                   (con->physical.doc_root)->ptr);   14634                   (con->physical.doc_root)->ptr);
14635         tmp___24 = remove_path("response.c");   14635         tmp___24 = remove_path("response.c");
14636         log_trace("%s.%d: (trace) Rel-Path     : %s", tmp___24, 451,   14636         log_trace("%s.%d: (trace) Rel-Path     : %s", tmp___24, 451,
14637                   (con->physical.rel_path)->ptr);   14637                   (con->physical.rel_path)->ptr);
14638         tmp___25 = remove_path("response.c");   14638         tmp___25 = remove_path("response.c");
14639         log_trace("%s.%d: (trace) Path         : %s", tmp___25, 452,   14639         log_trace("%s.%d: (trace) Path         : %s", tmp___25, 452,
14640                   (con->physical.path)->ptr);   14640                   (con->physical.path)->ptr);
14641       } else {   14641       } else {
14642     14642  
14643       }   14643       }
14644       r = plugins_call_handle_physical(srv, con);   14644       r = plugins_call_handle_physical(srv, con);
14645       switch ((unsigned int )r) {   14645       switch ((unsigned int )r) {
14646       case 1U:   14646       case 1U:
14647       break;   14647       break;
14648       case 5U:   14648       case 5U:
14649       case 4U:   14649       case 4U:
14650       case 3U:   14650       case 3U:
14651       case 2U:   14651       case 2U:
14652       return (r);   14652       return (r);
14653       default:   14653       default:
14654       tmp___26 = remove_path("response.c");   14654       tmp___26 = remove_path("response.c");
14655       log_trace("%s.%d: (error) plugins_call_handle_physical() returned unexpected: %d",   14655       log_trace("%s.%d: (error) plugins_call_handle_physical() returned unexpected: %d",
14656                 tmp___26, 464, (unsigned int )r);   14656                 tmp___26, 464, (unsigned int )r);
14657       break;   14657       break;
14658       }   14658       }
14659       if (con->conf.log_request_handling) {   14659       if (con->conf.log_request_handling) {
14660         tmp___27 = remove_path("response.c");   14660         tmp___27 = remove_path("response.c");
14661         log_trace("%s.%d: (trace) -- %s", tmp___27, 469, "logical -> physical");   14661         log_trace("%s.%d: (trace) -- %s", tmp___27, 469, "logical -> physical");
14662         tmp___28 = remove_path("response.c");   14662         tmp___28 = remove_path("response.c");
14663         log_trace("%s.%d: (trace) Doc-Root     : %s", tmp___28, 470,   14663         log_trace("%s.%d: (trace) Doc-Root     : %s", tmp___28, 470,
14664                   (con->physical.doc_root)->ptr);   14664                   (con->physical.doc_root)->ptr);
14665         tmp___29 = remove_path("response.c");   14665         tmp___29 = remove_path("response.c");
14666         log_trace("%s.%d: (trace) Rel-Path     : %s", tmp___29, 471,   14666         log_trace("%s.%d: (trace) Rel-Path     : %s", tmp___29, 471,
14667                   (con->physical.rel_path)->ptr);   14667                   (con->physical.rel_path)->ptr);
14668         tmp___30 = remove_path("response.c");   14668         tmp___30 = remove_path("response.c");
14669         log_trace("%s.%d: (trace) Path         : %s", tmp___30, 472,   14669         log_trace("%s.%d: (trace) Path         : %s", tmp___30, 472,
14670                   (con->physical.path)->ptr);   14670                   (con->physical.path)->ptr);
14671       } else {   14671       } else {
14672     14672  
14673       }   14673       }
14674     } else {   14674     } else {
14675     14675  
14676     }   14676     }
14677   } else {   14677   } else {
14678     14678  
14679   }   14679   }
14680   if ((unsigned int )con->mode == 0U) {   14680   if ((unsigned int )con->mode == 0U) {
14681     slash = (char *)((void *)0);   14681     slash = (char *)((void *)0);
14682     pathinfo = (char *)((void *)0);   14682     pathinfo = (char *)((void *)0);
14683     found = 0;   14683     found = 0;
14684     sce = (stat_cache_entry *)((void *)0);   14684     sce = (stat_cache_entry *)((void *)0);
14685     if (con->conf.log_request_handling) {   14685     if (con->conf.log_request_handling) {
14686       tmp___31 = remove_path("response.c");   14686       tmp___31 = remove_path("response.c");
14687       log_trace("%s.%d: (trace) -- %s", tmp___31, 490, "handling physical path");   14687       log_trace("%s.%d: (trace) -- %s", tmp___31, 490, "handling physical path");
14688       tmp___32 = remove_path("response.c");   14688       tmp___32 = remove_path("response.c");
14689       log_trace("%s.%d: (trace) Path         : %s", tmp___32, 491,   14689       log_trace("%s.%d: (trace) Path         : %s", tmp___32, 491,
14690                 (con->physical.path)->ptr);   14690                 (con->physical.path)->ptr);
14691     } else {   14691     } else {
14692     14692  
14693     }   14693     }
14694     r = stat_cache_get_entry_async(srv, con, con->physical.path, & sce);   14694     r = stat_cache_get_entry_async(srv, con, con->physical.path, & sce);
14695     switch ((unsigned int )r) {   14695     switch ((unsigned int )r) {
14696     case 1U:   14696     case 1U:
14697     if (con->conf.log_request_handling) {   14697     if (con->conf.log_request_handling) {
14698       tmp___33 = remove_path("response.c");   14698       tmp___33 = remove_path("response.c");
14699       log_trace("%s.%d: (trace) -- %s", tmp___33, 499, "file found");   14699       log_trace("%s.%d: (trace) -- %s", tmp___33, 499, "file found");
14700       tmp___34 = remove_path("response.c");   14700       tmp___34 = remove_path("response.c");
14701       log_trace("%s.%d: (trace) Path         : %s", tmp___34, 500,   14701       log_trace("%s.%d: (trace) Path         : %s", tmp___34, 500,
14702                 (con->physical.path)->ptr);   14702                 (con->physical.path)->ptr);
14703     } else {   14703     } else {
14704     14704  
14705     }   14705     }
14706     if ((int )sce->is_symlink != 0) {   14706     if ((int )sce->is_symlink != 0) {
14707       if (! con->conf.follow_symlink) {   14707       if (! con->conf.follow_symlink) {
14708         con->http_status = 403;   14708         con->http_status = 403;
14709         if (con->conf.log_request_handling) {   14709         if (con->conf.log_request_handling) {
14710           tmp___35 = remove_path("response.c");   14710           tmp___35 = remove_path("response.c");
14711           log_trace("%s.%d: (trace) -- %s", tmp___35, 508,   14711           log_trace("%s.%d: (trace) -- %s", tmp___35, 508,
14712                     "access denied due symlink restriction");   14712                     "access denied due symlink restriction");
14713           tmp___36 = remove_path("response.c");   14713           tmp___36 = remove_path("response.c");
14714           log_trace("%s.%d: (trace) Path         : %s", tmp___36, 509,   14714           log_trace("%s.%d: (trace) Path         : %s", tmp___36, 509,
14715                     (con->physical.path)->ptr);   14715                     (con->physical.path)->ptr);
14716         } else {   14716         } else {
14717     14717  
14718         }   14718         }
14719         buffer_reset(con->physical.path);   14719         buffer_reset(con->physical.path);
14720         return ((handler_t )2);   14720         return ((handler_t )2);
14721       } else {   14721       } else {
14722     14722  
14723       }   14723       }
14724     } else {   14724     } else {
14725     14725  
14726     }   14726     }
14727     if ((sce->st.st_mode & 61440U) == 16384U) {   14727     if ((sce->st.st_mode & 61440U) == 16384U) {
14728       if ((int )*((con->uri.path)->ptr + ((con->uri.path)->used - 2U)) != 47) {   14728       if ((int )*((con->uri.path)->ptr + ((con->uri.path)->used - 2U)) != 47) {
14729         http_response_redirect_to_directory(srv, con);   14729         http_response_redirect_to_directory(srv, con);
14730         return ((handler_t )2);   14730         return ((handler_t )2);
14731       } else {   14731       } else {
14732     14732  
14733       }   14733       }
14734     } else   14734     } else
14735     if (! ((sce->st.st_mode & 61440U) == 32768U)) {   14735     if (! ((sce->st.st_mode & 61440U) == 32768U)) {
14736       if (! sce->is_symlink) {   14736       if (! sce->is_symlink) {
14737         tmp___37 = 1;   14737         tmp___37 = 1;
14738       } else {   14738       } else {
14739         tmp___37 = 0;   14739         tmp___37 = 0;
14740       }   14740       }
14741     } else {   14741     } else {
14742       tmp___37 = 0;   14742       tmp___37 = 0;
14743     }   14743     }
14744     break;   14744     break;
14745     case 4U:   14745     case 4U:
14746     return ((handler_t )4);   14746     return ((handler_t )4);
14747     case 5U:   14747     case 5U:
14748     tmp___38 = __errno_location();   14748     tmp___38 = __errno_location();
14749     switch (*tmp___38) {   14749     switch (*tmp___38) {
14750     case 13:   14750     case 13:
14751     con->http_status = 403;   14751     con->http_status = 403;
14752     if (con->conf.log_request_handling) {   14752     if (con->conf.log_request_handling) {
14753       tmp___39 = remove_path("response.c");   14753       tmp___39 = remove_path("response.c");
14754       log_trace("%s.%d: (trace) -- %s", tmp___39, 543, "access denied");   14754       log_trace("%s.%d: (trace) -- %s", tmp___39, 543, "access denied");
14755       tmp___40 = remove_path("response.c");   14755       tmp___40 = remove_path("response.c");
14756       log_trace("%s.%d: (trace) Path         : %s", tmp___40, 544,   14756       log_trace("%s.%d: (trace) Path         : %s", tmp___40, 544,
14757                 (con->physical.path)->ptr);   14757                 (con->physical.path)->ptr);
14758     } else {   14758     } else {
14759     14759  
14760     }   14760     }
14761     buffer_reset(con->physical.path);   14761     buffer_reset(con->physical.path);
14762     return ((handler_t )2);   14762     return ((handler_t )2);
14763     case 2:   14763     case 2:
14764     con->http_status = 404;   14764     con->http_status = 404;
14765     if (con->conf.log_request_handling) {   14765     if (con->conf.log_request_handling) {
14766       tmp___41 = remove_path("response.c");   14766       tmp___41 = remove_path("response.c");
14767       log_trace("%s.%d: (trace) -- %s", tmp___41, 553, "file not found");   14767       log_trace("%s.%d: (trace) -- %s", tmp___41, 553, "file not found");
14768       tmp___42 = remove_path("response.c");   14768       tmp___42 = remove_path("response.c");
14769       log_trace("%s.%d: (trace) Path         : %s", tmp___42, 554,   14769       log_trace("%s.%d: (trace) Path         : %s", tmp___42, 554,
14770                 (con->physical.path)->ptr);   14770                 (con->physical.path)->ptr);
14771     } else {   14771     } else {
14772     14772  
14773     }   14773     }
14774     buffer_reset(con->physical.path);   14774     buffer_reset(con->physical.path);
14775     return ((handler_t )2);   14775     return ((handler_t )2);
14776     case 20:   14776     case 20:
14777     break;   14777     break;
14778     case 24:   14778     case 24:
14779     return ((handler_t )6);   14779     return ((handler_t )6);
14780     default:   14780     default:
14781     con->http_status = 500;   14781     con->http_status = 500;
14782     tmp___43 = __errno_location();   14782     tmp___43 = __errno_location();
14783     tmp___44 = strerror(*tmp___43);   14783     tmp___44 = strerror(*tmp___43);
14784     tmp___45 = __errno_location();   14784     tmp___45 = __errno_location();
14785     tmp___46 = remove_path("response.c");   14785     tmp___46 = remove_path("response.c");
14786     log_trace("%s.%d: (error) checking file \'%s\' (%s) failed: %d (%s) -> sending status 500",   14786     log_trace("%s.%d: (error) checking file \'%s\' (%s) failed: %d (%s) -> sending status 500",
14787               tmp___46, 571, (con->uri.path)->ptr, (con->physical.path)->ptr,   14787               tmp___46, 571, (con->uri.path)->ptr, (con->physical.path)->ptr,
14788               *tmp___45, tmp___44);   14788               *tmp___45, tmp___44);
14789     buffer_reset(con->physical.path);   14789     buffer_reset(con->physical.path);
14790     return ((handler_t )2);   14790     return ((handler_t )2);
14791     }   14791     }
14792     buffer_copy_string_buffer(srv->tmp_buf, (buffer const   *)con->physical.path);   14792     buffer_copy_string_buffer(srv->tmp_buf, (buffer const   *)con->physical.path);
14793     while (1) {   14793     while (1) {
14794       if (slash) {   14794       if (slash) {
14795         buffer_copy_string_len(con->physical.path,   14795         buffer_copy_string_len(con->physical.path,
14796                                (char const   *)(srv->tmp_buf)->ptr,   14796                                (char const   *)(srv->tmp_buf)->ptr,
14797                                (size_t )(slash - (srv->tmp_buf)->ptr));   14797                                (size_t )(slash - (srv->tmp_buf)->ptr));
14798       } else {   14798       } else {
14799         buffer_copy_string_buffer(con->physical.path,   14799         buffer_copy_string_buffer(con->physical.path,
14800                                   (buffer const   *)srv->tmp_buf);   14800                                   (buffer const   *)srv->tmp_buf);
14801       }   14801       }
14802       tmp___47 = stat((char const   */* __restrict  */)(con->physical.path)->ptr,   14802       tmp___47 = stat((char const   */* __restrict  */)(con->physical.path)->ptr,
14803                       (struct stat */* __restrict  */)(& st));   14803                       (struct stat */* __restrict  */)(& st));
14804       if (0 == (int )tmp___47) {   14804       if (0 == (int )tmp___47) {
14805         if ((st.st_mode & 61440U) == 32768U) {   14805         if ((st.st_mode & 61440U) == 32768U) {
14806           found = 1;   14806           found = 1;
14807           break;   14807           break;
14808         } else {   14808         } else {
14809     14809  
14810         }   14810         }
14811       } else {   14811       } else {
14812     14812  
14813       }   14813       }
14814       if ((unsigned int )pathinfo != (unsigned int )((void *)0)) {   14814       if ((unsigned int )pathinfo != (unsigned int )((void *)0)) {
14815         *pathinfo = (char )'\000';   14815         *pathinfo = (char )'\000';
14816       } else {   14816       } else {
14817     14817  
14818       }   14818       }
14819       slash = strrchr((char const   *)(srv->tmp_buf)->ptr, '/');   14819       slash = strrchr((char const   *)(srv->tmp_buf)->ptr, '/');
14820       if ((unsigned int )pathinfo != (unsigned int )((void *)0)) {   14820       if ((unsigned int )pathinfo != (unsigned int )((void *)0)) {
14821         *pathinfo = (char )'/';   14821         *pathinfo = (char )'/';
14822       } else {   14822       } else {
14823     14823  
14824       }   14824       }
14825       if (slash) {   14825       if (slash) {
14826         pathinfo = slash;   14826         pathinfo = slash;
14827       } else {   14827       } else {
14828     14828  
14829       }   14829       }
14830       if (found == 0) {   14830       if (found == 0) {
14831         if ((unsigned int )slash != (unsigned int )((void *)0)) {   14831         if ((unsigned int )slash != (unsigned int )((void *)0)) {
14832           if ((size_t )(slash - (srv->tmp_buf)->ptr) > (con->physical.basedir)->used - 2U) {   14832           if ((size_t )(slash - (srv->tmp_buf)->ptr) > (con->physical.basedir)->used - 2U) {
14833     14833  
14834           } else {   14834           } else {
14835             break;   14835             break;
14836           }   14836           }
14837         } else {   14837         } else {
14838           break;   14838           break;
14839         }   14839         }
14840       } else {   14840       } else {
14841         break;   14841         break;
14842       }   14842       }
14843     }   14843     }
14844     if (found == 0) {   14844     if (found == 0) {
14845       con->http_status = 404;   14845       con->http_status = 404;
14846       if (con->conf.log_file_not_found) {   14846       if (con->conf.log_file_not_found) {
14847         tmp___48 = remove_path("response.c");   14847         tmp___48 = remove_path("response.c");
14848         log_trace("%s.%d: (trace) file not found: %s -> %s", tmp___48, 617,   14848         log_trace("%s.%d: (trace) file not found: %s -> %s", tmp___48, 617,
14849                   (con->uri.path)->ptr, (con->physical.path)->ptr);   14849                   (con->uri.path)->ptr, (con->physical.path)->ptr);
14850       } else {   14850       } else {
14851     14851  
14852       }   14852       }
14853       buffer_reset(con->physical.path);   14853       buffer_reset(con->physical.path);
14854       return ((handler_t )2);   14854       return ((handler_t )2);
14855     } else {   14855     } else {
14856     14856  
14857     }   14857     }
14858     if (pathinfo) {   14858     if (pathinfo) {
14859       buffer_copy_string(con->request.pathinfo, (char const   *)pathinfo);   14859       buffer_copy_string(con->request.pathinfo, (char const   *)pathinfo);
14860       tmp___49 = strlen((char const   *)pathinfo);   14860       tmp___49 = strlen((char const   *)pathinfo);
14861       (con->uri.path)->used -= tmp___49;   14861       (con->uri.path)->used -= tmp___49;
14862       *((con->uri.path)->ptr + ((con->uri.path)->used - 1U)) = (char )'\000';   14862       *((con->uri.path)->ptr + ((con->uri.path)->used - 1U)) = (char )'\000';
14863     } else {   14863     } else {
14864     14864  
14865     }   14865     }
14866     if (con->conf.log_request_handling) {   14866     if (con->conf.log_request_handling) {
14867       tmp___50 = remove_path("response.c");   14867       tmp___50 = remove_path("response.c");
14868       log_trace("%s.%d: (trace) -- %s", tmp___50, 638, "after pathinfo check");   14868       log_trace("%s.%d: (trace) -- %s", tmp___50, 638, "after pathinfo check");
14869       tmp___51 = remove_path("response.c");   14869       tmp___51 = remove_path("response.c");
14870       log_trace("%s.%d: (trace) Path         : %s", tmp___51, 639,   14870       log_trace("%s.%d: (trace) Path         : %s", tmp___51, 639,
14871                 (con->physical.path)->ptr);   14871                 (con->physical.path)->ptr);
14872       tmp___52 = remove_path("response.c");   14872       tmp___52 = remove_path("response.c");
14873       log_trace("%s.%d: (trace) URI          : %s", tmp___52, 640,   14873       log_trace("%s.%d: (trace) URI          : %s", tmp___52, 640,
14874                 (con->uri.path)->ptr);   14874                 (con->uri.path)->ptr);
14875       tmp___53 = remove_path("response.c");   14875       tmp___53 = remove_path("response.c");
14876       log_trace("%s.%d: (trace) Pathinfo     : %s", tmp___53, 641,   14876       log_trace("%s.%d: (trace) Pathinfo     : %s", tmp___53, 641,
14877                 (con->request.pathinfo)->ptr);   14877                 (con->request.pathinfo)->ptr);
14878     } else {   14878     } else {
14879     14879  
14880     }   14880     }
14881     break;   14881     break;
14882     default:   14882     default:
14883     tmp___54 = remove_path("response.c");   14883     tmp___54 = remove_path("response.c");
14884     log_trace("%s.%d: (error) stat_cache_get_entry_async() returned unexpected: %d",   14884     log_trace("%s.%d: (error) stat_cache_get_entry_async() returned unexpected: %d",
14885               tmp___54, 645, (unsigned int )r);   14885               tmp___54, 645, (unsigned int )r);
14886     break;   14886     break;
14887     }   14887     }
14888     config_patch_connection(srv, con, (comp_key_t )10);   14888     config_patch_connection(srv, con, (comp_key_t )10);
14889     if (con->conf.log_request_handling) {   14889     if (con->conf.log_request_handling) {
14890       tmp___55 = remove_path("response.c");   14890       tmp___55 = remove_path("response.c");
14891       log_trace("%s.%d: (trace) -- %s", tmp___55, 652, "handling subrequest");   14891       log_trace("%s.%d: (trace) -- %s", tmp___55, 652, "handling subrequest");
14892       tmp___56 = remove_path("response.c");   14892       tmp___56 = remove_path("response.c");
14893       log_trace("%s.%d: (trace) Path         : %s", tmp___56, 653,   14893       log_trace("%s.%d: (trace) Path         : %s", tmp___56, 653,
14894                 (con->physical.path)->ptr);   14894                 (con->physical.path)->ptr);
14895     } else {   14895     } else {
14896     14896  
14897     }   14897     }
14898     r = plugins_call_handle_start_backend(srv, con);   14898     r = plugins_call_handle_start_backend(srv, con);
14899     switch ((unsigned int )r) {   14899     switch ((unsigned int )r) {
14900     default:   14900     default:
14901     case 2U:   14901     case 2U:
14902     case 1U:   14902     case 1U:
14903     if (con->conf.log_request_handling) {   14903     if (con->conf.log_request_handling) {
14904       tmp___57 = remove_path("response.c");   14904       tmp___57 = remove_path("response.c");
14905       log_trace("%s.%d: (trace) -- %s", tmp___57, 664, "subrequest finished");   14905       log_trace("%s.%d: (trace) -- %s", tmp___57, 664, "subrequest finished");
14906     } else {   14906     } else {
14907     14907  
14908     }   14908     }
14909     return (r);   14909     return (r);
14910     }   14910     }
14911   } else {   14911   } else {
14912     14912  
14913   }   14913   }
14914   if ((unsigned int )con->mode == 0U) {   14914   if ((unsigned int )con->mode == 0U) {
14915     con->http_status = 403;   14915     con->http_status = 403;
14916     tmp___58 = remove_path("response.c");   14916     tmp___58 = remove_path("response.c");
14917     log_trace("%s.%d: (trace) %s", tmp___58, 675, "aaaaaaah, sending 403");   14917     log_trace("%s.%d: (trace) %s", tmp___58, 675, "aaaaaaah, sending 403");
14918     return ((handler_t )2);   14918     return ((handler_t )2);
14919   } else {   14919   } else {
14920     return ((handler_t )1);   14920     return ((handler_t )1);
14921   }   14921   }
14922 }   14922 }
14923 }   14923 }